From: Michael Mrozek Date: Mon, 12 Apr 2010 01:34:37 +0000 (+0200) Subject: GUI Selection: Removed the --multiple from all GUI selection dialogues X-Git-Tag: Release-2010-05/1~60^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=cbf1db3016b6541d4b039e2956997519fab5c83c GUI Selection: Removed the --multiple from all GUI selection dialogues --- diff --git a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh index a7bfb5d..e7e6fd2 100755 --- a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh +++ b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh @@ -147,7 +147,7 @@ fi # Select the default interface and setup SLiM to pass that as a sesion to ~./.xinitrc -selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity --width=500 --height=300 --title="Select the Default GUI" --list --multiple --column "name" --column "description" --text "select defaultgui" ) +selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity --width=500 --height=300 --title="Select the Default GUI" --list --column "name" --column "description" --text "select defaultgui" ) echo $selection gui=$(grep $selection /etc/pandora/conf/gui.conf | awk -F\; '{print $3}') diff --git a/recipes/pandora-system/pandora-scripts/op_defaultgui.sh b/recipes/pandora-system/pandora-scripts/op_defaultgui.sh index 3eaa905..31029cd 100755 --- a/recipes/pandora-system/pandora-scripts/op_defaultgui.sh +++ b/recipes/pandora-system/pandora-scripts/op_defaultgui.sh @@ -1,6 +1,6 @@ #!/bin/bash -selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity ---width=500 --height=300 --title="Change he Default GUI" --list --multiple --column "Name" --column "Description" --text "Please select the GUI you want to run as default startup" ) +selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity ---width=500 --height=300 --title="Change he Default GUI" --list --column "Name" --column "Description" --text "Please select the GUI you want to run as default startup" ) echo $selection gui=$(grep $selection /etc/pandora/conf/gui.conf | awk -F\; '{print $3}') diff --git a/recipes/pandora-system/pandora-scripts/op_switchgui.sh b/recipes/pandora-system/pandora-scripts/op_switchgui.sh index 043e0e5..d401cd4 100755 --- a/recipes/pandora-system/pandora-scripts/op_switchgui.sh +++ b/recipes/pandora-system/pandora-scripts/op_switchgui.sh @@ -1,6 +1,6 @@ #!/bin/bash -selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity --width=500 --height=300 --title="Switch to a different GUI" --list --multiple --column "name" --column "description" --text "Select a GUI you want to switch to" ) +selection=$(cat /etc/pandora/conf/gui.conf | awk -F\; '{print $1 "\n" $2 }' | zenity --width=500 --height=300 --title="Switch to a different GUI" --list --column "name" --column "description" --text "Select a GUI you want to switch to" ) echo $selection gui=$(grep $selection /etc/pandora/conf/gui.conf | awk -F\; '{print $3}')