diff options
author | Denis Fomin <fominde@gmail.com> | 2013-01-12 22:15:33 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2013-01-12 22:15:33 +0400 |
commit | 7ab0c826fc6c08003cf16ff7cfeb7b587fd10ef3 (patch) | |
tree | ff3f0ecdb137b17ecd27263bf2075f625f7bd3fd /src/gui_menu_builder.py | |
parent | 370aecd28c48590cbee98f738323516b43c41831 (diff) |
fix menuitem
Diffstat (limited to 'src/gui_menu_builder.py')
-rw-r--r-- | src/gui_menu_builder.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_menu_builder.py b/src/gui_menu_builder.py index fabef8dc8..888fce7bd 100644 --- a/src/gui_menu_builder.py +++ b/src/gui_menu_builder.py @@ -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 |