Skip to content
Snippets Groups Projects
Commit c46e6f0e authored by Julian Rother's avatar Julian Rother
Browse files

linuxparty: Removed package name from package selection dialog

parent 491e4d84
No related branches found
No related tags found
No related merge requests found
...@@ -175,19 +175,19 @@ case "$GUI" in ...@@ -175,19 +175,19 @@ case "$GUI" in
;; ;;
zenity) zenity)
askyesno() { askyesno() {
zenity --question --text "$@" 2> /dev/null zenity --width 300 --question --text "$@" 2> /dev/null
} }
err() { err() {
zenity --error --text "$@" 2> /dev/null zenity --width 300 --error --text "$@" 2> /dev/null
} }
pressenter() { pressenter() {
zenity --info --text "$@" 2> /dev/null zenity --width 300 --info --text "$@" 2> /dev/null
} }
install_pkgs() { install_pkgs() {
local pkglist=$3[@] local pkglist=$3[@]
INSTALL=$(zenity --list --title "$1" --text "$2" --checklist --separator=" " --width=786 --height=400 --column "Installieren?" --column "Paket" --column "Beschreibung" "${!pkglist}" 2> /dev/null || true) INSTALL=$(zenity --list --hide-column=2 --title "$1" --text "$2" --checklist --separator=" " --width=786 --height=400 --column "Installieren?" --column "Paket" --column "Beschreibung" "${!pkglist}" 2> /dev/null || true)
if [ -n "$INSTALL" ]; then if [ -n "$INSTALL" ]; then
INSTALLED_PKGS="$INSTALLED_PKGS $4" #register pseudo package INSTALLED_PKGS="$INSTALLED_PKGS $4" #register pseudo package
...@@ -248,7 +248,7 @@ case "$GUI" in ...@@ -248,7 +248,7 @@ case "$GUI" in
text="$e" text="$e"
kdlist[$i]="$tag" kdlist[$i]="$tag"
i=$((i+1)) i=$((i+1))
kdlist[$i]="$tag: $text" kdlist[$i]="$text"
i=$((i+1)) i=$((i+1))
kdlist[$i]="$use" kdlist[$i]="$use"
i=$((i+1)) i=$((i+1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment