From 655c7b9de66989e271d89a68e7141b5922934ac7 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Thu, 10 Jun 2004 17:07:58 +0000 Subject: minor stuff --- src/Toolbar.cc | 6 +++--- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.142 2004/06/08 11:47:10 rathnor Exp $ +// $Id: Toolbar.cc,v 1.143 2004/06/10 17:07:58 fluxgen Exp $ #include "Toolbar.hh" @@ -888,10 +888,10 @@ void Toolbar::rearrangeItems() { last_bw = (*item_it)->borderWidth(); - if ((*item_it)->type() == ToolbarItem::FIXED && (*item_it)->active()) { + if ((*item_it)->type() == ToolbarItem::FIXED) { fixed_width += (*item_it)->width(); fixed_items++; - } else if ((*item_it)->type() == ToolbarItem::RELATIVE && (*item_it)->active()) { + } else if ((*item_it)->type() == ToolbarItem::RELATIVE) { relative_items++; } } -- cgit v0.11.2