Author: ug
Date: Tue Aug 7 16:40:54 2007
New Revision: 40063
URL: http://svn.opensuse.org/viewcvs/yast?rev=40063&view=rev
Log:
no frame if no frametitle is defined in ask-questions
Modified:
branches/SuSE-SLE-10-SP2-Branch/autoinstallation/package/autoyast2.changes
branches/SuSE-SLE-10-SP2-Branch/autoinstallation/src/dialogs/ask.ycp
Modified: branches/SuSE-SLE-10-SP2-Branch/autoinstallation/package/autoyast2.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/autoinstallation/package/autoyast2.changes?rev=40063&r1=40062&r2=40063&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/autoinstallation/package/autoyast2.changes (original)
+++ branches/SuSE-SLE-10-SP2-Branch/autoinstallation/package/autoyast2.changes Tue Aug 7 16:40:54 2007
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue Aug 7 16:40:36 CEST 2007 - ug@suse.de
+
+- no frame if no frametitle is defined in ask-questions
+
+-------------------------------------------------------------------
Wed Jul 11 14:52:21 CEST 2007 - ug@suse.de
- multiple questions per ask-dialog
Modified: branches/SuSE-SLE-10-SP2-Branch/autoinstallation/src/dialogs/ask.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/autoinstallation/src/dialogs/ask.ycp?rev=40063&r1=40062&r2=40063&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP2-Branch/autoinstallation/src/dialogs/ask.ycp (original)
+++ branches/SuSE-SLE-10-SP2-Branch/autoinstallation/src/dialogs/ask.ycp Tue Aug 7 16:40:54 2007
@@ -54,20 +54,35 @@
term dlg = `Dummy();
if( type == "boolean" ) {
boolean on=(ask["default"]:nil=="true")?(true):(false);
- dlg = `Left( `Frame ( frametitle, `CheckBox(`id(entry_id), question,on ) ) );
+ if( frametitle != "" ) {
+ dlg = `Left( `Frame ( frametitle, `CheckBox(`id(entry_id), question,on ) ) );
+ } else {
+ dlg = `Left( `CheckBox(`id(entry_id), question,on ) );
+ }
} else if( type == "symbol" ) {
list<any> dummy = [];
foreach( map