summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-26 23:25:35 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-26 23:25:35 -0700
commit62d86f1c84678e04e7015a8f2440f0c251887c21 (patch)
tree5f79a8c7c733241dbfe0b325923629ddcd2026d1 /src/gui/windowmenu.cpp
parentedf478e1eb7987e35d56df2777fbeb389dc915ec (diff)
downloadmana-62d86f1c84678e04e7015a8f2440f0c251887c21.tar.gz
mana-62d86f1c84678e04e7015a8f2440f0c251887c21.tar.bz2
mana-62d86f1c84678e04e7015a8f2440f0c251887c21.tar.xz
mana-62d86f1c84678e04e7015a8f2440f0c251887c21.zip
Merge a little more and remove the BuddyWindow
The BuddyWindow was only half implemented and would have been made redundant with the planned social window.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 4e0313b6..8c0043eb 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -43,10 +43,7 @@ extern Window *setupWindow;
extern Window *skillDialog;
extern Window *specialsWindow;
extern Window *statusWindow;
-#ifdef MANASERV_SUPPORT
-extern Window *buddyWindow;
extern Window *guildWindow;
-#endif
WindowMenu::WindowMenu():
mEmotePopup(0)
@@ -60,10 +57,7 @@ WindowMenu::WindowMenu():
N_("Inventory"),
N_("Skills"),
N_("Specials"),
-#ifdef MANASERV_SUPPORT
N_("Guilds"),
- N_("Buddies"),
-#endif
N_("Shortcut"),
N_("Setup"),
0
@@ -133,16 +127,10 @@ void WindowMenu::action(const gcn::ActionEvent &event)
{
window = specialsWindow;
}
-#ifdef MANASERV_SUPPORT
else if (event.getId() == "Guilds")
{
window = guildWindow;
}
- else if (event.getId() == "Buddies")
- {
- window = buddyWindow;
- }
-#endif
else if (event.getId() == "Shortcut")
{
window = itemShortcutWindow;