From 88e721454447bad1c2a0d17e39e9eb74e54196b5 Mon Sep 17 00:00:00 2001 From: Gediminas Paulauskas Date: Mon, 2 Apr 2001 04:23:17 +0000 Subject: My previous commit was incomplete. called e_utf8_from_gtk_string on category names, so they no are translated and show up correctly. svn path=/trunk/; revision=9093 --- widgets/misc/e-popup-menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'widgets/misc') diff --git a/widgets/misc/e-popup-menu.c b/widgets/misc/e-popup-menu.c index 0eadba4225..fdd5d6a509 100644 --- a/widgets/misc/e-popup-menu.c +++ b/widgets/misc/e-popup-menu.c @@ -13,6 +13,7 @@ nnn * #include #include "e-popup-menu.h" #include "e-gui-utils.h" +#include "gal/util/e-i18n.h" /* * Creates an item with an optional icon @@ -79,7 +80,7 @@ e_popup_menu_create (EPopupMenu *menu_list, guint32 disable_mask, guint32 hide_m if ((!(seperator && last_item_seperator)) && !(menu_list [i].disable_mask & hide_mask)) { GtkWidget *item; - item = make_item (menu, menu_list[i].name, menu_list[i].pixname); + item = make_item (menu, seperator ? "" : _(menu_list[i].name), menu_list[i].pixname); gtk_menu_append (menu, item); if (!menu_list[i].submenu) { -- cgit