{
RaktWindowPriv *priv;
GtkActionGroup *action_group;
+ GtkAccelGroup *accel_group;
GError *error = NULL;
priv = GET_PRIV (window);
gtk_action_group_add_actions (action_group, action_entries,
G_N_ELEMENTS (action_entries), window);
gtk_ui_manager_insert_action_group (priv->ui_manager, action_group, 0);
+
+ accel_group = gtk_ui_manager_get_accel_group (priv->ui_manager);
+ gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
+
g_object_unref (action_group);
gtk_ui_manager_add_ui_from_string (priv->ui_manager, ui_layout, -1, &error);