summaryrefslogtreecommitdiff
path: root/portato/gui/dialogs.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-16 01:37:11 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-16 01:37:11 +0200
commitece9295ade05250c8b67712878a013a5ffc73567 (patch)
treed98adffcb8cfccc53024d7151513f53e87fb77e6 /portato/gui/dialogs.py
parent389e70969d903f2c76fc62b6ba02254d4fa4710b (diff)
downloadportato-ece9295ade05250c8b67712878a013a5ffc73567.tar.gz
portato-ece9295ade05250c8b67712878a013a5ffc73567.tar.bz2
portato-ece9295ade05250c8b67712878a013a5ffc73567.zip
Fix gtk deprecation warning
Diffstat (limited to '')
-rw-r--r--portato/gui/dialogs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/dialogs.py b/portato/gui/dialogs.py
index 2cc2d6b..95f457b 100644
--- a/portato/gui/dialogs.py
+++ b/portato/gui/dialogs.py
@@ -128,7 +128,7 @@ def file_chooser_dialog (title, parent):
def prereq_error_dialog (e):
dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, _("A prerequisite for starting Portato was not matched."))
- msg = e.message
+ msg = e.args[0]
if get_runsystem()[0] == "Sabayon":
msg += "\n\n"+_("<b>Note</b>: On fresh Sabayon installs or its LiveDVD/-CD, there is no portage tree existing per default.\nPlease run <i>emerge --sync &amp;&amp; layman -S</i>.")