aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-popup.c3
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);