Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49799 - in /trunk/ldap-server/src: dialogs.ycp wizards.ycp
  • From: rhafer@xxxxxxxxxxxxxxxx
  • Date: Wed, 06 Aug 2008 18:43:33 -0000
  • Message-id: <20080806184333.B1DE32A02E@xxxxxxxxxxxxxxxx>
Author: rhafer
Date: Wed Aug 6 20:43:33 2008
New Revision: 49799

URL: http://svn.opensuse.org/viewcvs/yast?rev=49799&view=rev
Log:
- Don't advance in Proposal workflow if service is disabled
- Hide "Back"-Button on first page of wizard

Modified:
trunk/ldap-server/src/dialogs.ycp
trunk/ldap-server/src/wizards.ycp

Modified: trunk/ldap-server/src/dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/dialogs.ycp?rev=49799&r1=49798&r2=49799&view=diff
==============================================================================
--- trunk/ldap-server/src/dialogs.ycp (original)
+++ trunk/ldap-server/src/dialogs.ycp Wed Aug 6 20:43:33 2008
@@ -203,6 +203,7 @@
CWMFirewallInterfaces::CreateOpenFirewallWidget (firewall_settings);

Wizard::SetContentsButtons( caption, dlg_service_initial,
HELPS["service_dialog"]:"help not found", Label::BackButton(),
Label::NextButton() );
+ Wizard::HideBackButton();

UI::ReplaceWidget(`rp_firewall,
firewall_widget["custom_widget"]:`Empty()
@@ -212,10 +213,12 @@
if( (boolean)defaults["serviceEnabled"]:true )
{
UI::ChangeWidget( `rb_yes, `Value, true );
+ Wizard::SetNextButton( `next, Label::NextButton());
}
else
{
UI::ChangeWidget( `cb_register_slp, `Enabled, false );
+ Wizard::SetNextButton( `finish , Label::FinishButton());
}

any ret = nil;
@@ -246,10 +249,12 @@
{
defaults["serviceEnabled"] = true;
UI::ChangeWidget( `cb_register_slp, `Enabled, true );
+ Wizard::SetNextButton( `next , Label::NextButton());
} else if( ret == `rb_no )
{
defaults["serviceEnabled"] = false;
UI::ChangeWidget( `cb_register_slp, `Enabled, false );
+ Wizard::SetNextButton( `finish , Label::FinishButton());
}
}


Modified: trunk/ldap-server/src/wizards.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/wizards.ycp?rev=49799&r1=49798&r2=49799&view=diff
==============================================================================
--- trunk/ldap-server/src/wizards.ycp (original)
+++ trunk/ldap-server/src/wizards.ycp Wed Aug 6 20:43:33 2008
@@ -72,21 +72,19 @@
map sequence = $[
"ws_start" : "startup",
"startup" : $[
- `next : "tlssettings"
+ `next : "tlssettings",
+ `finish : `abort
],
"tlssettings" : $[
`next : "database"
],
"database" : $[
`next : "summary",
- `back : `back,
`abort : `abort,
],
"summary" : $[
`next : "write",
- `back : `back,
- `abort : `back,
- `cancel : `back,
+ `abort : `abort,
`advanced : "advanced"
],
"advanced" : $[

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

< Previous Next >
This Thread
  • No further messages