projects
/
projects
/
chimara
/
chimara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c116d
)
Fix accelerator keys
author
P. F. Chimento
<philip.chimento@gmail.com>
Sat, 18 Jun 2011 14:10:22 +0000
(16:10 +0200)
committer
P. F. Chimento
<philip.chimento@gmail.com>
Sat, 18 Jun 2011 14:10:22 +0000
(16:10 +0200)
player/main.c
patch
|
blob
|
history
diff --git
a/player/main.c
b/player/main.c
index 5ed1d0e9df2049d19e4031549a9aedfaa88f7a66..bd007b4ee128b0a7966822a37c547ca98c7b7c85 100644
(file)
--- 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);