Kaydet (Commit) 545657d9 authored tarafından Nick Treleaven's avatar Nick Treleaven

Set Replace dialog default response

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@367 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 350bad5c
......@@ -905,7 +905,7 @@ void dialogs_show_replace(void)
app->replace_dialog = gtk_dialog_new_with_buttons(_("Replace"), GTK_WINDOW(app->window),
GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
button = gtk_button_new_with_mnemonic(_("_In selection"));
button = gtk_button_new_with_mnemonic(_("_In Selection"));
gtk_tooltips_set_tip(tooltips, button,
_("Replace all matches found in the currently selected text"), NULL);
gtk_widget_show(button);
......@@ -919,6 +919,8 @@ void dialogs_show_replace(void)
gtk_widget_show(button);
gtk_dialog_add_action_widget(GTK_DIALOG(app->replace_dialog), button,
GEANY_RESPONSE_REPLACE);
gtk_dialog_set_default_response(GTK_DIALOG(app->replace_dialog),
GEANY_RESPONSE_REPLACE);
label_find = gtk_label_new(_("Enter the search text here"));
gtk_misc_set_padding(GTK_MISC(label_find), 0, 6);
......
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