diff --git a/bin/yautostart b/bin/yautostart
index b3b34ec..1ef15aa 100755
--- a/bin/yautostart
+++ b/bin/yautostart
@@ -11,7 +11,7 @@ case $LANG in
FILE="Plik"
NAME="Nazwa"
COMMENT="Komentarz"
- NO_DESC="brak opisu"
+ NO_DESC=""
CANCEL="--button=Anuluj:1"
OK="--button=Zastosuj:0"
;;
@@ -22,7 +22,7 @@ case $LANG in
FILE="Archivo"
NAME="Nombrar"
COMMENT="Comentar"
- NO_DESC="sin descripciĆ³n"
+ NO_DESC=""
CANCEL="--button=Cancelar:1"
OK="--button=Aceptar:0"
;;
@@ -33,7 +33,7 @@ case $LANG in
FILE="File"
NAME="Name"
COMMENT="Comment"
- NO_DESC="no description"
+ NO_DESC=""
CANCEL="--button=Cancel:1"
OK="--button=OK:0"
;;
@@ -54,10 +54,13 @@ results=$(mktemp --tmpdir autostart.XXXXXXXXXX)
for f in $config_dir/autostart/*.desktop; do
[ "$(grep -m 1 -e '^[[:blank:]]*Hidden' $f | cut -d = -f 2)" == "true" ] && echo false || echo true
echo $f
- grep -m 1 -e '^[[:blank:]]*Name=' $f | cut -d = -f 2
+ #grep -m 1 -e '^[[:blank:]]*Name=' $f | cut -d = -f 2
+ name=$(grep -m 1 -e '^[[:blank:]]*Name=' $f | cut -d = -f 2)
+ echo "$name"
+
#grep -m 1 -e '^[[:blank:]]*Exec' $f | cut -d = -f 2
comment=$(grep -m 1 -e '^[[:blank:]]*Comment=' $f | cut -d = -f 2)
- [ ! -z "$comment" ] && echo $comment || echo "$NO_DESC"
+ [ ! -z "$comment" ] && echo "$comment" || echo "$NO_DESC"
done | yad --window-icon=distributor-logo-mabox --width=640 --height=500 --title="$TITLE" --image="gtk-execute" \
--text="$DESC" --list --print-all --bool-fmt="t" \
--checklist --column="$ENABLE:CHK" --column="$FILE:HD" --column="$NAME" --column="$COMMENT" --tooltip-column=4 $CANCEL $OK > $results