[PATCH] Allow users to define shortcuts for extension menu items



---
 src/nautilus-window-menus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index 1e87b0e..a23693e 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -979,7 +979,7 @@ add_extension_menu_items (NautilusWindow *window,
 		g_object_get (item, "menu", &menu, NULL);
 		
 		action = nautilus_action_from_menu_item (item);
-		gtk_action_group_add_action (action_group, action);
+		gtk_action_group_add_action_with_accel (action_group, action, NULL);
 		
 		path = g_build_path ("/", POPUP_PATH_EXTENSION_ACTIONS, subdirectory, NULL);
 		gtk_ui_manager_add_ui (ui_manager,
-- 
1.6.0.4


--MP_/K6CjjOG.e_AhbYPxd2VEXeD--


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]