diff options
author | fluxgen <fluxgen> | 2005-07-04 18:18:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2005-07-04 18:18:32 (GMT) |
commit | 1727656e0a36cd9095e173dfa43200ed14c178d1 (patch) | |
tree | 200a048b9f7ed888047fb0a4fd82660c349087c6 /src/IconbarTool.cc | |
parent | 9049dd33d31ccc03dd3f130681eb481d2b3ff0e6 (diff) | |
download | fluxbox-1727656e0a36cd9095e173dfa43200ed14c178d1.zip fluxbox-1727656e0a36cd9095e173dfa43200ed14c178d1.tar.bz2 |
cleaning, change getCount to numberOfWorkspace
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index d86c7bc..c9de74c 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -877,8 +877,8 @@ void IconbarTool::addWindow(FluxboxWindow &win) { | |||
877 | void IconbarTool::updateIcons() { | 877 | void IconbarTool::updateIcons() { |
878 | std::list<FluxboxWindow *> itemlist; | 878 | std::list<FluxboxWindow *> itemlist; |
879 | // add icons to the itemlist | 879 | // add icons to the itemlist |
880 | BScreen::Icons::iterator icon_it = m_screen.getIconList().begin(); | 880 | BScreen::Icons::iterator icon_it = m_screen.iconList().begin(); |
881 | BScreen::Icons::iterator icon_it_end = m_screen.getIconList().end(); | 881 | BScreen::Icons::iterator icon_it_end = m_screen.iconList().end(); |
882 | for (; icon_it != icon_it_end; ++icon_it) { | 882 | for (; icon_it != icon_it_end; ++icon_it) { |
883 | if (mode() == ICONS) | 883 | if (mode() == ICONS) |
884 | itemlist.push_back(*icon_it); | 884 | itemlist.push_back(*icon_it); |
@@ -904,8 +904,8 @@ void IconbarTool::updateWorkspace() { | |||
904 | 904 | ||
905 | // add icons from current workspace | 905 | // add icons from current workspace |
906 | if (mode() != WORKSPACENOICONS) { | 906 | if (mode() != WORKSPACENOICONS) { |
907 | BScreen::Icons::iterator icon_it = m_screen.getIconList().begin(); | 907 | BScreen::Icons::iterator icon_it = m_screen.iconList().begin(); |
908 | BScreen::Icons::iterator icon_it_end = m_screen.getIconList().end(); | 908 | BScreen::Icons::iterator icon_it_end = m_screen.iconList().end(); |
909 | for (; icon_it != icon_it_end; ++icon_it) { | 909 | for (; icon_it != icon_it_end; ++icon_it) { |
910 | if ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID()) | 910 | if ((*icon_it)->workspaceNumber() == m_screen.currentWorkspaceID()) |
911 | itemlist.push_back(*icon_it); | 911 | itemlist.push_back(*icon_it); |
@@ -930,8 +930,8 @@ void IconbarTool::updateAllWindows() { | |||
930 | // add icons | 930 | // add icons |
931 | if(mode() != NOICONS && mode() != WORKSPACENOICONS) { | 931 | if(mode() != NOICONS && mode() != WORKSPACENOICONS) { |
932 | full_list.insert(full_list.end(), | 932 | full_list.insert(full_list.end(), |
933 | m_screen.getIconList().begin(), | 933 | m_screen.iconList().begin(), |
934 | m_screen.getIconList().end()); | 934 | m_screen.iconList().end()); |
935 | } | 935 | } |
936 | 936 | ||
937 | removeDuplicate(m_icon_list, full_list); | 937 | removeDuplicate(m_icon_list, full_list); |