first-run-wizard: Fixed the fix. I really need to get some sleep :(
authorMichael Mrozek <EvilDragon@openpandora.de>
Sat, 3 Jul 2010 02:38:44 +0000 (04:38 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Sat, 3 Jul 2010 02:38:44 +0000 (04:38 +0200)
recipes/pandora-system/pandora-first-run-wizard.bb
recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh

index d7c6148..38b76aa 100755 (executable)
@@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat
 
 COMPATIBLE_MACHINE = "omap3-pandora"
 
-PR = "r17"
+PR = "r18"
 
 SRC_URI = " \
           file://first-run-wizard.sh \
index 26f3102..48a922f 100755 (executable)
@@ -151,7 +151,7 @@ fi
 
 selection=""
 while [ x$selection = x ]; do
-selection=$(zenity --width=500 --height=300 --title="Select the Default GUI" --list --column "Name" --column "Description" --text "Please select the Default GUI" Test1 Desc1 Test2 Desc2 )
+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 "Please select the Default GUI" )
 if [ x$selection = x ]; then
   zenity --title="Error" --error --text="Please select a GUI." --timeout=6
 fi