diff options
author | necoro <> | 2006-10-12 13:34:01 +0000 |
---|---|---|
committer | necoro <> | 2006-10-12 13:34:01 +0000 |
commit | 67dbc7e1c8ce5bcaad70623a1cec58009c61840c (patch) | |
tree | 82f4ef6766a403604794811dfca12b4805ad9d58 /geneticone/gui/dialogs.py | |
parent | df780a240e03a92c8bc854c053b96a4203960634 (diff) | |
download | portato-67dbc7e1c8ce5bcaad70623a1cec58009c61840c.tar.gz portato-67dbc7e1c8ce5bcaad70623a1cec58009c61840c.tar.bz2 portato-67dbc7e1c8ce5bcaad70623a1cec58009c61840c.zip |
Fixed bugs
Diffstat (limited to 'geneticone/gui/dialogs.py')
-rw-r--r-- | geneticone/gui/dialogs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/geneticone/gui/dialogs.py b/geneticone/gui/dialogs.py index ddb9d52..3429873 100644 --- a/geneticone/gui/dialogs.py +++ b/geneticone/gui/dialogs.py @@ -38,18 +38,18 @@ def nothing_found_dialog (): dialog.destroy() def changed_flags_dialog (what = "flags"): - hintMB = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, + hintMB = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, "You have changed %s. Genetic/One will write these changes into the appropriate files. Please backup them if you think it is necessairy." % what) hintMB.run() hintMB.destroy() def remove_deps_dialog (): - infoMB = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, "You cannot remove dependencies. :)") + infoMB = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, "You cannot remove dependencies. :)") infoMB.run() infoMB.destroy() def remove_queue_dialog (): - askMB = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, "Do you really want to clear the whole queue?") + askMB = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, "Do you really want to clear the whole queue?") ret = askMB.run() askMB.destroy() return ret |