aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-29 04:36:16 (GMT)
committersimonb <simonb>2006-06-29 04:36:16 (GMT)
commit9be4311798046a4dbf4b09134312b684b17c2f08 (patch)
tree6fcc7d9bf98a566a5da1ae7c45b53c9da5a7164a /src
parent1ddd177d1ab25503d18b94dc458de409de08095d (diff)
downloadfluxbox_paul-9be4311798046a4dbf4b09134312b684b17c2f08.zip
fluxbox_paul-9be4311798046a4dbf4b09134312b684b17c2f08.tar.bz2
minor tidy, thanks Slava Semushin
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 26b31c4..54fa0e1 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -780,7 +780,6 @@ void Toolbar::updateVisibleState() {
780 780
781void Toolbar::toggleHidden() { 781void Toolbar::toggleHidden() {
782 782
783
784 // toggle hidden 783 // toggle hidden
785 m_hidden = ! m_hidden; 784 m_hidden = ! m_hidden;
786 if (isHidden()) 785 if (isHidden())
@@ -789,9 +788,8 @@ void Toolbar::toggleHidden() {
789 frame.window.move(frame.x, frame.y); 788 frame.window.move(frame.x, frame.y);
790 ItemList::iterator item_it = m_item_list.begin(); 789 ItemList::iterator item_it = m_item_list.begin();
791 ItemList::iterator item_it_end = m_item_list.end(); 790 ItemList::iterator item_it_end = m_item_list.end();
792 for (item_it = m_item_list.begin(); item_it != item_it_end; ++item_it) { 791 for ( ; item_it != item_it_end; ++item_it)
793 (*item_it)->parentMoved(); 792 (*item_it)->parentMoved();
794 }
795 } 793 }
796 794
797} 795}