From 64b08c11ec40d3c87c38b5bf5a958efae81c3e7e Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 20 Apr 2010 10:02:02 -0300 Subject: [PATCH] adding pairs on exceptions --- mitterlib/ui/ui_pygtk.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 9dbe7e2..3d59bbc 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -958,6 +958,8 @@ class Interface(object): buttons=gtk.BUTTONS_OK) error_win.run() error_win.hide() + self._statusbar.volatile(_('Error deleting the message'), + pair='delete') return ### Results for the repost message call @@ -978,6 +980,8 @@ class Interface(object): buttons=gtk.BUTTONS_OK) error_win.run() error_win.hide() + self._statusbar.volatile(_("Error reposting the message"), + pair='repost') return ### Results from the favorite call @@ -1002,6 +1006,9 @@ class Interface(object): buttons=gtk.BUTTONS_OK) error_win.run() error_win.hide() + self._statusbar.volatile( + _('Error changing the favorite status of the message'), + pair='favorite') return # ------------------------------------------------------------