summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 19:51:50 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 19:51:50 +0200
commit461cf5d1ce4cecfaaa6cef45cb5ba0955c16ca41 (patch)
tree820f28d0065f48376df5679ac0b281ff45436611 /src/gui
parent3cca6548aefcfe0751ab7b4d70ac71ace486e12e (diff)
downloadmana-client-461cf5d1ce4cecfaaa6cef45cb5ba0955c16ca41.tar.gz
mana-client-461cf5d1ce4cecfaaa6cef45cb5ba0955c16ca41.tar.bz2
mana-client-461cf5d1ce4cecfaaa6cef45cb5ba0955c16ca41.tar.xz
mana-client-461cf5d1ce4cecfaaa6cef45cb5ba0955c16ca41.zip
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.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/menuwindow.cpp8
1 files changed, 1 insertions, 7 deletions
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 <string>
-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;
}