aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-10-20 01:25:44 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-20 01:25:44 +0800
commitcc15e1dca6d00f6ec693c70117ed3bd48ec68291 (patch)
treea29791e6b3bf796a802c521fb63b123cbe1d8515
parent20115b3d529724db653b8323e195237b33bb3873 (diff)
downloadgsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.tar
gsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.tar.gz
gsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.tar.bz2
gsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.tar.lz
gsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.tar.xz
gsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.tar.zst
gsoc2013-evolution-cc15e1dca6d00f6ec693c70117ed3bd48ec68291.zip
Translate labels in select-names option menu. (Bug #9604)
2001-10-18 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names.c (add_menu_item): Translate labels in select-names option menu. (Bug #9604) * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): Made the default window size slightly wider. (Bug #7516) svn path=/trunk/; revision=13795
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c6
-rw-r--r--addressbook/gui/search/e-addressbook-search-dialog.c2
3 files changed, 15 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index fb79650a1c..51414a6779 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,12 @@
+2001-10-18 Jon Trowbridge <trow@ximian.com>
+
+ * gui/component/select-names/e-select-names.c (add_menu_item):
+ Translate labels in select-names option menu. (Bug #9604)
+
+ * gui/search/e-addressbook-search-dialog.c
+ (e_addressbook_search_dialog_init): Made the default window size
+ slightly wider. (Bug #7516)
+
2001-10-18 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index 3a5a9a75ea..b696ffd0e2 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -354,13 +354,17 @@ add_menu_item (gpointer key,
ESelectNamesFolder *e_folder;
NamesAndMenu *nnm;
ESelectNames *e_select_names;
+ gchar *label;
nnm = user_data;
e_folder = value;
menu = nnm->menu;
e_select_names = nnm->names;
- item = gtk_menu_item_new_with_label (e_folder->display_name);
+ label = e_utf8_to_locale_string (_(e_folder->display_name));
+ item = gtk_menu_item_new_with_label (label);
+ g_free (label);
+
gtk_menu_append (GTK_MENU (menu), item);
gtk_object_set_data (GTK_OBJECT (item), "EsnChoiceFolder", e_folder);
diff --git a/addressbook/gui/search/e-addressbook-search-dialog.c b/addressbook/gui/search/e-addressbook-search-dialog.c
index 955ddd322d..5c90ce767a 100644
--- a/addressbook/gui/search/e-addressbook-search-dialog.c
+++ b/addressbook/gui/search/e-addressbook-search-dialog.c
@@ -142,7 +142,7 @@ e_addressbook_search_dialog_init (EAddressbookSearchDialog *view)
GnomeDialog *dialog = GNOME_DIALOG (view);
gtk_window_set_policy(GTK_WINDOW(view), FALSE, TRUE, FALSE);
- gtk_window_set_default_size (GTK_WINDOW (view), 500, 400);
+ gtk_window_set_default_size (GTK_WINDOW (view), 550, 400);
gtk_window_set_title(GTK_WINDOW(view), _("Advanced Search"));
view->search = get_widget(view);
gtk_box_pack_start(GTK_BOX(dialog->vbox), view->search, TRUE, TRUE, 0);