diff options
author | David Athay <ko2fan@gmail.com> | 2008-11-25 16:50:21 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-05 00:39:27 +0100 |
commit | 8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1 (patch) | |
tree | 7c7e0b52b72e6d09970522faecdf10163c8e080b /src/gui/menuwindow.cpp | |
parent | 98c58bb9d3d39e4edbff05387b905a6c0fffa85d (diff) | |
download | mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.tar.gz mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.tar.bz2 mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.tar.xz mana-8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1.zip |
Add buddy window
Diffstat (limited to 'src/gui/menuwindow.cpp')
-rw-r--r-- | src/gui/menuwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp index dbbb08d2..f74dfa41 100644 --- a/src/gui/menuwindow.cpp +++ b/src/gui/menuwindow.cpp @@ -38,6 +38,7 @@ extern Window *magicDialog; extern Window *statusWindow; extern Window *guildWindow; extern Window *itemShortcutWindow; +extern Window *buddyWindow; namespace { struct MenuWindowListener : public gcn::ActionListener @@ -65,6 +66,7 @@ MenuWindow::MenuWindow(): N_("Skills"), N_("Magic"), N_("Guilds"), + N_("Buddys"), N_("Shortcut"), N_("Setup"), 0 @@ -118,6 +120,10 @@ void MenuWindowListener::action(const gcn::ActionEvent &event) { window = guildWindow; } + else if (event.getId() == "Buddys") + { + window = buddyWindow; + } else if (event.getId() == "Shortcut") { window = itemShortcutWindow; |