summaryrefslogtreecommitdiff
path: root/src/gui/setup_relations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_relations.cpp')
-rw-r--r--src/gui/setup_relations.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gui/setup_relations.cpp b/src/gui/setup_relations.cpp
index d685cf6f5..d40995ac2 100644
--- a/src/gui/setup_relations.cpp
+++ b/src/gui/setup_relations.cpp
@@ -229,7 +229,6 @@ public:
};
#define ACTION_DELETE "delete"
-#define ACTION_OLD "old"
#define ACTION_TABLE "table"
#define ACTION_STRATEGY "strategy"
@@ -243,8 +242,7 @@ Setup_Relations::Setup_Relations():
player_relations.getDefault() & PlayerRelation::TRADE)),
mDefaultWhisper(new CheckBox(_("Allow whispers"),
player_relations.getDefault() & PlayerRelation::WHISPER)),
- mDeleteButton(new Button(_("Delete"), ACTION_DELETE, this)),
- mOldButton(new Button(_("Old"), ACTION_OLD, this))
+ mDeleteButton(new Button(_("Delete"), ACTION_DELETE, this))
{
setName(_("Relations"));
@@ -294,7 +292,6 @@ Setup_Relations::Setup_Relations():
place(0, 0, mPlayerTitleTable, 6);
place(0, 1, mPlayerScrollArea, 6, 4).setPadding(2);
place(0, 5, mDeleteButton);
- place(1, 5, mOldButton, 1);
place(3, 5, ignore_action_label, 1);
place(4, 5, mIgnoreActionChoicesBox, 2).setPadding(2);
place(3, 6, mDefaultTrading, 3);
@@ -385,11 +382,6 @@ void Setup_Relations::action(const gcn::ActionEvent &event)
player_relations.removePlayer(name);
}
- else if (event.getId() == ACTION_OLD)
- {
- player_relations.load(true);
- updateAll();
- }
else if (event.getId() == ACTION_STRATEGY)
{
PlayerIgnoreStrategy *s =