Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r55005 - in /trunk/autoinstallation: doc/CreateProfileDetails.xml package/autoyast2.changes src/dialogs/ask.ycp
  • From: ug@xxxxxxxxxxxxxxxx
  • Date: Mon, 26 Jan 2009 13:03:12 -0000
  • Message-id: <E1LRR7Q-0000XL-QY@xxxxxxxxxxxxxxxx>
Author: ug
Date: Mon Jan 26 14:03:12 2009
New Revision: 55005

URL: http://svn.opensuse.org/viewcvs/yast?rev=55005&view=rev
Log:
ask-dialogs can have a new type called 'static_text'

Modified:
trunk/autoinstallation/doc/CreateProfileDetails.xml
trunk/autoinstallation/package/autoyast2.changes
trunk/autoinstallation/src/dialogs/ask.ycp

Modified: trunk/autoinstallation/doc/CreateProfileDetails.xml
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/doc/CreateProfileDetails.xml?rev=55005&r1=55004&r2=55005&view=diff
==============================================================================
--- trunk/autoinstallation/doc/CreateProfileDetails.xml (original)
+++ trunk/autoinstallation/doc/CreateProfileDetails.xml Mon Jan 26 14:03:12 2009
@@ -3122,6 +3122,8 @@
The filesystem in
the partition section is a symbol, while the
"encrypted" element in the user configuration is a boolean.
You can see the type of that element if you look in
your profile at the config:type="...." attribute.
+ Since openSUSE 11.2 (not SLES11) you can use
"static_text" as type too. A static_text is just a text that
+ does not require any user input and can be used to show
information if it's not wanted in the help text.

<para><screen>&lt;type&gt;symbol&lt;/type&gt;</screen></para></entry>
<entry>optional. The defaul is string. If type is "symbol" you
must provide the selection element too (see below)</entry>
</row>

Modified: trunk/autoinstallation/package/autoyast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=55005&r1=55004&r2=55005&view=diff
==============================================================================
--- trunk/autoinstallation/package/autoyast2.changes (original)
+++ trunk/autoinstallation/package/autoyast2.changes Mon Jan 26 14:03:12 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Jan 26 13:55:53 CET 2009 - ug@xxxxxxx
+
+- ask-dialogs can have a new type called "static_text"
+ (fate#305732)
+
+-------------------------------------------------------------------
Wed Jan 21 16:52:27 CET 2009 - ug@xxxxxxx

- hide "Show Source" menu point when source is shown already

Modified: trunk/autoinstallation/src/dialogs/ask.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/dialogs/ask.ycp?rev=55005&r1=55004&r2=55005&view=diff
==============================================================================
--- trunk/autoinstallation/src/dialogs/ask.ycp (original)
+++ trunk/autoinstallation/src/dialogs/ask.ycp Mon Jan 26 14:03:12 2009
@@ -103,6 +103,12 @@
} else {
dlg = `Left( `ComboBox( `id(entry_id), question, dummy
) );
}
+ } else if( type == "static_text" ) {
+ if( frametitle != "" ) {
+ dlg = `Left( `Frame ( frametitle, `Label(
`id(entry_id), ask["default"]:"" ) ) );
+ } else {
+ dlg = `Left( `Label( `id(entry_id), ask["default"]:""
) );
+ }
} else {
if( ask["password"]:false == true ) {
if( frametitle != "" ) {

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages