From 793b1a02ef21d2ea7824eed1a59a49a2a91dbebd Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 21 Dec 2010 14:54:56 +0200 Subject: [PATCH] menu: use alternative way to get the key number --- mediainfo/src/mi-app.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediainfo/src/mi-app.vala b/mediainfo/src/mi-app.vala index b4fb803763..a7089f91b4 100644 --- a/mediainfo/src/mi-app.vala +++ b/mediainfo/src/mi-app.vala @@ -98,7 +98,7 @@ public class MediaInfo.App : Window 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.add_accelerator("activate", accel_group, Gdk.keyval_from_name ("F11"), 0, 0); //citem.set_accel_path ("/MainMenu/View/FullScreen"); //AccelMap.add_entry ("/MainMenu/View/FullScreen", 0xffc8, 0);