aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 1ac061ed82..436ae39cb4 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -154,7 +154,8 @@ create_optionmenu (EMsgComposerHdrs *hdrs,
while (accounts) {
const MailConfigAccount *account;
char *label;
-
+ char *native_label;
+
account = accounts->data;
/* this should never ever fail */
@@ -169,7 +170,10 @@ create_optionmenu (EMsgComposerHdrs *hdrs,
else
label = g_strdup_printf ("%s <%s>", account->id->name, account->id->address);
- item = gtk_menu_item_new_with_label (label);
+
+ native_label = e_utf8_to_gtk_string (GTK_WIDGET (menu), label);
+ item = gtk_menu_item_new_with_label (native_label);
+ g_free (native_label);
g_free (label);
gtk_object_set_data (GTK_OBJECT (item), "account", account_copy (account));