aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-08-15 00:07:00 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-08-15 00:07:00 +0800
commit81d12f283f41d8133d0bcfdc86a93186fa92d466 (patch)
tree5afc3167a6d153e60bc19b3f895d1df33265105e /addressbook
parentf8473e11f76fef784b136614fb609424e6453911 (diff)
downloadgsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar
gsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar.gz
gsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar.bz2
gsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar.lz
gsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar.xz
gsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar.zst
gsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.zip
Tell the search bar to translate the subitem texts.
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. svn path=/trunk/; revision=12015
Diffstat (limited to 'addressbook')
-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;