diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-02-17 01:19:23 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-02-17 01:19:23 +0100 |
commit | 7bd265f8c8537d235b24db59463c505629d9c207 (patch) | |
tree | feda7a0668f71f3e2d296491ecbd690287880824 /portato/gui/dialogs.py | |
parent | 98105652b0e02d9c633a5e61ced64e30adb70cde (diff) | |
parent | eab7389888eb97ddcdf174acce717f45157ed079 (diff) | |
download | portato-7bd265f8c8537d235b24db59463c505629d9c207.tar.gz portato-7bd265f8c8537d235b24db59463c505629d9c207.tar.bz2 portato-7bd265f8c8537d235b24db59463c505629d9c207.zip |
Merge in DB branch (even though it does not offer the change-db-in-prefs feature)
Diffstat (limited to '')
-rw-r--r-- | portato/gui/dialogs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/portato/gui/dialogs.py b/portato/gui/dialogs.py index 3e1fdce..d7ac41b 100644 --- a/portato/gui/dialogs.py +++ b/portato/gui/dialogs.py @@ -118,3 +118,10 @@ def prereq_error_dialog (e): ret = dialog.run() dialog.destroy() return ret + +def no_versions_dialog (cp): + dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_WARNING, gtk.BUTTONS_OK, _("No versions of package '%s' found!") % cp) + ret = dialog.run() + dialog.destroy() + return ret + |