summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Hjalmarsson <gunnarhj@ubuntu.com>2023-02-08 22:06:53 +0100
committerRobert Ancell <robert.ancell@gmail.com>2023-02-09 10:49:34 +1300
commitc4c84413ce4707220da193a59634dc8e0c2cb5b7 (patch)
tree2a6b634c340cb4f4e039f6d41ceeb4e3abe082f7
parentcac805d87fc6d894b06b4f078cf4e3049495f1e6 (diff)
downloadlightdm-git-c4c84413ce4707220da193a59634dc8e0c2cb5b7.tar.gz
Use --no-markup option in zenity call
LP: #1887252
-rw-r--r--debian/config-error-dialog.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/config-error-dialog.sh b/debian/config-error-dialog.sh
index 081fbb63..5ede998e 100644
--- a/debian/config-error-dialog.sh
+++ b/debian/config-error-dialog.sh
@@ -17,7 +17,11 @@ PARA1=$(eval_gettext 'Error found when loading $CONFIG_FILE:')
PARA2=$(gettext 'As a result the session will not be configured correctly.
You should fix the problem as soon as feasible.')
-TEXT="$PARA1\n\n$(fold -s $ERR)\n\n$PARA2"
+TEXT="$PARA1
+
+$(fold -s $ERR)
+
+$PARA2"
if [ -x /usr/bin/kdialog ]; then
TEXT_FILE=$(mktemp --tmpdir config-err-kdialog-XXXXXX)
@@ -25,5 +29,5 @@ if [ -x /usr/bin/kdialog ]; then
kdialog --textbox "$TEXT_FILE" 500 300
rm -f "$TEXT_FILE"
elif [ -x /usr/bin/zenity ]; then
- zenity --warning --no-wrap --text="$TEXT"
+ zenity --warning --no-wrap --no-markup --text="$TEXT"
fi