From 702f6a0b7d3799b70ed904e199f4275bc0dc54e2 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Fri, 29 Sep 2006 20:45:18 +0000 Subject: fixed bugs --- geneticone/gui/windows.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'geneticone/gui/windows.py') 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() -- cgit v1.2.3-70-g09d2