summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/dialogs.py
diff options
context:
space:
mode:
authorNecoro <>2008-01-14 16:45:06 +0000
committerNecoro <>2008-01-14 16:45:06 +0000
commitf9a4a36b341b1d866269f568e86cbf63b90b5f63 (patch)
tree4d532b9a6cbf77a72cd99d841cd37ba5f8228991 /portato/gui/gtk/dialogs.py
parent31b1482b90f4d9c03c549538756978fe6f2da6a3 (diff)
downloadportato-f9a4a36b341b1d866269f568e86cbf63b90b5f63.tar.gz
portato-f9a4a36b341b1d866269f568e86cbf63b90b5f63.tar.bz2
portato-f9a4a36b341b1d866269f568e86cbf63b90b5f63.zip
r609@Devoty: necoro | 2008-01-14 17:04:38 +0100
Allowed '-' and '_' in key names. Also use group names instead of their number. r610@Devoty: necoro | 2008-01-14 17:05:42 +0100 Disabled saving of the queues r611@Devoty: necoro | 2008-01-14 17:08:53 +0100 Added the possibility to permanently en-/disable plugins r612@Devoty: necoro | 2008-01-14 17:14:09 +0100 adjust changelog and translations r613@Devoty: necoro | 2008-01-14 17:40:53 +0100 Dropdown should be localized too
Diffstat (limited to '')
-rw-r--r--portato/gui/gtk/dialogs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/gui/gtk/dialogs.py b/portato/gui/gtk/dialogs.py
index a176a17..7bea2b8 100644
--- a/portato/gui/gtk/dialogs.py
+++ b/portato/gui/gtk/dialogs.py
@@ -15,7 +15,8 @@ from gettext import lgettext as _
def queue_not_empty_dialog():
dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_NONE, _("There are some packages in the emerge queue and/or an emerge process is running.\nDo you really want to quit?"))
- dialog.add_buttons(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_SAVE, gtk.RESPONSE_YES, gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)
+ #dialog.add_buttons(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_SAVE, gtk.RESPONSE_YES, gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)
+ dialog.add_buttons(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)
ret = dialog.run()
dialog.destroy()
return ret