diff options
author | rathnor <rathnor> | 2003-04-15 13:38:57 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-04-15 13:38:57 (GMT) |
commit | a9c82d41d86ea632bb9acdb8591664da2cb87f6d (patch) | |
tree | 8cd92407bbd3da40cfb5753a77312221e2095c88 | |
parent | 9932f2e49a68248ae2b908b9dbecab03f9ebd286 (diff) | |
download | fluxbox-a9c82d41d86ea632bb9acdb8591664da2cb87f6d.zip fluxbox-a9c82d41d86ea632bb9acdb8591664da2cb87f6d.tar.bz2 |
make toolbar work somewhat - it only displays groups, not all clients.
Will address this in 0.9.2 I'd say (Simon)
-rw-r--r-- | src/ToolbarHandler.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc index 98a56f1..b84520b 100644 --- a/src/ToolbarHandler.cc +++ b/src/ToolbarHandler.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: ToolbarHandler.cc,v 1.5 2003/04/14 15:01:55 fluxgen Exp $ | 23 | // $Id: ToolbarHandler.cc,v 1.6 2003/04/15 13:38:57 rathnor Exp $ |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * The ToolbarHandler class acts as a rough interface to the toolbar. | 26 | * The ToolbarHandler class acts as a rough interface to the toolbar. |
@@ -152,7 +152,13 @@ void ToolbarHandler::initForScreen(BScreen &screen) { | |||
152 | Workspace::Windows::iterator wit = wins.begin(); | 152 | Workspace::Windows::iterator wit = wins.begin(); |
153 | Workspace::Windows::iterator wit_end = wins.end(); | 153 | Workspace::Windows::iterator wit_end = wins.end(); |
154 | for (; wit != wit_end; ++wit) { | 154 | for (; wit != wit_end; ++wit) { |
155 | // m_toolbar->addIcon(*(*wit)); | 155 | m_toolbar->addIcon(*wit); |
156 | /* | ||
157 | FluxboxWindow::ClientList::iterator cit = (*wit)->clientList().begin(); | ||
158 | FluxboxWindow::ClientList::iterator cit_end = (*wit)->clientList().end(); | ||
159 | for (; cit != cit_end; ++cit) | ||
160 | m_toolbar->addIcon(*(*cit)); | ||
161 | */ | ||
156 | } | 162 | } |
157 | } | 163 | } |
158 | } | 164 | } |
@@ -164,7 +170,7 @@ void ToolbarHandler::initForScreen(BScreen &screen) { | |||
164 | BScreen::Icons::iterator iconit = iconlist.begin(); | 170 | BScreen::Icons::iterator iconit = iconlist.begin(); |
165 | BScreen::Icons::iterator iconit_end = iconlist.end(); | 171 | BScreen::Icons::iterator iconit_end = iconlist.end(); |
166 | for(; iconit != iconit_end; ++iconit) { | 172 | for(; iconit != iconit_end; ++iconit) { |
167 | // m_toolbar->addIcon(*iconit); | 173 | m_toolbar->addIcon(*iconit); |
168 | } | 174 | } |
169 | } | 175 | } |
170 | break; | 176 | break; |
@@ -174,7 +180,7 @@ void ToolbarHandler::initForScreen(BScreen &screen) { | |||
174 | Workspace::Windows::iterator wit = wins.begin(); | 180 | Workspace::Windows::iterator wit = wins.begin(); |
175 | Workspace::Windows::iterator wit_end = wins.end(); | 181 | Workspace::Windows::iterator wit_end = wins.end(); |
176 | for (; wit != wit_end; ++wit) { | 182 | for (; wit != wit_end; ++wit) { |
177 | // m_toolbar->addIcon(*wit); | 183 | m_toolbar->addIcon(*wit); |
178 | } | 184 | } |
179 | } | 185 | } |
180 | // fall through and add icons for this workspace | 186 | // fall through and add icons for this workspace |