From 8b6bfeb0a70d4f97cc2d20ce04fc240b65082cf1 Mon Sep 17 00:00:00 2001 From: David Athay Date: Tue, 25 Nov 2008 16:50:21 +0000 Subject: Add buddy window --- src/gui/menuwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/menuwindow.cpp') 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; -- cgit v1.2.3-70-g09d2