diff options
author | Mike Kestner <mkestner@ximian.com> | 2003-04-09 04:44:58 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2003-04-09 04:44:58 +0800 |
commit | 0cdafe3604b30714bdc1e95819cd4a7936fcd523 (patch) | |
tree | 670c2d01da0020fc8d7e320ba5528a96f3745de0 /widgets | |
parent | e73f740c72d9b19134bc91c4bb1d55a39664fe8b (diff) | |
download | gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar.gz gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar.zst gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.zip |
kill an old e_utf8_gtk usage
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-search-bar.c (set_option): kill an old e_utf8_gtk usage
and remove some straggling e-font.h includes.
svn path=/trunk/; revision=20769
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 9a79b5e70a..f1f3495126 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-08 Mike Kestner <mkestner@ximian.com> + + * e-search-bar.c (set_option): kill an old e_utf8_gtk usage + 2003-04-06 Chris Toshok <toshok@ximian.com> * e-cell-percent.h: e_cell_percent_get_type returns GType, not diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 484fb12c42..dd73122f98 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -639,13 +639,7 @@ set_option (ESearchBar *esb, ESearchBarItem *items) char *str; str = string_without_underscores (_(items[i].text)); - if (_(items[i].text) == items[i].text) { - /* It may be english string, or utf8 rule name */ - item = e_utf8_gtk_menu_item_new_with_label (GTK_MENU (menu), str); - } else { - item = gtk_menu_item_new_with_label (str); - } - + item = gtk_menu_item_new_with_label (str); g_free (str); } else { item = gtk_menu_item_new (); |