summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index dcfac74b6..7f2511238 100755
--- a/gui.py
+++ b/gui.py
@@ -293,7 +293,11 @@ class MessageWindow:
if docustom:
rid=0
for button in custom_buttons:
- widget = dialog.add_button(button, rid)
+ if button == _("Cancel"):
+ tbutton = "gtk-cancel"
+ else:
+ tbutton = button
+ widget = dialog.add_button(tbutton, rid)
rid = rid + 1
defaultchoice = rid - 1