aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc12
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) {
877void IconbarTool::updateIcons() { 877void 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);