Also use the actual user search in the combo box history

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5833 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Colomban Wendling 2011-06-03 13:41:00 +00:00
parent 6f9d845181
commit d455e83d6e
2 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,8 @@
src/search.c, src/search.h:
Show the actual text the user searched for in messages rather than
the internal one (patch by Eugene Arshinov, thanks).
* src/search.c:
Also use the actual user search in the combo box history.
2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -1386,9 +1386,9 @@ on_replace_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
}
ui_combo_box_add_to_history(GTK_COMBO_BOX_ENTRY(
gtk_widget_get_parent(replace_dlg.find_entry)), find, 0);
gtk_widget_get_parent(replace_dlg.find_entry)), original_find, 0);
ui_combo_box_add_to_history(GTK_COMBO_BOX_ENTRY(
gtk_widget_get_parent(replace_dlg.replace_entry)), replace, 0);
gtk_widget_get_parent(replace_dlg.replace_entry)), original_replace, 0);
switch (response)
{