From: Marco Zanon Date: Sun, 23 Sep 2012 17:14:53 +0000 (+0000) Subject: Replaced \n with
when using kdialog. X-Git-Tag: SVN-to-Git~1 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=03ba9f793c8a8537debac60388faa3d293f63f39;p=single_click_remote_help Replaced \n with
when using kdialog. --- diff --git a/0.x/skeleton b/0.x/skeleton index 6748d1d..ae8dab2 100644 --- a/0.x/skeleton +++ b/0.x/skeleton @@ -58,6 +58,7 @@ IFS="$OLD_IFS" if [ -x /usr/bin/zenity ]; then N=`eval $"zenity --width $WIDTH --height $HEIGHT --title=\"$INPUT_BOX_TITLE\" --list --text=\"$INPUT_BOX_MESSAGE\" --column=\"\" --column=\"$LABEL_COLUMN_TITLE\" $VALUES"` elif [ -x /usr/bin/kdialog ]; then + INPUT_BOX_MESSAGE=`echo $INPUT_BOX_MESSAGE | sed -e 's/\\\n/
/g'` N=`eval $"kdialog --title \"$INPUT_BOX_TITLE\" --menu \"$INPUT_BOX_MESSAGE\" $VALUES"` else echo "Gui scripting tool not found, exiting."