summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 9a53479e..ff75e5d1 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -50,7 +50,7 @@ WindowMenu::WindowMenu():
{
int x = 0, h = 0;
- addButton(":-)", x, h, "button-icon-smilies.png");
+ //addButton(":-)", x, h, "button-icon-smilies.png");
addButton(N_("Status"), x, h, "button-icon-status.png",
KeyboardConfig::KEY_WINDOW_STATUS);
addButton(N_("Inventory"), x, h, "button-icon-inventory.png",
@@ -58,12 +58,10 @@ WindowMenu::WindowMenu():
addButton(N_("Equipment"), x, h, "button-icon-equipment.png",
KeyboardConfig::KEY_WINDOW_EQUIPMENT);
- if (skillDialog->hasSkills())
- addButton(N_("Skills"), x, h, "button-icon-skills.png",
- KeyboardConfig::KEY_WINDOW_SKILL);
+ addButton(N_("Skills"), x, h, "button-icon-skills.png",
+ KeyboardConfig::KEY_WINDOW_SKILL);
- if (specialsWindow->hasSpecials())
- addButton(N_("Specials"), x, h, "button-icon-specials.png");
+ addButton(N_("Specials"), x, h, "button-icon-specials.png");
addButton(N_("Social"), x, h, "button-icon-social.png",
KeyboardConfig::KEY_WINDOW_SOCIAL);
@@ -72,8 +70,7 @@ WindowMenu::WindowMenu():
addButton(N_("Setup"), x, h, "button-icon-setup.png",
KeyboardConfig::KEY_WINDOW_SETUP);
- setDimension(gcn::Rectangle(graphics->getWidth() - x, 3,
- x - 3, h));
+ setSize(x - 3, h);
setVisible(true);
}