Author: ug Date: Tue Jul 14 11:53:05 2009 New Revision: 58035 URL: http://svn.opensuse.org/viewcvs/yast?rev=58035&view=rev Log: missed some defaults Modified: trunk/autoinstallation/src/dialogs/general_dialogs.ycp Modified: trunk/autoinstallation/src/dialogs/general_dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/dialogs/general_dialogs.ycp?rev=58035&r1=58034&r2=58035&view=diff ============================================================================== --- trunk/autoinstallation/src/dialogs/general_dialogs.ycp (original) +++ trunk/autoinstallation/src/dialogs/general_dialogs.ycp Tue Jul 14 11:53:05 2009 @@ -180,7 +180,15 @@ UI::ChangeWidget(`id(`selLabel), `Enabled, false ); UI::ChangeWidget(`id(`selValue), `Enabled, false ); UI::ChangeWidget(`id(`selection),`Enabled, false ); - UI::ChangeWidget(`id(`password), `Enabled, true ); + UI::ChangeWidget(`id(`password), `Enabled, false ); + + if( defaultValues["type"]:"text" == "text" ) { + UI::ChangeWidget(`id(`password), `Enabled, true ); + } else if( defaultValues["type"]:"text" == "symbol" ) { + UI::ChangeWidget(`id(`selLabel), `Enabled, true ); + UI::ChangeWidget(`id(`selValue), `Enabled, true ); + UI::ChangeWidget(`id(`selection),`Enabled, true ); + } repeat { if( size( (list)UI::QueryWidget(`id(`selection), `Items) ) == 0 ) { UI::ChangeWidget(`id(`delSelection) , `Enabled, false); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org