diff -r db95c0104937 -r 06be29a56f8b ui/common/context.c --- a/ui/common/context.c Tue Apr 01 13:47:29 2014 +0200 +++ b/ui/common/context.c Wed Apr 02 09:59:38 2014 +0200 @@ -42,6 +42,11 @@ ctx->toplevel = toplevel; ctx->vars = ucx_map_new_a(mp->allocator, 16); +#ifdef UI_GTK + ctx->accel_group = gtk_accel_group_new(); + gtk_window_add_accel_group(GTK_WINDOW(toplevel->widget), ctx->accel_group); +#endif + return ctx; }