diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-02-12 03:40:39 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-02-12 03:40:39 +0800 |
commit | c990fa1a79d9fbec4212318aa11c4cf8c2fce613 (patch) | |
tree | a787b714a5a0a9300f7c02c919bb3c8c74fed80f | |
parent | f4206679edf2e98c4f6c952e7fe47fd875bda272 (diff) | |
download | gsoc2013-evolution-c990fa1a79d9fbec4212318aa11c4cf8c2fce613.tar.gz gsoc2013-evolution-c990fa1a79d9fbec4212318aa11c4cf8c2fce613.tar.zst gsoc2013-evolution-c990fa1a79d9fbec4212318aa11c4cf8c2fce613.zip |
#include <libgnomevfs/gnome-vfs-mime.h> (em_popup_create_menu): Wrap
2004-02-11 Jeffrey Stedfast <fejj@ximian.com>
* em-popup.c: #include <libgnomevfs/gnome-vfs-mime.h>
(em_popup_create_menu): Wrap item->label with _() so
that the strings get translated properly.
svn path=/trunk/; revision=24714
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/em-popup.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 43ce287c92..c93eafd88c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2004-02-11 Jeffrey Stedfast <fejj@ximian.com> + + * em-popup.c: #include <libgnomevfs/gnome-vfs-mime.h> + (em_popup_create_menu): Wrap item->label with _() so + that the strings get translated properly. + 2004-02-11 Christian Neumair <chris@gnome-de.org> * em-folder-tree-model.c (sort_cb): "On this Computer" -> "On This diff --git a/mail/em-popup.c b/mail/em-popup.c index e161db5ac4..58fbd9d2d8 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -40,6 +40,7 @@ #include <gtk/gtkimage.h> #include <libgnome/gnome-url.h> +#include <libgnomevfs/gnome-vfs-mime.h> #include "em-popup.h" #include "e-util/e-msgport.h" @@ -333,7 +334,7 @@ em_popup_create_menu(EMPopup *emp, guint32 hide_mask, guint32 disable_mask) } if (item->label) { - label = gtk_label_new_with_mnemonic(item->label); + label = gtk_label_new_with_mnemonic(_(item->label)); gtk_misc_set_alignment((GtkMisc *)label, 0.0, 0.5); gtk_widget_show(label); gtk_container_add((GtkContainer *)menuitem, label); |