From: P. F. Chimento Date: Sat, 18 Jun 2011 14:10:22 +0000 (+0200) Subject: Fix accelerator keys X-Git-Tag: v0.9~73^2~6^2 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=86211c165b2c64ba017e61f6a4353ac685a09c07;p=projects%2Fchimara%2Fchimara.git Fix accelerator keys --- diff --git a/player/main.c b/player/main.c index 5ed1d0e..bd007b4 100644 --- a/player/main.c +++ b/player/main.c @@ -192,6 +192,10 @@ create_window(void) else gtk_widget_hide(toolbar); + /* Connect the accelerators */ + GtkAccelGroup *accels = gtk_ui_manager_get_accel_group(uimanager); + gtk_window_add_accel_group(GTK_WINDOW(window), accels); + gtk_box_pack_end(vbox, glk, TRUE, TRUE, 0); gtk_box_pack_start(vbox, menubar, FALSE, FALSE, 0); gtk_box_pack_start(vbox, toolbar, FALSE, FALSE, 0);