From 07ca9fbe8d963d0bc612534ca0a94d4da754d4c7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Feb 2014 18:02:37 +0100 Subject: fix menu accelerators after conversion to gtk3 regression introduced in commit 0949ade542bde947eb6091130f1a752e1d55152d by pygi-convert.sh --- src/msec/msecgui.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 78b5907..9fc0739 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -210,13 +210,14 @@ class MsecGui: # building menus for topmenu, items in menus: # file menu - filemenu = Gtk.MenuItem(topmenu) + filemenu = Gtk.MenuItem(topmenu, use_underline=True) menubar.add(filemenu) menu = Gtk.Menu() filemenu.set_submenu(menu) group = None for submenu, callback in items: - menuitem = Gtk.MenuItem(submenu) + menuitem = Gtk.MenuItem(submenu, use_underline=True) + #menuitem = Gtk.MenuItem(submenu) if callback: menuitem.connect('activate', callback) else: -- cgit v1.2.1