>> I think it would be nice
>> if extension developers would be able to set keyboard shortcuts for
>> their stuff (I am really missing a shortcut for
>> nautilus-open-terminal, e.g.).
>This is not possible ATM. Its also sort of tricky, since different
>extensions could easily conflict with each other and with core nautilus
>accelerators.
While this is true for accelerators set up by extension developers, I
don't see any reason why users should be denied to set their own
shortcuts. Attached mini-patch solves this the same way it was solved
for scripts.
Holger
>From 8e8a0339623816e46a75a029f941031f842a868a Mon Sep 17 00:00:00 2001
From: Holger Berndt <bern...@gmx.de>
Date: Wed, 29 Apr 2009 00:10:26 +0200
Subject: [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
--
nautilus-list mailing list
nautilus-list@gnome.org
http://mail.gnome.org/mailman/listinfo/nautilus-list