middle click on merged accounts row now works
This commit is contained in:
parent
0833043975
commit
e55db9645d
1 changed files with 18 additions and 3 deletions
|
@ -1312,9 +1312,24 @@ _('If "%s" accepts this request you will know his status.') %jid)
|
||||||
gajim.interface.windows[account]['chats'][jid].window.present()
|
gajim.interface.windows[account]['chats'][jid].window.present()
|
||||||
elif type == 'account':
|
elif type == 'account':
|
||||||
account = model[iter][C_ACCOUNT]
|
account = model[iter][C_ACCOUNT]
|
||||||
show = gajim.connections[account].connected
|
if account != 'all':
|
||||||
if show > 1: # We are connected
|
show = gajim.connections[account].connected
|
||||||
self.on_change_status_message_activate(widget, account)
|
if show > 1: # We are connected
|
||||||
|
self.on_change_status_message_activate(widget, account)
|
||||||
|
return True
|
||||||
|
show = helpers.get_global_show()
|
||||||
|
if show == 'offline':
|
||||||
|
return True
|
||||||
|
dlg = dialogs.ChangeStatusMessageDialog(show)
|
||||||
|
message = dlg.run()
|
||||||
|
if not message:
|
||||||
|
return True
|
||||||
|
for acct in gajim.connections:
|
||||||
|
if not gajim.config.get_per('accounts', acct,
|
||||||
|
'sync_with_global_status'):
|
||||||
|
continue
|
||||||
|
current_show = gajim.SHOW_LIST[gajim.connections[acct].connected]
|
||||||
|
self.send_status(acct, current_show, message)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if event.button == 1: # Left click
|
if event.button == 1: # Left click
|
||||||
|
|
Loading…
Add table
Reference in a new issue