aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakir <akir>2004-09-01 07:53:45 (GMT)
committerakir <akir>2004-09-01 07:53:45 (GMT)
commitb12ce691bc59fcb491e63f43040804d471d712c9 (patch)
tree9bd04a2e07a94bf5de527b4ad9e923a8c338bede
parentefcca46a8305c0b9d29d0570e1bb6d91f29fcb17 (diff)
downloadfluxbox-b12ce691bc59fcb491e63f43040804d471d712c9.zip
fluxbox-b12ce691bc59fcb491e63f43040804d471d712c9.tar.bz2
fix width for a menuentry, added too much space
-rw-r--r--ChangeLog3
-rw-r--r--src/FbTk/MenuItem.cc4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8016c63..d16114c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.10: 2Changes for 0.9.10:
3*04/09/01:
4 * Fix width of a menuentry (Mathias)
5 FbTk/MenuItem.cc
3*04/08/31: 6*04/08/31:
4 * Fixed restart issue with system tray (Henrik) 7 * Fixed restart issue with system tray (Henrik)
5 SystemTray.cc 8 SystemTray.cc
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc
index ee1db93..137facd 100644
--- a/src/FbTk/MenuItem.cc
+++ b/src/FbTk/MenuItem.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: MenuItem.cc,v 1.6 2004/08/29 08:33:13 rathnor Exp $ 22// $Id: MenuItem.cc,v 1.7 2004/09/01 07:53:45 akir Exp $
23 23
24#include "MenuItem.hh" 24#include "MenuItem.hh"
25#include "Command.hh" 25#include "Command.hh"
@@ -247,7 +247,7 @@ unsigned int MenuItem::width(const MenuTheme &theme) const {
247 if (m_icon.get() == 0) 247 if (m_icon.get() == 0)
248 return normal; 248 return normal;
249 else 249 else
250 return normal + 2 * (theme.bevelWidth() + height(theme)); 250 return normal + height(theme);
251 251
252} 252}
253 253