diff options
author | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-02 12:23:17 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-02 12:23:17 +0800 |
commit | 88e721454447bad1c2a0d17e39e9eb74e54196b5 (patch) | |
tree | 7d9a128f3a24a7a3e20b884cfd114640a894a672 /widgets | |
parent | 042704ddd3f26ef3becbe000547564127694c069 (diff) | |
download | gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.tar gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.tar.gz gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.tar.bz2 gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.tar.lz gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.tar.xz gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.tar.zst gsoc2013-evolution-88e721454447bad1c2a0d17e39e9eb74e54196b5.zip |
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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-popup-menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <gnome.h> #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) { |