diff --git a/mediainfo/src/mi-app.vala b/mediainfo/src/mi-app.vala index aa55a23b03..b4fb803763 100644 --- a/mediainfo/src/mi-app.vala +++ b/mediainfo/src/mi-app.vala @@ -89,13 +89,19 @@ public class MediaInfo.App : Window item.activate.connect (Gtk.main_quit); item = new MenuItem.with_label (_("View")); + //item.set_accel_path ("/MainMenu/View"); menu_bar.append (item); sub_menu = new Menu (); item.set_submenu (sub_menu); - // TODO: need F11 accelerator CheckMenuItem citem = new CheckMenuItem.with_label (_("Full Screen")); + // see http://bugzilla.gnome.org/show_bug.cgi?id=551184 + // FIXME: we're also not getting a proper accelerator shown in the menu item + citem.add_accelerator("activate", accel_group, 0xffc8, 0, 0); + //citem.set_accel_path ("/MainMenu/View/FullScreen"); + //AccelMap.add_entry ("/MainMenu/View/FullScreen", 0xffc8, 0); + sub_menu.append (citem); citem.toggled.connect (on_fullscreen_toggled);