[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kicker/core
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2005-03-01 4:46:10
Message-ID: 20050301044610.CCCCA16EF1 () office ! kde ! org
[Download RAW message or body]
CVS commit by aseigo:
only do what we have to
M +20 -25 container_extension.cpp 1.115
--- kdebase/kicker/core/container_extension.cpp #1.114:1.115
@@ -1243,5 +1243,4 @@ int ExtensionContainer::setupBorderSpace
void ExtensionContainer::positionChange(KPanelExtension::Position p)
{
- setUpdatesEnabled(false);
arrangeHideButtons();
@@ -1251,5 +1250,4 @@ void ExtensionContainer::positionChange(
}
- setUpdatesEnabled(true);
repaint();
}
@@ -1505,4 +1503,6 @@ void ExtensionContainer::resetLayout()
if (orientation() == Horizontal)
{
+ if (m_extension)
+ {
int maxWidth = width() - endBorderWidth;
@@ -1517,6 +1517,4 @@ void ExtensionContainer::resetLayout()
}
- if (m_extension)
- {
m_extension->setMaximumWidth(maxWidth);
@@ -1531,5 +1529,5 @@ void ExtensionContainer::resetLayout()
}
}
- else
+ else if (m_extension)
{
int maxHeight = height() - endBorderWidth;
@@ -1545,6 +1543,4 @@ void ExtensionContainer::resetLayout()
}
- if (m_extension)
- {
m_extension->setMaximumHeight(maxHeight);
@@ -1558,5 +1554,4 @@ void ExtensionContainer::resetLayout()
}
}
- }
_layout->setEnabled(true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic