summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 876c98d32..74fcfc851 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -262,39 +262,6 @@ public:
void action(const gcn::ActionEvent &event A_UNUSED)
{
-/*
- if (event.getId() == "do invite")
- {
- std::string name = mInviteDialog->getText();
- Net::getGuildHandler()->invite(mGuild->getId(), name);
-
- if (localChatTab)
- {
- localChatTab->chatLog(strprintf(
- _("Invited user %s to guild %s."),
- name.c_str(), mGuild->getName().c_str()), BY_SERVER);
- }
- mInviteDialog = 0;
- }
- else if (event.getId() == "~do invite")
- {
- mInviteDialog = 0;
- }
- else if (event.getId() == "yes")
- {
- Net::getGuildHandler()->leave(mGuild->getId());
- if (localChatTab)
- {
- localChatTab->chatLog(strprintf(_("Guild %s quit requested."),
- mGuild->getName().c_str()), BY_SERVER);
- }
- mConfirmDialog = 0;
- }
- else if (event.getId() == "~yes")
- {
- mConfirmDialog = 0;
- }
-*/
}
void updateList()
@@ -312,26 +279,10 @@ public:
protected:
void invite()
{
-/*
- mInviteDialog = new TextDialog(_("Member Invite to Guild"),
- strprintf(_("Who would you like to invite to guild %s?"),
- mGuild->getName().c_str()),
- socialWindow);
- mInviteDialog->setActionEventId("do invite");
- mInviteDialog->addActionListener(this);
-*/
}
void leave()
{
-/*
- mConfirmDialog = new ConfirmDialog(_("Leave Guild?"),
- strprintf(_("Are you sure you want to leave guild %s?"),
- mGuild->getName().c_str()),
- socialWindow);
-
- mConfirmDialog->addActionListener(this);
-*/
}
private:
@@ -435,12 +386,6 @@ private:
Party *mParty;
};
-/*class BuddyTab : public SocialTab
-{
- // TODO?
-};*/
-
-
class BeingsListModal : public AvatarListModel
{
public: