diff --git a/data/glade/roster_item_exchange_window.glade b/data/glade/roster_item_exchange_window.glade
index f3a88d95d..a896a7fcf 100644
--- a/data/glade/roster_item_exchange_window.glade
+++ b/data/glade/roster_item_exchange_window.glade
@@ -36,7 +36,7 @@
False
center
False
- Message Body
+ Message Body <currently unused, so it's hidden by default>
@@ -63,9 +63,10 @@
-
+
True
- 3
+ 12
+ end
gtk-cancel
diff --git a/src/dialogs.py b/src/dialogs.py
index 36222c177..8358b4a78 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -2714,6 +2714,10 @@ class RosterItemExchangeWindow:
if not is_in_roster:
iter = model.append()
model.set(iter, 0, True, 1, jid, 2, name, 3, groups)
+
+ # Change label for accept_button to action name instead of 'OK'.
+ accept_button_label = self.accept_button.get_children()[0].get_children()[0].get_children()[1]
+ accept_button_label.set_label(_('Add'))
elif action == 'modify':
for jid in self.exchange_list:
groups = ''
@@ -2741,6 +2745,10 @@ class RosterItemExchangeWindow:
if not is_right and is_in_roster:
iter = model.append()
model.set(iter, 0, True, 1, jid, 2, name, 3, groups)
+
+ # Change label for accept_button to action name instead of 'OK'.
+ accept_button_label = self.accept_button.get_children()[0].get_children()[0].get_children()[1]
+ accept_button_label.set_label(_('Modify'))
elif action == 'delete':
for jid in self.exchange_list:
groups = ''
@@ -2760,7 +2768,13 @@ class RosterItemExchangeWindow:
groups = groups + group + ', '
if not is_right and is_in_roster:
iter = model.append()
- model.set(iter, 0, True, 1, jid, 2, name, 3, groups)
+ model.set(iter, 0, True, 1, jid, 2, name, 3, groups)
+
+ # Change label for accept_button to action name instead of 'OK'.
+ accept_button_label = self.accept_button.get_children()[0].get_children()[0].get_children()[1]
+ accept_button_label.set_label(_('Delete'))
+
+
self.window.show_all()