Kaydet (Commit) 11cb3f9e authored tarafından Enrico Tröger's avatar Enrico Tröger

Add 'Replace' toolbar button (closes #2798225).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3827 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 5f54fba3
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* geany.spec.in: * geany.spec.in:
Adjust icon paths (patch by Dominic Hopf, thanks). Adjust icon paths (patch by Dominic Hopf, thanks).
* doc/geany.txt, doc/geany.html, src/toolbar.c:
Add 'Replace' toolbar button (closes #2798225).
2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3517,6 +3517,7 @@ ZoomIn Zoom in the text ...@@ -3517,6 +3517,7 @@ ZoomIn Zoom in the text
ZoomOut Zoom out the text ZoomOut Zoom out the text
UnIndent Decrease indentation UnIndent Decrease indentation
Indent Increase indentation Indent Increase indentation
Replace Replace text in the current document
SearchEntry The search field belonging to the 'Search' element (can be used alone) SearchEntry The search field belonging to the 'Search' element (can be used alone)
Search Find the entered text in the current file (only useful if you also Search Find the entered text in the current file (only useful if you also
use 'SearchEntry') use 'SearchEntry')
......
...@@ -72,7 +72,8 @@ const GtkActionEntry ui_entries[] = { ...@@ -72,7 +72,8 @@ const GtkActionEntry ui_entries[] = {
{ "Goto", GTK_STOCK_JUMP_TO, NULL, NULL, N_("Jump to the entered line number"), G_CALLBACK(on_toolbutton_goto_clicked) }, { "Goto", GTK_STOCK_JUMP_TO, NULL, NULL, N_("Jump to the entered line number"), G_CALLBACK(on_toolbutton_goto_clicked) },
{ "Preferences", GTK_STOCK_PREFERENCES, NULL, NULL, N_("Show the preferences dialog"), G_CALLBACK(on_toolbutton_preferences_clicked) }, { "Preferences", GTK_STOCK_PREFERENCES, NULL, NULL, N_("Show the preferences dialog"), G_CALLBACK(on_toolbutton_preferences_clicked) },
{ "Quit", GTK_STOCK_QUIT, NULL, NULL, N_("Quit Geany"), G_CALLBACK(on_toolbutton_quit_clicked) }, { "Quit", GTK_STOCK_QUIT, NULL, NULL, N_("Quit Geany"), G_CALLBACK(on_toolbutton_quit_clicked) },
{ "Print", GTK_STOCK_PRINT, NULL, NULL, N_("Print document"), G_CALLBACK(on_print1_activate) } { "Print", GTK_STOCK_PRINT, NULL, NULL, N_("Print document"), G_CALLBACK(on_print1_activate) },
{ "Replace", GTK_STOCK_FIND_AND_REPLACE, NULL, NULL, N_("Replace text in the current document"), G_CALLBACK(on_replace1_activate) }
}; };
const guint ui_entries_n = G_N_ELEMENTS(ui_entries); const guint ui_entries_n = G_N_ELEMENTS(ui_entries);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment