aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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/gui
parentf8473e11f76fef784b136614fb609424e6453911 (diff)
downloadgsoc2013-evolution-81d12f283f41d8133d0bcfdc86a93186fa92d466.tar.gz
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/gui')
-rw-r--r--addressbook/gui/component/addressbook.c2
1 files changed, 2 insertions, 0 deletions
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;