all repos — fluxbox @ b12ce691bc59fcb491e63f43040804d471d712c9

custom fork of the fluxbox windowmanager

fix width for a menuentry, added too much space
akir akir
commit

b12ce691bc59fcb491e63f43040804d471d712c9

parent

efcca46a8305c0b9d29d0570e1bb6d91f29fcb17

2 files changed, 5 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.10: +*04/09/01: + * Fix width of a menuentry (Mathias) + FbTk/MenuItem.cc *04/08/31: * Fixed restart issue with system tray (Henrik) SystemTray.cc
M src/FbTk/MenuItem.ccsrc/FbTk/MenuItem.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: MenuItem.cc,v 1.6 2004/08/29 08:33:13 rathnor Exp $ +// $Id: MenuItem.cc,v 1.7 2004/09/01 07:53:45 akir Exp $ #include "MenuItem.hh" #include "Command.hh"

@@ -247,7 +247,7 @@ int normal = theme.frameFont().textWidth(label().c_str(), label().size()) + 2*(theme.bevelWidth() + height(theme));

if (m_icon.get() == 0) return normal; else - return normal + 2 * (theme.bevelWidth() + height(theme)); + return normal + height(theme); }