Skip to content
Snippets Groups Projects
Commit 2adf3dc8 authored by roidelapluie's avatar roidelapluie
Browse files

Better better systray -> groupchat submenu. See #3209 and [8232].

parent 0f72499e
No related branches found
No related tags found
No related merge requests found
......@@ -214,16 +214,13 @@ class Systray:
account_menu_for_single_message.append(item)
# join gc
label = gtk.Label()
label.set_markup('<u>' + account.upper() +'</u>')
label.set_use_underline(False)
gc_item = gtk.MenuItem()
gc_item.add(label)
gc_item.connect('state-changed',
gtkgui_helpers.on_bm_header_changed_state)
gc_item = gtk.MenuItem(_('using account %s') % account, False)
gc_sub_menu.append(gc_item)
gajim.interface.roster.add_bookmarks_list(gc_sub_menu,
gc_menuitem_menu = gtk.Menu()
gajim.interface.roster.add_bookmarks_list(gc_menuitem_menu,
account)
gc_item.set_submenu(gc_menuitem_menu)
gc_sub_menu.show_all()
elif connected_accounts == 1: # one account
# one account connected, no need to show 'as jid'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment