Mailinglist Archive: yast-commit (459 mails)

< Previous Next >
[yast-commit] r60854 - in /branches/SuSE-Code-11-SP1-Branch/wagon: package/yast2-wagon.changes src/clients/wagon_registration_handler.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Thu, 18 Feb 2010 16:45:48 -0000
  • Message-id: <E1Ni9Vc-0007yn-Ot@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Thu Feb 18 17:45:48 2010
New Revision: 60854

URL: http://svn.opensuse.org/viewcvs/yast?rev=60854&view=rev
Log:
- Cleanup before and after suse_register (BNC #580523).


Modified:
branches/SuSE-Code-11-SP1-Branch/wagon/package/yast2-wagon.changes

branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp

Modified: branches/SuSE-Code-11-SP1-Branch/wagon/package/yast2-wagon.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/wagon/package/yast2-wagon.changes?rev=60854&r1=60853&r2=60854&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/wagon/package/yast2-wagon.changes
(original)
+++ branches/SuSE-Code-11-SP1-Branch/wagon/package/yast2-wagon.changes Thu Feb
18 17:45:48 2010
@@ -3,6 +3,7 @@

- Disabling also repositories that provide installed products (as
packages) but do not describe products in metadata (BNC #579905).
+- Cleanup before and after suse_register (BNC #580523).

-------------------------------------------------------------------
Fri Feb 5 16:12:02 CET 2010 - locilka@xxxxxxx

Modified:
branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp?rev=60854&r1=60853&r2=60854&view=diff
==============================================================================
---
branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp
(original)
+++
branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp
Thu Feb 18 17:45:48 2010
@@ -30,6 +30,16 @@

include "wagon/common_func.ycp";

+ void AdjustRegistrationHandlerScreen () {
+ Wizard::SetContents (
+ _("Novell Customer Center Configuration"),
+ `Label(_("Checking the current repositories...")),
+ " ",
+ GetInstArgs::enable_back(),
+ GetInstArgs::enable_next()
+ );
+ }
+
list <string> GetCurrentlyEnabledReposByAlias () {
list <string> ret = [];
map repo_data = $[];
@@ -55,12 +65,16 @@

symbol ret = `auto;

+ AdjustRegistrationHandlerScreen();
+
while (true) {
// Only in mode=="normal" suse_register reads settings from sysconfig
Mode::SetMode ("normal");
ret = (symbol) WFM::CallFunction ("inst_suse_register", WFM::Args());
Mode::SetMode ("update");

+ AdjustRegistrationHandlerScreen();
+
// `abort, `cancel, `back ...
// Just return the symbol
if (ret != `next) {

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

< Previous Next >
This Thread
  • No further messages