aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 1ac471f57d..180f9a3ded 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-14 Federico Mena Quintero <federico@ximian.com>
+
+ * gui/component/addressbook.c (addressbook_factory_new_control):
+ Tell the search bar to translate the subitem texts.
+
2001-08-14 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 790205d953..c0acf414ad 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -808,10 +808,12 @@ addressbook_factory_new_control (void)
subitems[0].id = G_MAXINT;
subitems[0].text = g_strdup (_("Any Category"));
+ subitems[0].translate = FALSE;
for (i=0; i<N; ++i) {
subitems[i+1].id = i;
subitems[i+1].text = (char *) e_categories_master_list_nth (master_list, i);
+ subitems[i+1].translate = TRUE;
}
subitems[N+1].id = -1;
subitems[N+1].text = NULL;