From be6889175d4f206a84fb474781a112803a2db24f Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sat, 12 Jan 2013 15:36:20 +0400 Subject: [PATCH] fix change status via the combobox --- src/roster_window.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 1321d4cee..140fc512f 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3571,8 +3571,7 @@ class RosterWindow: if keyval == Gdk.KEY_s: # CTRL + s model = self.status_combobox.get_model() accounts = list(gajim.connections.keys()) - status = model[self.previous_status_combobox_active][2].decode( - 'utf-8') + status = model[self.previous_status_combobox_active][2] def on_response(message, pep_dict): if message is not None: # None if user pressed Cancel for account in accounts: @@ -3841,8 +3840,7 @@ class RosterWindow: not statuses_unified): # 'Change status message' selected: # do not change show, just show change status dialog - status = model[self.previous_status_combobox_active][2].decode( - 'utf-8') + status = model[self.previous_status_combobox_active][2] def on_response(message, pep_dict): if message is not None: # None if user pressed Cancel for account in accounts: