aboutsummaryrefslogtreecommitdiff
path: root/src/ToolbarHandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolbarHandler.cc')
-rw-r--r--src/ToolbarHandler.cc14
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