do not use underline in join_gc menu
This commit is contained in:
parent
29071dda00
commit
47a13bdd2f
1 changed files with 6 additions and 5 deletions
|
@ -478,6 +478,7 @@ class RosterWindow:
|
||||||
if multiple_accounts:
|
if multiple_accounts:
|
||||||
label = gtk.Label()
|
label = gtk.Label()
|
||||||
label.set_markup('<u>' + account.upper() +'</u>')
|
label.set_markup('<u>' + account.upper() +'</u>')
|
||||||
|
label.set_use_underline(False)
|
||||||
item = gtk.MenuItem()
|
item = gtk.MenuItem()
|
||||||
item.add(label)
|
item.add(label)
|
||||||
item.connect('state-changed', self.on_bm_header_changed_state)
|
item.connect('state-changed', self.on_bm_header_changed_state)
|
||||||
|
@ -488,7 +489,7 @@ class RosterWindow:
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
|
|
||||||
for bookmark in gajim.connections[account].bookmarks:
|
for bookmark in gajim.connections[account].bookmarks:
|
||||||
item = gtk.MenuItem(bookmark['name'])
|
item = gtk.MenuItem(bookmark['name'], False) # Do not use underline
|
||||||
item.connect('activate', self.on_bookmark_menuitem_activate,
|
item.connect('activate', self.on_bookmark_menuitem_activate,
|
||||||
account, bookmark)
|
account, bookmark)
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
|
|
Loading…
Add table
Reference in a new issue