diff options
author | Necoro <> | 2008-01-20 01:55:36 +0000 |
---|---|---|
committer | Necoro <> | 2008-01-20 01:55:36 +0000 |
commit | 6647e99ec83e2a934346bb4ca58e93a2e216a831 (patch) | |
tree | a40ca9933e589db43595846adad58e0cefe86724 /portato/gui/gtk/dialogs.py | |
parent | 7281cbcb12c40aa8335c2dbf0a4781ff799761a4 (diff) | |
download | portato-6647e99ec83e2a934346bb4ca58e93a2e216a831.tar.gz portato-6647e99ec83e2a934346bb4ca58e93a2e216a831.tar.bz2 portato-6647e99ec83e2a934346bb4ca58e93a2e216a831.zip |
r680@Devoty: necoro | 2008-01-20 02:53:30 +0100
Fixed flag handling
Diffstat (limited to '')
-rw-r--r-- | portato/gui/gtk/dialogs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/portato/gui/gtk/dialogs.py b/portato/gui/gtk/dialogs.py index 7a1f28d..c26835c 100644 --- a/portato/gui/gtk/dialogs.py +++ b/portato/gui/gtk/dialogs.py @@ -11,6 +11,7 @@ # Written by René 'Necoro' Neumann <necoro@necoro.net> import gtk +from ...helper import error from gettext import lgettext as _ def queue_not_empty_dialog(): @@ -26,6 +27,7 @@ def io_ex_dialog (io_ex): if io_ex.filename: string = string+": "+io_ex.filename + error(string) dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, string) ret = dialog.run() dialog.destroy() |