aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-28 14:54:55 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-28 14:54:55 +0800
commit93a849a872c3de12ce64c243068493bda171c27d (patch)
tree8e2ece3495e3edadb4d0f83509ec29658d0aab0f
parent0a15cc5782fbaead14d4a32b88cd153b0ce329fd (diff)
downloadgsoc2013-evolution-93a849a872c3de12ce64c243068493bda171c27d.tar.gz
gsoc2013-evolution-93a849a872c3de12ce64c243068493bda171c27d.tar.zst
gsoc2013-evolution-93a849a872c3de12ce64c243068493bda171c27d.zip
** Fix for bug #353059
svn path=/trunk/; revision=32686
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-browser.c4
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-search-bar.c2
4 files changed, 17 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index bcc524cd29..cf0e348ba4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-28 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #353059
+
+ * em-folder-browser.c: (generate_viewoption_menu): Added translated
+ strings to search, which are already translated.
+
2006-08-27 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #352980
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 7abacdb578..2aca161d18 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -297,7 +297,7 @@ generate_viewoption_menu (GtkWidget *emfv)
for (i = 0; emfb_view_items[i].search.id != -1; ++i) {
if (emfb_view_items[i].search.text) {
char *str;
- str = string_without_underscores (emfb_view_items[i].search.text);
+ str = string_without_underscores (_(emfb_view_items[i].search.text));
menu_item = gtk_image_menu_item_new_with_label (str);
/* if (emfb_view_items[i].image)
gtk_image_menu_item_set_image (menu_item, e_icon_factory_get_image (emfb_view_items[i].image, E_ICON_SIZE_MENU)); */
@@ -352,7 +352,7 @@ generate_viewoption_menu (GtkWidget *emfv)
for (i = 0; temp_view_items[i].search.id != -1; ++i) {
if (temp_view_items[i].search.text) {
char *str;
- str = string_without_underscores (temp_view_items[i].search.text);
+ str = string_without_underscores (_(temp_view_items[i].search.text));
menu_item = gtk_image_menu_item_new_with_label (str);
/* if (temp_view_items[i].image)
gtk_image_menu_item_set_image (menu_item, e_icon_factory_get_image (temp_view_items[i].image, E_ICON_SIZE_MENU)); */
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 3aeb9d28b4..4be92b7506 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-28 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #353059
+
+ * e-search-bar.c: (e_search_bar_set_scopeoption): Added translatable
+ options to search strings, which are already translated.
+
2006-08-23 Behnam Esfahbod <behnam@zwnj.org>
* e-calendar.c:
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 85ce98217a..5d771854ca 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -1177,7 +1177,7 @@ e_search_bar_set_scopeoption (ESearchBar *search_bar, ESearchBarItem *scopeitems
for (i = 0; scopeitems[i].id != -1; ++i) {
if (scopeitems[i].text) {
char *str;
- str = string_without_underscores (scopeitems[i].text);
+ str = string_without_underscores (_(scopeitems[i].text));
menu_item = gtk_menu_item_new_with_label (str);
g_object_set_data_full (G_OBJECT (menu_item), "string",str, g_free);
} else {