diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-11-06 06:51:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-11-06 06:51:55 +0800 |
commit | c7f67942ca864e5d158102eab7f26f6285a05b05 (patch) | |
tree | 2a14cae4df16ab9b0019edd6098abec3d75bd1e7 /filter/filter-source.c | |
parent | 394f4bee4a7a2fe5f12cb96b636aca99abd11184 (diff) | |
download | gsoc2013-evolution-c7f67942ca864e5d158102eab7f26f6285a05b05.tar.gz gsoc2013-evolution-c7f67942ca864e5d158102eab7f26f6285a05b05.tar.zst gsoc2013-evolution-c7f67942ca864e5d158102eab7f26f6285a05b05.zip |
Ported.
2002-11-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-filter.c: Ported.
* filter-source.c (get_widget): Don't use e_utf8_to_gtk_string.
* filter-option.c (xml_create): Don't use e_utf8_xml1_decode.
* filter-input.c (xml_encode): Don't use e_utf8_xml1_encode.
(xml_decode): Don't use e_utf8_xml1_decode.
(entry_changed): Don't use e_utf8_gtk_entry_get_text.
(get_widget): Don't use e_utf8_gtk_entry_set_text.
* filter-file.c (xml_encode): Don't use e_utf8_xml1_encode shit.
(xml_decode): Don't use e_utf8_xml1_decode.
(entry_changed): Don't use e_utf8_gtk_entry_get_text.
(get_widget): Don't use e_utf8_gtk_entry_set_text.
svn path=/trunk/; revision=18570
Diffstat (limited to 'filter/filter-source.c')
-rw-r--r-- | filter/filter-source.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/filter/filter-source.c b/filter/filter-source.c index 4d9aa4f6f8..2264af49dc 100644 --- a/filter/filter-source.c +++ b/filter/filter-source.c @@ -30,7 +30,6 @@ #include <gtk/gtk.h> #include <gnome.h> -#include <gal/widgets/e-unicode.h> #include <e-util/e-url.h> #include <e-util/e-sexp.h> #include <bonobo/bonobo-object.h> @@ -262,7 +261,7 @@ get_widget (FilterElement *fe) for (i = fs->priv->sources; i != NULL; i = g_list_next (i)) { SourceInfo *info = (SourceInfo *) i->data; - char *label, *native_label; + char *label; if (info->url != NULL) { if (first == NULL) @@ -274,10 +273,8 @@ get_widget (FilterElement *fe) else label = g_strdup_printf ("%s <%s>", info->name, info->address); - native_label = e_utf8_to_gtk_string (GTK_WIDGET (menu), label); - item = gtk_menu_item_new_with_label (native_label); + item = gtk_menu_item_new_with_label (label); g_free (label); - g_free (native_label); g_object_set_data (item, "source", info); g_signal_connect (item, "activate", source_changed, fs); |