aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-04-09 04:44:58 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-04-09 04:44:58 +0800
commit0cdafe3604b30714bdc1e95819cd4a7936fcd523 (patch)
tree670c2d01da0020fc8d7e320ba5528a96f3745de0
parente73f740c72d9b19134bc91c4bb1d55a39664fe8b (diff)
downloadgsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar
gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar.gz
gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar.bz2
gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar.lz
gsoc2013-evolution-0cdafe3604b30714bdc1e95819cd4a7936fcd523.tar.xz
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
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c1
-rw-r--r--calendar/gui/e-meeting-time-sel.c1
-rw-r--r--shell/e-shell-folder-title-bar.c1
-rw-r--r--widgets/misc/ChangeLog4
-rw-r--r--widgets/misc/e-search-bar.c8
5 files changed, 5 insertions, 10 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index a189077c92..962a745abe 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -26,7 +26,6 @@
#include <gal/e-table/e-table-simple.h>
#include <gal/e-table/e-table-without.h>
-#include <gal/widgets/e-font.h>
#include <gal/widgets/e-popup-menu.h>
#include <addressbook/gui/widgets/e-addressbook-model.h>
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index b857814125..f472ed8028 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -54,7 +54,6 @@
#include <gal/widgets/e-canvas.h>
#include <gal/widgets/e-canvas-utils.h>
-#include <gal/widgets/e-font.h>
#include <gal/e-table/e-cell-combo.h>
#include <gal/e-table/e-cell-text.h>
#include <gal/e-table/e-table-simple.h>
diff --git a/shell/e-shell-folder-title-bar.c b/shell/e-shell-folder-title-bar.c
index 5c995f32d8..9871a9c1d1 100644
--- a/shell/e-shell-folder-title-bar.c
+++ b/shell/e-shell-folder-title-bar.c
@@ -35,7 +35,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gal/util/e-util.h>
-#include <gal/widgets/e-font.h>
#include "widgets/misc/e-clipped-label.h"
#include "e-shell-constants.h"
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 ();