[Xfce4-commits] [apps/mousepad] 02/03: Change keyboard shortcuts for Find Next/Previous and Go To

noreply at xfce.org noreply at xfce.org
Sat Jul 12 04:26:03 CEST 2014


This is an automated email from the git hooks/post-receive script.

mbrush pushed a commit to branch master
in repository apps/mousepad.

commit 839ecf1145559e3959ff0368cc45e9c7ac90f201
Author: Matthew Brush <mbrush at codebrainz.ca>
Date:   Fri Jul 11 18:39:51 2014 -0700

    Change keyboard shortcuts for Find Next/Previous and Go To
    
    Hopefully this doesn't annoy anyone but these are the more usual
    keyboard shortcuts for these uses. See bug report for details. If
    anyone has an idea for how to provide both the old and new keyboard
    shortcuts without ugly hacks, we could try and support the old and
    new shortcuts together.
    
    Closes #9745 (https://bugzilla.xfce.org/show_bug.cgi?id=9745)
---
 mousepad/mousepad-window.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
index cf98a8e..231d052 100644
--- a/mousepad/mousepad-window.c
+++ b/mousepad/mousepad-window.c
@@ -455,10 +455,10 @@ static const GtkActionEntry action_entries[] =
 
   { "search-menu", NULL, N_("_Search"), NULL, NULL, NULL, },
     { "find", GTK_STOCK_FIND, NULL, NULL, N_("Search for text"), G_CALLBACK (mousepad_window_action_find), },
-    { "find-next", NULL, N_("Find _Next"), "F3", N_("Search forwards for the same text"), G_CALLBACK (mousepad_window_action_find_next), },
-    { "find-previous", NULL, N_("Find _Previous"), "<shift>F3", N_("Search backwards for the same text"), G_CALLBACK (mousepad_window_action_find_previous), },
+    { "find-next", NULL, N_("Find _Next"), "<control>g", N_("Search forwards for the same text"), G_CALLBACK (mousepad_window_action_find_next), },
+    { "find-previous", NULL, N_("Find _Previous"), "<shift><control>g", N_("Search backwards for the same text"), G_CALLBACK (mousepad_window_action_find_previous), },
     { "replace", GTK_STOCK_FIND_AND_REPLACE, N_("Find and Rep_lace..."), NULL, N_("Search for and replace text"), G_CALLBACK (mousepad_window_action_replace), },
-    { "go-to", GTK_STOCK_JUMP_TO, N_("_Go to..."), "<control>G", N_("Go to a specific location in the document"), G_CALLBACK (mousepad_window_action_go_to_position), },
+    { "go-to", GTK_STOCK_JUMP_TO, N_("_Go to..."), "<control>l", N_("Go to a specific location in the document"), G_CALLBACK (mousepad_window_action_go_to_position), },
 
   { "view-menu", NULL, N_("_View"), NULL, NULL, NULL, },
     { "font", GTK_STOCK_SELECT_FONT, N_("Select F_ont..."), NULL, N_("Change the editor font"), G_CALLBACK (mousepad_window_action_select_font), },

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list