summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-08-13 15:28:07 +0000
committerDavid Athay <ko2fan@gmail.com>2008-08-13 15:28:07 +0000
commitb9d9ae443874efd4968a6efcf5ce050f213c497b (patch)
tree453d80d3e1d251efb60968c36023413cb4faf452 /src/gui
parent47247ac4e2f0860a34106f4b69049d91003ced29 (diff)
downloadmana-b9d9ae443874efd4968a6efcf5ce050f213c497b.tar.gz
mana-b9d9ae443874efd4968a6efcf5ce050f213c497b.tar.bz2
mana-b9d9ae443874efd4968a6efcf5ce050f213c497b.tar.xz
mana-b9d9ae443874efd4968a6efcf5ce050f213c497b.zip
Added permission levels to guilds, and operator permissions to channels.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/guildlistbox.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/guildlistbox.cpp b/src/gui/guildlistbox.cpp
index 13c0ede7..659f1a63 100644
--- a/src/gui/guildlistbox.cpp
+++ b/src/gui/guildlistbox.cpp
@@ -111,6 +111,10 @@ void GuildListBox::mousePressed(gcn::MouseEvent &event)
distributeActionEvent();
}
// TODO: Add guild functions, ie private messaging
+ if (event.getButton() == gcn::MouseEvent::RIGHT)
+ {
+ // Show context menu
+ }
}
void GuildListBox::setOnlineStatus(const std::string &user, bool online)