[PATCH] allow setting shortcuts for scripts



---
 src/file-manager/fm-directory-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index 59c8a71..fe0c5b5 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -5039,8 +5039,8 @@ add_script_to_scripts_menus (FMDirectoryView *directory_view,
 			       launch_parameters, 
 			       (GClosureNotify)script_launch_parameters_free, 0);
 	
-	gtk_action_group_add_action (directory_view->details->scripts_action_group,
-				     action);
+	gtk_action_group_add_action_with_accel (directory_view->details->scripts_action_group,
+				     action, NULL);
 	g_object_unref (action);
 	
 	ui_manager = nautilus_window_info_get_ui_manager (directory_view->details->window);
-- 
1.5.6.3


--MP_/tK7F/b/z3kz2lY5I_222AI5
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename=0002-save-and-restore-custom-keyboard-shortcuts.patch



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