diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-18 01:15:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-18 01:15:48 +0800 |
commit | b5a4e10a04b653109991aa30a07f4a14bf1fa787 (patch) | |
tree | cc70c5b5d07a671ed6b13ae6271d9dc7f9724951 /e-util/e-alert-dialog.c | |
parent | 65737b99914b7e26049ce052e06e7a7299b38eed (diff) | |
download | gsoc2013-evolution-b5a4e10a04b653109991aa30a07f4a14bf1fa787.tar.gz gsoc2013-evolution-b5a4e10a04b653109991aa30a07f4a14bf1fa787.tar.zst gsoc2013-evolution-b5a4e10a04b653109991aa30a07f4a14bf1fa787.zip |
Add option to escape EAlert strings.
EAlertDialog wants the primary and secondary strings escaped for use in
markup text, EActivityProxy does not use markup. So make it an explicit
part of the EAlert API.
Diffstat (limited to 'e-util/e-alert-dialog.c')
-rw-r--r-- | e-util/e-alert-dialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c index d39d60dd4a..9a49a76223 100644 --- a/e-util/e-alert-dialog.c +++ b/e-util/e-alert-dialog.c @@ -193,18 +193,18 @@ e_alert_dialog_constructed (GObject *obj) gtk_misc_set_alignment((GtkMisc *)w, 0.0, 0.0); gtk_box_pack_start((GtkBox *)hbox, w, FALSE, FALSE, 12); - title = e_alert_get_title (alert); + title = e_alert_get_title (alert, FALSE); gtk_window_set_title((GtkWindow *)self, title); out = g_string_new (""); - primary = e_alert_get_primary_text (alert); + primary = e_alert_get_primary_text (alert, TRUE); if (primary) { g_string_append_printf (out, "<span weight=\"bold\" size=\"larger\">%s</span>\n\n", primary); } - secondary = e_alert_get_secondary_text (alert); + secondary = e_alert_get_secondary_text (alert, TRUE); if (secondary) { g_string_append (out, secondary); } |