]> err.no Git - mapper/commitdiff
Always set keyboard accel group
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 18 Oct 2007 11:45:44 +0000 (14:45 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 18 Oct 2007 11:45:44 +0000 (14:45 +0300)
src/ui-common.c

index 4f17b8c7eebe797465c62a96fb9c3bf03ddb71e0..da1a9baa93c6431f17a604fb48b9d6f7a1e743b7 100644 (file)
@@ -675,9 +675,8 @@ gtk_action_group_add_radio_actions (actions, ui_autocenter_entries,
 gtk_ui_manager_insert_action_group (ui, actions, 0);
 g_object_unref (actions);
 
-#ifndef WITH_HILDON
+/* N810 has keyboard so set this up */
 gtk_window_add_accel_group (GTK_WINDOW(_window), gtk_ui_manager_get_accel_group (ui));
-#endif
 
 if (!gtk_ui_manager_add_ui_from_string (ui, mapper_ui, -1, &error)) {
        g_message ("building menus failed: %s", error->message);