diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-08 20:31:48 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-08 20:31:48 +0200 |
commit | fd520c9cabdea03dbaa9edba4b8fdedd99ca75b3 (patch) | |
tree | ae5485f4cd7db2f3d327064352713bef95f24e61 /src | |
parent | b2ce88bae2b95adb612456d9659669d6b686de7b (diff) | |
download | mv-fd520c9cabdea03dbaa9edba4b8fdedd99ca75b3.tar.gz mv-fd520c9cabdea03dbaa9edba4b8fdedd99ca75b3.tar.bz2 mv-fd520c9cabdea03dbaa9edba4b8fdedd99ca75b3.tar.xz mv-fd520c9cabdea03dbaa9edba4b8fdedd99ca75b3.zip |
Fix showing buttons in up right corner.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windowmenu.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 2a3ef51fa..1fa99e729 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -91,6 +91,12 @@ WindowMenu::WindowMenu(): addButton(N_("DR"), _("Drop"), x, h, KeyboardConfig::KEY_WINDOW_DROP); addButton(N_("SET"), _("Setup"), x, h, KeyboardConfig::KEY_WINDOW_SETUP); + if (graphics) + { + setDimension(gcn::Rectangle(graphics->getWidth() - x - 3, + 3, x - 3, h)); + } + loadButtons(); mTextPopup = new TextPopup; |