fix menuitem
This commit is contained in:
parent
370aecd28c
commit
7ab0c826fc
|
@ -91,7 +91,8 @@ def build_invite_submenu(invite_menuitem, list_, ignore_rooms=[]):
|
|||
return
|
||||
invite_to_submenu = Gtk.Menu()
|
||||
invite_menuitem.set_submenu(invite_to_submenu)
|
||||
invite_to_new_room_menuitem = Gtk.ImageMenuItem(_('_New Group Chat'))
|
||||
invite_to_new_room_menuitem = Gtk.ImageMenuItem.new_with_mnemonic(_(
|
||||
'_New Group Chat'))
|
||||
icon = Gtk.Image.new_from_stock(Gtk.STOCK_NEW, Gtk.IconSize.MENU)
|
||||
invite_to_new_room_menuitem.set_image(icon)
|
||||
if len(contact_list) > 1: # several resources
|
||||
|
|
Loading…
Reference in New Issue