make toolbar work somewhat - it only displays groups, not all clients.
Will address this in 0.9.2 I'd say (Simon)
This commit is contained in:
parent
9932f2e49a
commit
a9c82d41d8
1 changed files with 10 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: ToolbarHandler.cc,v 1.5 2003/04/14 15:01:55 fluxgen Exp $
|
||||
// $Id: ToolbarHandler.cc,v 1.6 2003/04/15 13:38:57 rathnor Exp $
|
||||
|
||||
/**
|
||||
* The ToolbarHandler class acts as a rough interface to the toolbar.
|
||||
|
@ -152,7 +152,13 @@ void ToolbarHandler::initForScreen(BScreen &screen) {
|
|||
Workspace::Windows::iterator wit = wins.begin();
|
||||
Workspace::Windows::iterator wit_end = wins.end();
|
||||
for (; wit != wit_end; ++wit) {
|
||||
// m_toolbar->addIcon(*(*wit));
|
||||
m_toolbar->addIcon(*wit);
|
||||
/*
|
||||
FluxboxWindow::ClientList::iterator cit = (*wit)->clientList().begin();
|
||||
FluxboxWindow::ClientList::iterator cit_end = (*wit)->clientList().end();
|
||||
for (; cit != cit_end; ++cit)
|
||||
m_toolbar->addIcon(*(*cit));
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -164,7 +170,7 @@ void ToolbarHandler::initForScreen(BScreen &screen) {
|
|||
BScreen::Icons::iterator iconit = iconlist.begin();
|
||||
BScreen::Icons::iterator iconit_end = iconlist.end();
|
||||
for(; iconit != iconit_end; ++iconit) {
|
||||
// m_toolbar->addIcon(*iconit);
|
||||
m_toolbar->addIcon(*iconit);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -174,7 +180,7 @@ void ToolbarHandler::initForScreen(BScreen &screen) {
|
|||
Workspace::Windows::iterator wit = wins.begin();
|
||||
Workspace::Windows::iterator wit_end = wins.end();
|
||||
for (; wit != wit_end; ++wit) {
|
||||
// m_toolbar->addIcon(*wit);
|
||||
m_toolbar->addIcon(*wit);
|
||||
}
|
||||
}
|
||||
// fall through and add icons for this workspace
|
||||
|
|
Loading…
Reference in a new issue