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
This commit is contained in:
committed by
Mike Kestner
parent
e73f740c72
commit
0cdafe3604
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user