Mailinglist Archive: yast-commit (135 mails)

< Previous Next >
[yast-commit] r67685 - /trunk/ldap-client/src/ldap_config.ycp
Author: jsuchome
Date: Thu Mar 22 08:11:00 2012
New Revision: 67685

URL: http://svn.opensuse.org/viewcvs/yast?rev=67685&view=rev
Log:
simplify for only one usage

Modified:
trunk/ldap-client/src/ldap_config.ycp

Modified: trunk/ldap-client/src/ldap_config.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ldap-client/src/ldap_config.ycp?rev=67685&r1=67684&r2=67685&view=diff
==============================================================================
--- trunk/ldap-client/src/ldap_config.ycp (original)
+++ trunk/ldap-client/src/ldap_config.ycp Thu Mar 22 08:11:00 2012
@@ -41,27 +41,19 @@
}
y2debug ("param=%1", param);

- if (param != "late_dialog") {
- Wizard::CreateDialog();
- Wizard::SetDesktopTitleAndIcon("ldap");
- }
-
- ReadDialog (); // TODO not necessary when already done...
-
any ret = LDAPReadDialog ();
if (ret != `next)
+ {
return ret;
-
- if (param == "late_dialog") {
- Wizard::CreateDialog();
- Wizard::SetDesktopTitleAndIcon("ldap");
}

+ Wizard::CreateDialog();
+ Wizard::SetDesktopTitleAndIcon("ldap");
+
ret = ModuleConfigurationDialog ();

if (ret == `next && Ldap::ldap_modified)
{
- // TODO maybe add question "Really Write?"
if (Ldap::WriteLDAP (Ldap::config_modules))
Ldap::WriteLDAP (Ldap::templates);
}

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

< Previous Next >
This Thread
  • No further messages