diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2009-11-25 14:25:28 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2009-11-25 14:25:28 +0300 |
commit | 7eb24c3c53bbcb9c0517933982c673d40518204f (patch) | |
tree | 69ea214baba7793ea6d4f1783ad6926d518f7cd9 /src/profile_window.py | |
parent | ddb493c87d505071bab147a479d1fc1075239715 (diff) |
fix traceback when using a non-BOSH proxy. Fixes #5449
Diffstat (limited to 'src/profile_window.py')
-rw-r--r-- | src/profile_window.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profile_window.py b/src/profile_window.py index 132357b0b..d00bfc335 100644 --- a/src/profile_window.py +++ b/src/profile_window.py @@ -68,7 +68,7 @@ class ProfileWindow: return True # loop forever def remove_statusbar(self, message_id): - self.statusbar.remove(self.context_id, message_id) + self.statusbar.remove_message(self.context_id, message_id) self.remove_statusbar_timeout_id = None def on_profile_window_destroy(self, widget): @@ -246,7 +246,7 @@ class ProfileWindow: self.set_value(i + '_entry', vcard_[i]) if self.update_progressbar_timeout_id is not None: if self.message_id: - self.statusbar.remove(self.context_id, self.message_id) + self.statusbar.remove_message(self.context_id, self.message_id) self.message_id = self.statusbar.push(self.context_id, _('Information received')) self.remove_statusbar_timeout_id = gobject.timeout_add_seconds(3, @@ -341,7 +341,7 @@ class ProfileWindow: def vcard_not_published(self): if self.message_id: - self.statusbar.remove(self.context_id, self.message_id) + self.statusbar.remove_message(self.context_id, self.message_id) self.message_id = self.statusbar.push(self.context_id, _('Information NOT published')) self.remove_statusbar_timeout_id = gobject.timeout_add_seconds(3, |