diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-24 13:23:27 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-24 13:23:27 +0800 |
commit | 360675f54b51d53ac99409077f2d31d96284fb9b (patch) | |
tree | 265d70af032473fbdf08d04695ed2a9b3c5b4a34 /filter/filter-option.c | |
parent | babd37f2f7b43ea61df0d320ac7344d18debae72 (diff) | |
download | gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.gz gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.zst gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.zip |
lots of i18n fixes
svn path=/trunk/; revision=6143
Diffstat (limited to 'filter/filter-option.c')
-rw-r--r-- | filter/filter-option.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/filter/filter-option.c b/filter/filter-option.c index 5c8cba208b..28b7f88850 100644 --- a/filter/filter-option.c +++ b/filter/filter-option.c @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <gtk/gtk.h> +#include <config.h> #include <gnome.h> #include <gnome-xml/xmlmemory.h> @@ -239,14 +239,11 @@ static GtkWidget *get_widget(FilterElement *fe) GList *l = fo->options; struct _filter_option *op; int index = 0, current=0; - gchar *s; menu = (GtkMenu *)gtk_menu_new(); while (l) { op = l->data; - s = e_utf8_to_gtk_string ((GtkWidget *) menu, op->title); - item = (GtkMenuItem *)gtk_menu_item_new_with_label(s); - g_free (s); + item = (GtkMenuItem *)gtk_menu_item_new_with_label(_(op->title)); gtk_object_set_data((GtkObject *)item, "option", op); gtk_signal_connect((GtkObject *)item, "activate", option_activate, fo); gtk_menu_append(menu, (GtkWidget *)item); |