diff options
author | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-08 02:30:30 +0800 |
---|---|---|
committer | Lauris Kaplinski <lauris@src.gnome.org> | 2000-09-08 02:30:30 +0800 |
commit | 0db696fa4205edb578c56cade278061b4bbe54f2 (patch) | |
tree | b481424b3de3f269586f7658dd463864974bda6c /filter/filter-filter.c | |
parent | 722a05828e68522a639a04ae0b13855e6b70820b (diff) | |
download | gsoc2013-evolution-0db696fa4205edb578c56cade278061b4bbe54f2.tar.gz gsoc2013-evolution-0db696fa4205edb578c56cade278061b4bbe54f2.tar.zst gsoc2013-evolution-0db696fa4205edb578c56cade278061b4bbe54f2.zip |
Bunch of unicode related changes
svn path=/trunk/; revision=5235
Diffstat (limited to 'filter/filter-filter.c')
-rw-r--r-- | filter/filter-filter.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/filter/filter-filter.c b/filter/filter-filter.c index b0699ce827..86cc3baff2 100644 --- a/filter/filter-filter.c +++ b/filter/filter-filter.c @@ -22,6 +22,7 @@ #include <gnome.h> #include <gnome-xml/xmlmemory.h> +#include <e-util/e-unicode.h> #include "filter-filter.h" #include "filter-context.h" @@ -272,6 +273,7 @@ get_rule_part_widget(FilterContext *f, FilterPart *newpart, FilterRule *fr) GtkWidget *p; int index=0, current=0; struct _part_data *data; + gchar *s; data = g_malloc0(sizeof(*data)); data->fr = fr; @@ -286,7 +288,9 @@ get_rule_part_widget(FilterContext *f, FilterPart *newpart, FilterRule *fr) menu = (GtkMenu *)gtk_menu_new(); while ((part=filter_context_next_action(f, part))) { - item = (GtkMenuItem *)gtk_menu_item_new_with_label(part->title); + s = e_utf8_to_gtk_string ((GtkWidget *) menu, part->title); + item = (GtkMenuItem *)gtk_menu_item_new_with_label(s); + g_free (s); gtk_object_set_data((GtkObject *)item, "part", part); gtk_signal_connect((GtkObject *)item, "activate", option_activate, data); gtk_menu_append(menu, (GtkWidget *)item); |