summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@localhost.localdomain>2009-11-20 14:31:37 +0100
committerJiri Moskovcak <jmoskovc@localhost.localdomain>2009-11-20 14:31:37 +0100
commitd36c440b0393908208e70a66d38bf1cd2a7c60f9 (patch)
treed55d3602e712e108bd8ecdcea545e24666f2dfd9
parent3a7ca2d4447aafc43168c220894a7261ead9e05d (diff)
downloadabrt-d36c440b0393908208e70a66d38bf1cd2a7c60f9.tar.gz
abrt-d36c440b0393908208e70a66d38bf1cd2a7c60f9.tar.xz
abrt-d36c440b0393908208e70a66d38bf1cd2a7c60f9.zip
GUI: fix button order in question_dialog
-rw-r--r--src/Gui/CC_gui_functions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Gui/CC_gui_functions.py b/src/Gui/CC_gui_functions.py
index bfc13188..86ca54e5 100644
--- a/src/Gui/CC_gui_functions.py
+++ b/src/Gui/CC_gui_functions.py
@@ -141,9 +141,11 @@ def gui_question_dialog ( message, parent_dialog=None,
dialog = gtk.MessageDialog( parent_dialog,
gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT,
- message_type, gtk.BUTTONS_YES_NO,
+ message_type, gtk.BUTTONS_NONE,
message )
dialog.add_button("gtk-cancel", gtk.RESPONSE_CANCEL)
+ dialog.add_button("gtk-yes", gtk.RESPONSE_YES)
+ dialog.add_button("gtk-no", gtk.RESPONSE_NO)
dialog.set_markup(message)
if parent_dialog:
dialog.set_position (gtk.WIN_POS_CENTER_ON_PARENT)