diff options
author | necoro <> | 2006-09-29 20:45:18 +0000 |
---|---|---|
committer | necoro <> | 2006-09-29 20:45:18 +0000 |
commit | 702f6a0b7d3799b70ed904e199f4275bc0dc54e2 (patch) | |
tree | 35c0f1a8e8b2c34e64beca76976ef3783a7f0f35 /geneticone/gui/windows.py | |
parent | 8c0913b9e18be985ab5fb6e99276b44c43ba1a31 (diff) | |
download | portato-702f6a0b7d3799b70ed904e199f4275bc0dc54e2.tar.gz portato-702f6a0b7d3799b70ed904e199f4275bc0dc54e2.tar.bz2 portato-702f6a0b7d3799b70ed904e199f4275bc0dc54e2.zip |
fixed bugs
Diffstat (limited to 'geneticone/gui/windows.py')
-rw-r--r-- | geneticone/gui/windows.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/geneticone/gui/windows.py b/geneticone/gui/windows.py index 082454b..7fe7d62 100644 --- a/geneticone/gui/windows.py +++ b/geneticone/gui/windows.py @@ -625,3 +625,8 @@ class MainWindow: # now subthreads can run normally, but are not allowed to touch the GUI. If threads should change sth there - use gobject.idle_add(). # for more informations on threading and gtk: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.006.htp gtk.main() + +def blocked_dialog (blocked, blocks): + dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, blocked+" is blocked by "+blocks+".\nPlease unmerge the blocking package.") + dialog.run() + dialog.destroy() |