diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Toolbar.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index fb84e59..b49dcc9 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Toolbar.cc,v 1.142 2004/06/08 11:47:10 rathnor Exp $ | 25 | // $Id: Toolbar.cc,v 1.143 2004/06/10 17:07:58 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Toolbar.hh" | 27 | #include "Toolbar.hh" |
28 | 28 | ||
@@ -888,10 +888,10 @@ void Toolbar::rearrangeItems() { | |||
888 | 888 | ||
889 | last_bw = (*item_it)->borderWidth(); | 889 | last_bw = (*item_it)->borderWidth(); |
890 | 890 | ||
891 | if ((*item_it)->type() == ToolbarItem::FIXED && (*item_it)->active()) { | 891 | if ((*item_it)->type() == ToolbarItem::FIXED) { |
892 | fixed_width += (*item_it)->width(); | 892 | fixed_width += (*item_it)->width(); |
893 | fixed_items++; | 893 | fixed_items++; |
894 | } else if ((*item_it)->type() == ToolbarItem::RELATIVE && (*item_it)->active()) { | 894 | } else if ((*item_it)->type() == ToolbarItem::RELATIVE) { |
895 | relative_items++; | 895 | relative_items++; |
896 | } | 896 | } |
897 | } | 897 | } |