[Lunar-commits] r19523 - lunar/trunk/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Thu Mar 30 04:38:32 UTC 2006


Author: sofar
Date: 2006-03-30 04:38:32 +0000 (Thu, 30 Mar 2006)
New Revision: 19523

Modified:
   lunar/trunk/var/lib/lunar/functions/optimize.lunar
Log:
Remember where the cursor was in this menu - makes it less clunky navigating.


Modified: lunar/trunk/var/lib/lunar/functions/optimize.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/optimize.lunar	2006-03-30 04:35:57 UTC (rev 19522)
+++ lunar/trunk/var/lib/lunar/functions/optimize.lunar	2006-03-30 04:38:32 UTC (rev 19523)
@@ -41,7 +41,7 @@
 			$DIALOG --msgbox "There are no configurable compontents. Please update your moonbase!" 6 60
 			return
 		fi
-		PLUGIN=`$DIALOG --cancel-label "Close" --menu "Select a component for which to configure optimizations" 0 0 0 $(plugin_call OPTIMIZE_MENU)`
+		PLUGIN=`$DIALOG --cancel-label "Close" --default-item "$PLUGIN" --menu "Select a component for which to configure optimizations" 0 0 0 $(plugin_call OPTIMIZE_MENU)`
 		if [ $? != 0 ]; then
 			return
 		fi



More information about the Lunar-commits mailing list