gedit string change #2



Hi again,

	here is the second and last request for a gedit string change in
response to the UI review: it was requested that we add a menu item to
clear the highlighting of search matches since just using a keyboard
shortcut it's not discoverable.

The patch is attached to
http://bugzilla.gnome.org/show_bug.cgi?id=327702, and adds two strings:
one for the menu item and one for the relative tooltip, here is the
relevant hunk:


Index: gedit/gedit-ui.h
===================================================================
RCS file: /cvs/gnome/gedit/gedit/gedit-ui.h,v
retrieving revision 1.7
diff -u -p -B -r1.7 gedit-ui.h
--- gedit/gedit-ui.h	24 Feb 2006 13:22:58 -0000	1.7
+++ gedit/gedit-ui.h	24 Feb 2006 16:14:53 -0000
@@ -117,6 +117,8 @@ static const GtkActionEntry gedit_menu_e
 	  N_("Search backwards for the same text"), G_CALLBACK (gedit_cmd_search_find_prev) },
 	{ "SearchReplace", GTK_STOCK_FIND_AND_REPLACE, N_("_Replace..."), "<control>H",
 	  N_("Search for and replace text"), G_CALLBACK (gedit_cmd_search_replace) },
+	{ "SearchClearHighlight", NULL, N_("_Clear Highlight"), "<shift><control>F",
+	  N_("Clear highlighting of search matches"), G_CALLBACK (gedit_cmd_search_clear_highlight) },
 	{ "SearchGoToLine", GTK_STOCK_JUMP_TO, N_("Go to _Line..."), "<control>I",
 	  N_("Go to a specific line"), G_CALLBACK (gedit_cmd_search_goto_line) },


Hope we met Danilo's ultimatum :)

Ciao
	Paolo



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