? .dialog-search-replace.c.swp
? bug_52221_patch.diff
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnumeric/src/dialogs/ChangeLog,v
retrieving revision 1.285
diff -r1.285 ChangeLog
0a1,6
> 2001-12-19  Wayne Schuller  <k_wayne@linuxpower.org>
> 
> 	* dialog-search-replace.c: (ok_clicked), (dialog_search_replace): Save and load the gnome_entry history.
> 	* dialog-search.c: (search_clicked), (dialog_search): Ditto.
> 	* search-replace.glade: Name the gnome_entry widgets properly.
> 
Index: dialog-search-replace.c
===================================================================
RCS file: /cvs/gnome/gnumeric/src/dialogs/dialog-search-replace.c,v
retrieving revision 1.25
diff -r1.25 dialog-search-replace.c
88a89
> 	GtkWidget *gentry;  /* Gnome Entry containing search text. */
94a96,104
> 	/* Save the contents of both gnome-entry's. */
> 	gentry = glade_xml_get_widget (gui, "search_entry");
> 	gnome_entry_set_history_id (GNOME_ENTRY (gentry), "search_entry");
> 	gnome_entry_append_history (GNOME_ENTRY(gentry), TRUE, sr->search_text);
> 
> 	gentry = glade_xml_get_widget (gui, "replace_entry");
> 	gnome_entry_set_history_id (GNOME_ENTRY (gentry), "replace_entry");
> 	gnome_entry_append_history (GNOME_ENTRY(gentry), TRUE, sr->replace_text);
> 
200a211
> 	GtkWidget *gentry;  /* Gnome Entry containing search text. */
223a235,244
> 
> 	/* Load the contents of both gnome-entry's. */
> 	gentry = glade_xml_get_widget (gui, "search_entry");
> 	gnome_entry_set_history_id (GNOME_ENTRY (gentry), "search_entry");
> 	gnome_entry_load_history (GNOME_ENTRY (gentry));
> 
> 	gentry = glade_xml_get_widget (gui, "replace_entry");
> 	gnome_entry_set_history_id (GNOME_ENTRY (gentry), "replace_entry");
> 	gnome_entry_load_history (GNOME_ENTRY (gentry));
> 
Index: dialog-search.c
===================================================================
RCS file: /cvs/gnome/gnumeric/src/dialogs/dialog-search.c,v
retrieving revision 1.8
diff -r1.8 dialog-search.c
315a316
> 	GtkWidget *gentry;  /* Gnome Entry containing search text. */
396a398,402
> 	/* Save the contents of the search in the gnome-entry. */
> 	gentry = glade_xml_get_widget (gui, "search_entry");
> 	gnome_entry_set_history_id (GNOME_ENTRY (gentry), "search_entry");
> 	gnome_entry_append_history (GNOME_ENTRY(gentry), TRUE, sr->search_text);
> 
431a438
> 	GtkWidget *gentry;
470a478,482
> 
> 	/* Load the contents of the search in the gnome-entry. */
> 	gentry = glade_xml_get_widget (gui, "search_entry");
> 	gnome_entry_set_history_id (GNOME_ENTRY (gentry), "search_entry");
> 	gnome_entry_load_history (GNOME_ENTRY (gentry));
Index: search-replace.glade
===================================================================
RCS file: /cvs/gnome/gnumeric/src/dialogs/search-replace.glade,v
retrieving revision 1.17
diff -r1.17 search-replace.glade
187c187
< 		<name>entry4</name>
---
> 		<name>search_entry</name>
218c218
< 		<name>entry5</name>
---
> 		<name>replace_entry</name>
