diff options
author | Arx Cruz <arxcruz@src.gnome.org> | 2011-07-06 14:55:30 -0300 |
---|---|---|
committer | Arx Cruz <arxcruz@src.gnome.org> | 2011-07-06 14:58:49 -0300 |
commit | d8954d9222654f645ebdcc1752c70be97faaae45 (patch) | |
tree | 932c7d93975fd790565b1ffb1569bc75249b63d8 /src/msg.c | |
parent | Updated Galician translations (diff) | |
download | zenity-d8954d9222654f645ebdcc1752c70be97faaae45.tar.gz zenity-d8954d9222654f645ebdcc1752c70be97faaae45.tar.bz2 zenity-d8954d9222654f645ebdcc1752c70be97faaae45.zip |
Patch for bug #621907
This patch add the option --no-markup in the info, warning, error and question dialogs
So if the user wants to use & \ ' and other symbols, now he can, and no error will be
showed.
Diffstat (limited to 'src/msg.c')
-rw-r--r-- | src/msg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -131,7 +131,10 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) if (msg_data->dialog_text) gtk_label_set_markup (GTK_LABEL (text), g_strcompress (msg_data->dialog_text)); - + + if (msg_data->no_markup) + gtk_label_set_use_markup (GTK_LABEL (text), FALSE); + if (msg_data->no_wrap) gtk_label_set_line_wrap (GTK_LABEL (text), FALSE); |