summaryrefslogtreecommitdiff
path: root/services/evolution-user-prompter
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-01-09 23:03:37 +0100
committerMilan Crha <mcrha@redhat.com>2013-01-09 23:04:44 +0100
commit705af70540ee7b87b2d66228a0cd6c50c2538210 (patch)
tree187413f6bde20092890b80e081f4ca05448f1f97 /services/evolution-user-prompter
parent2707aa92740bb6510b6dab4a511f6bfe45adfa4f (diff)
downloadevolution-data-server-705af70540ee7b87b2d66228a0cd6c50c2538210.tar.gz
Bug #690177 - Use trust-prompt for certificate verification in WebDAV backends
Diffstat (limited to 'services/evolution-user-prompter')
-rw-r--r--services/evolution-user-prompter/prompt-user-gtk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/evolution-user-prompter/prompt-user-gtk.c b/services/evolution-user-prompter/prompt-user-gtk.c
index c49341065..257a73b0f 100644
--- a/services/evolution-user-prompter/prompt-user-gtk.c
+++ b/services/evolution-user-prompter/prompt-user-gtk.c
@@ -80,10 +80,10 @@ prompt_user_show (EUserPrompterServer *server,
ntype = GTK_MESSAGE_ERROR;
}
- if (use_markup)
- message = gtk_message_dialog_new_with_markup (NULL, 0, ntype, GTK_BUTTONS_NONE,
- "%s", primary_text ? primary_text : "");
- else
+ if (use_markup) {
+ message = gtk_message_dialog_new_with_markup (NULL, 0, ntype, GTK_BUTTONS_NONE, "%s", "");
+ gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (message), primary_text ? primary_text : "");
+ } else
message = gtk_message_dialog_new (NULL, 0, ntype, GTK_BUTTONS_NONE,
"%s", primary_text ? primary_text : "");