From d455e83d6ed79d96879f0ad048ee539265a102ff Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Fri, 3 Jun 2011 13:41:00 +0000 Subject: [PATCH] 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 --- ChangeLog | 2 ++ src/search.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ad20e3b4..8aeb20a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/search.c b/src/search.c index 3d29c9e2..1d71c6c9 100644 --- a/src/search.c +++ b/src/search.c @@ -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) {