diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/menus/gal-view-menus.c | 4 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 9 | ||||
-rw-r--r-- | widgets/misc/test-calendar.c | 2 |
4 files changed, 12 insertions, 7 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index b506006d50..bf376501c8 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,7 @@ +2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> + + * menus/gal-view-menus.c: convert label to utf8. + 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * menus/gal-view-menus.c: Fix headers. diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c index 220a2a75d8..01fbdc3b51 100644 --- a/widgets/menus/gal-view-menus.c +++ b/widgets/menus/gal-view-menus.c @@ -20,6 +20,7 @@ #include <gal/util/e-util.h> #include <gal/util/e-xml-utils.h> #include <gal/menus/gal-define-views-dialog.h> +#include <gal/widgets/e-unicode.h> struct _GalViewMenusPrivate { GalViewCollection *collection; @@ -193,7 +194,8 @@ build_menus(GalViewMenus *menus) menuitem = bonobo_ui_node_new_child(submenu, "menuitem"); bonobo_ui_node_set_attr(menuitem, "name", "DefineViews"); - bonobo_ui_node_set_attr(menuitem, "_label", "Define Views"); + bonobo_ui_node_set_attr(menuitem, "_label", + e_utf8_from_locale_string(_("Define Views"))); bonobo_ui_node_set_attr(menuitem, "verb", "DefineViews"); string = bonobo_ui_node_to_string(root, TRUE); diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 4da78b8001..57fd114f8a 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -27,19 +27,20 @@ #include <config.h> #include <stdio.h> /* printf */ -#include <glib.h> #include <gtk/gtkdrawingarea.h> #include <gtk/gtkeventbox.h> #include <gtk/gtkmenuitem.h> #include <gtk/gtkoptionmenu.h> + +#include <gal/widgets/e-unicode.h> +#include <gal/widgets/e-gui-utils.h> + #include <libgnome/gnome-defs.h> #include <libgnome/gnome-i18n.h> + #include "e-search-bar.h" #include "e-dropdown-button.h" -#include <gal/widgets/e-unicode.h> -#include <gal/widgets/e-gui-utils.h> - enum { QUERY_CHANGED, diff --git a/widgets/misc/test-calendar.c b/widgets/misc/test-calendar.c index fb67e406a2..735633424f 100644 --- a/widgets/misc/test-calendar.c +++ b/widgets/misc/test-calendar.c @@ -30,8 +30,6 @@ #include <config.h> #endif - -#include <gtk/gtkbox.h> #include <gtk/gtkdnd.h> #include <gtk/gtkmain.h> #include <gtk/gtkvbox.h> |