From edae9d45f68d14eccf157bf5b62ee80cb93c1d12 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 4 May 2010 10:45:36 -0300 Subject: [PATCH] oops --- mitterlib/ui/ui_pygtk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 51c275f..6db06cc 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -930,7 +930,7 @@ class Interface(object): """Called when there is an exception updating the status.""" _log.debug('Update error') _log.debug(str(exception)) - message = _('%s\nPlease, try again.') % (message) + message = _('%s\nPlease, try again.') % (str(exception)) error_win = gtk.MessageDialog(parent=self._main_window, type=gtk.MESSAGE_ERROR, message_format=message, @@ -941,7 +941,7 @@ class Interface(object): # re-enable the update, or the user won't be able to repost their # message. self._action_group.get_action('Update').set_sensitive(True) - self._actionbar.volatile(_('Update failed.'), pair='update') + self._statusbar.volatile(_('Update failed.'), pair='update') return ### Results for the delete message call