fix change status via the combobox
This commit is contained in:
parent
b49d27dfba
commit
be6889175d
|
@ -3571,8 +3571,7 @@ class RosterWindow:
|
||||||
if keyval == Gdk.KEY_s: # CTRL + s
|
if keyval == Gdk.KEY_s: # CTRL + s
|
||||||
model = self.status_combobox.get_model()
|
model = self.status_combobox.get_model()
|
||||||
accounts = list(gajim.connections.keys())
|
accounts = list(gajim.connections.keys())
|
||||||
status = model[self.previous_status_combobox_active][2].decode(
|
status = model[self.previous_status_combobox_active][2]
|
||||||
'utf-8')
|
|
||||||
def on_response(message, pep_dict):
|
def on_response(message, pep_dict):
|
||||||
if message is not None: # None if user pressed Cancel
|
if message is not None: # None if user pressed Cancel
|
||||||
for account in accounts:
|
for account in accounts:
|
||||||
|
@ -3841,8 +3840,7 @@ class RosterWindow:
|
||||||
not statuses_unified):
|
not statuses_unified):
|
||||||
# 'Change status message' selected:
|
# 'Change status message' selected:
|
||||||
# do not change show, just show change status dialog
|
# do not change show, just show change status dialog
|
||||||
status = model[self.previous_status_combobox_active][2].decode(
|
status = model[self.previous_status_combobox_active][2]
|
||||||
'utf-8')
|
|
||||||
def on_response(message, pep_dict):
|
def on_response(message, pep_dict):
|
||||||
if message is not None: # None if user pressed Cancel
|
if message is not None: # None if user pressed Cancel
|
||||||
for account in accounts:
|
for account in accounts:
|
||||||
|
|
Loading…
Reference in New Issue