summaryrefslogtreecommitdiff
path: root/src/gui/menuwindow.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-02-28 12:31:04 +0000
committerDavid Athay <ko2fan@gmail.com>2008-02-28 12:31:04 +0000
commitfb3cbeddd6f5d59e3f83da059b2a1d4bed2cb80f (patch)
tree65e3086f341bb92154e99806f3b6255d9696ed4b /src/gui/menuwindow.cpp
parentac2de5e0bd7dfc79e344b6724ee6a13db9994aa4 (diff)
downloadmana-fb3cbeddd6f5d59e3f83da059b2a1d4bed2cb80f.tar.gz
mana-fb3cbeddd6f5d59e3f83da059b2a1d4bed2cb80f.tar.bz2
mana-fb3cbeddd6f5d59e3f83da059b2a1d4bed2cb80f.tar.xz
mana-fb3cbeddd6f5d59e3f83da059b2a1d4bed2cb80f.zip
Work in Progress commit of guilds.
Diffstat (limited to 'src/gui/menuwindow.cpp')
-rw-r--r--src/gui/menuwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp
index 560ec40a..84340fc4 100644
--- a/src/gui/menuwindow.cpp
+++ b/src/gui/menuwindow.cpp
@@ -37,6 +37,7 @@ extern Window *inventoryWindow;
extern Window *equipmentWindow;
extern Window *skillDialog;
extern Window *statusWindow;
+extern Window *guildWindow;
extern Window *itemShortcutWindow;
namespace {
@@ -63,6 +64,7 @@ MenuWindow::MenuWindow():
N_("Equipment"),
N_("Inventory"),
N_("Skills"),
+ N_("Guilds"),
N_("Shortcut"),
N_("Setup"),
0
@@ -108,6 +110,10 @@ void MenuWindowListener::action(const gcn::ActionEvent &event)
{
window = skillDialog;
}
+ else if (event.getId() == "Guilds")
+ {
+ window = guildWindow;
+ }
else if (event.getId() == "Shortcut")
{
window = itemShortcutWindow;