From 0e7630fc85f38616fcafbe9bcb5544b587fd21f6 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 26 Oct 2005 17:33:37 +0000 Subject: [PATCH] avoid double change in change status msg mni in combobox --- src/roster_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 6fae2486f..4b83590c0 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1421,10 +1421,13 @@ _('If "%s" accepts this request you will know his status.') %jid) continue current_show = gajim.SHOW_LIST[gajim.connections[acct].connected] self.send_status(acct, current_show, message) + self.status_combobox.handler_block(self.id_signal_cb) self.status_combobox.set_active(self.previous_status_combobox_active) + self.status_combobox.handler_unblock(self.id_signal_cb) return # we are about to change show, so save this new show so in case - # after user chooses "Change status" menuitem we can return to this show + # after user chooses "Change status message" menuitem + # we can return to this show self.previous_status_combobox_active = active if status == 'invisible': bug_user = False