aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-31 07:02:05 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-31 07:02:05 +0800
commitc7f08ebc3da4a874f3433e49ed409260305726e7 (patch)
treeb84f5a9a319b2fb3799a8903b3723ff16d8f3204
parentbc61aea7a3f5ad09cd9a8cb8f51cbefa1a281689 (diff)
downloadgsoc2013-evolution-c7f08ebc3da4a874f3433e49ed409260305726e7.tar.gz
gsoc2013-evolution-c7f08ebc3da4a874f3433e49ed409260305726e7.tar.zst
gsoc2013-evolution-c7f08ebc3da4a874f3433e49ed409260305726e7.zip
Translate the rule name when filling in the name entry.
2002-07-30 Peter Williams <peterw@ximian.com> * filter-rule.c (get_widget): Translate the rule name when filling in the name entry. svn path=/trunk/; revision=17648
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-rule.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index e51b160da9..539dd98ba1 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-30 Peter Williams <peterw@ximian.com>
+
+ * filter-rule.c (get_widget): Translate the rule name when filling
+ in the name entry.
+
2002-07-29 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Add xml to unset system flags.
diff --git a/filter/filter-rule.c b/filter/filter-rule.c
index 9d796a1108..997e624930 100644
--- a/filter/filter-rule.c
+++ b/filter/filter-rule.c
@@ -770,7 +770,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
/* FIXME: do we want the following code in the future? */
/*gtk_editable_select_region (GTK_EDITABLE (name), 0, -1);*/
} else {
- e_utf8_gtk_entry_set_text (GTK_ENTRY (name), fr->name);
+ e_utf8_gtk_entry_set_text (GTK_ENTRY (name), _(fr->name));
}
/* evil kludgy hack because gtk sucks */