Author: ug
Date: Mon Jan 26 14:42:00 2009
New Revision: 55015
URL: http://svn.opensuse.org/viewcvs/yast?rev=55015&view=rev
Log:
label on back/ok button is ask-dialogs can be specified
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=55015&r1=55014&r2=55015&view=diff
==============================================================================
--- trunk/autoinstallation/doc/CreateProfileDetails.xml (original)
+++ trunk/autoinstallation/doc/CreateProfileDetails.xml Mon Jan 26 14:42:00 2009
@@ -3230,6 +3230,18 @@
<para><screen><script>...</script></screen></para></entry>
<entry>optional (default is no script)</entry>
</row>
+ <row>
+ <entry>ok_label (available in openSUSE 11.2 (not SLES11)</entry>
+ <entry>You can change the Label on the "Ok" button. The last element that specifies the label for a dialog wins.
+ <para><screen><ok_label>Finish</ok_label></screen></para></entry>
+ <entry>optional</entry>
+ </row>
+ <row>
+ <entry>back_label (available in openSUSE 11.2 (not SLES11)</entry>
+ <entry>You can change the Label on the "Back" button. The last element that specifies the label for a dialog wins.
+ <para><screen><back_label>Finish</back_label></screen></para></entry>
+ <entry>optional</entry>
+ </row>
</tbody>
</tgroup>
Modified: trunk/autoinstallation/package/autoyast2.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=55015&r1=55014&r2=55015&view=diff
==============================================================================
--- trunk/autoinstallation/package/autoyast2.changes (original)
+++ trunk/autoinstallation/package/autoyast2.changes Mon Jan 26 14:42:00 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Jan 26 14:41:16 CET 2009 - ug@suse.de
+
+- label on back/ok button is ask-dialogs can be specified
+
+-------------------------------------------------------------------
Mon Jan 26 13:55:53 CET 2009 - ug@suse.de
- ask-dialogs can have a new type called "static_text"
Modified: trunk/autoinstallation/src/dialogs/ask.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/dialogs/ask.ycp?rev=55015&r1=55014&r2=55015&view=diff
==============================================================================
--- trunk/autoinstallation/src/dialogs/ask.ycp (original)
+++ trunk/autoinstallation/src/dialogs/ask.ycp Mon Jan 26 14:42:00 2009
@@ -67,6 +67,8 @@
y2milestone("jumpToDialog %1",jumpToDialog);
string helptext = "";
string title = "";
+ string back_label = Label::BackButton();
+ string ok_label = Label::OKButton();
term dialog_term = `VBox();
term help_term = `Empty();
term title_term = `Empty();
@@ -82,6 +84,8 @@
list< map