aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-search-bar.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 2f061b66f1..4af10fff08 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,5 +1,10 @@
2001-10-23 Damon Chaplin <damon@ximian.com>
+ * e-search-bar.c (copy_subitems): copy the translate field over as
+ well. Should fix an uninitialized memory read.
+
+2001-10-23 Damon Chaplin <damon@ximian.com>
+
* e-dateedit.c (e_date_edit_check_date_changed):
(e_date_edit_check_time_changed): clear the struct tm fields to keep
purify happy.
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 495bc93afb..73e022cef9 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -282,6 +282,7 @@ copy_subitems (ESearchBarSubitem *subitems)
for (i=0; i<N; ++i) {
copy[i].text = g_strdup (subitems[i].text);
copy[i].id = subitems[i].id;
+ copy[i].translate = subitems[i].translate;
}
copy[N].text = NULL;