From 461cf5d1ce4cecfaaa6cef45cb5ba0955c16ca41 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 29 Apr 2009 19:51:50 +0200 Subject: Removed the button to toggle the Chat window Personally I consider this button rather useless. I think most people that often toggle the chat window will do that with the shortcut anyway. --- src/gui/menuwindow.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp index c21dbc90..06ebb39c 100644 --- a/src/gui/menuwindow.cpp +++ b/src/gui/menuwindow.cpp @@ -32,7 +32,6 @@ #include -extern Window *chatWindow; extern Window *equipmentWindow; extern Window *inventoryWindow; extern Window *itemShortcutWindow; @@ -62,7 +61,6 @@ MenuWindow::MenuWindow(): // Buttons static const char *buttonNames[] = { - N_("Chat"), N_("Status"), N_("Equipment"), N_("Inventory"), @@ -103,11 +101,7 @@ void MenuWindowListener::action(const gcn::ActionEvent &event) { Window *window = NULL; - if (event.getId() == "Chat") - { - window = chatWindow; - } - else if (event.getId() == "Status") + if (event.getId() == "Status") { window = statusWindow; } -- cgit v1.2.3-70-g09d2