aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 010b758146..9ff70224ca 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -351,7 +351,13 @@ user_message_exec (struct _user_message_msg *m)
g_signal_connect (
user_message_dialog, "response",
G_CALLBACK (user_message_response), m);
- em_utils_show_error_silent (user_message_dialog);
+
+ /* If the dialog has no "primary" text, there's nothing to
+ * display in the status bar. So just show the dialog. */
+ if (g_object_get_data (user_message_dialog, "primary"))
+ em_utils_show_error_silent (user_message_dialog);
+ else
+ gtk_widget_show (user_message_dialog);
}
}