GNOME Bugzilla – Bug 668367
GtkApplicationWindow dislikes GtkAction accelerator syntax
Last modified: 2012-01-23 16:17:43 UTC
Epiphany git master uses GtkApplicationWindow but still adds a GtkUIManager accel group to it. The result is this kind of warning for every single action with an accel: Gtk-WARNING **: Failed to parse parameter from '<Actions>/WindowActions/TabsMoveRight' Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff592b9c8 in g_logv (log_domain=0x7ffff660c5f5 "Gtk", log_level=G_LOG_LEVEL_WARNING, format=0x7ffff660c5d0 "Failed to parse parameter from '%s'\n", args1=0x7fffffffcdb8) at gmessages.c:758 758 G_BREAKPOINT (); (gdb) bt
+ Trace 229483
Created attachment 205723 [details] [review] GtkApplication: change the accel prefix we use GtkApplication adds to the global accel map using the prefix <Actions> which is also used by GtkAction. This causes GtkApplicationWindow to try to parse GtkAction-added accels as if they were its own (which fails). Switch to a different namespace -- <GAction>/.
Review of attachment 205723 [details] [review]: Yes, I think this is the right fix
*** Bug 668511 has been marked as a duplicate of this bug. ***
Attachment 205723 [details] pushed as 880daf8 - GtkApplication: change the accel prefix we use