Author: jsuchome Date: Wed Jan 13 09:00:27 2010 New Revision: 60339 URL: http://svn.opensuse.org/viewcvs/yast?rev=60339&view=rev Log: - call inst_suse_register if no update repo is present (bnc#565094) - 2.17.21 Modified: branches/SuSE-Code-11-SP1-Branch/online-update/VERSION branches/SuSE-Code-11-SP1-Branch/online-update/package/yast2-online-update.changes branches/SuSE-Code-11-SP1-Branch/online-update/src/online_update.ycp Modified: branches/SuSE-Code-11-SP1-Branch/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/online-update/VERSION?rev=60339&r1=60338&r2=60339&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/online-update/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/online-update/VERSION Wed Jan 13 09:00:27 2010 @@ -1 +1 @@ -2.17.20 +2.17.21 Modified: branches/SuSE-Code-11-SP1-Branch/online-update/package/yast2-online-update.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/online-update/package/yast2-online-update.changes?rev=60339&r1=60338&r2=60339&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/online-update/package/yast2-online-update.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/online-update/package/yast2-online-update.changes Wed Jan 13 09:00:27 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jan 13 08:33:56 CET 2010 - jsuchome@suse.cz + +- call inst_suse_register if no update repo is present (bnc#565094) +- 2.17.21 + +------------------------------------------------------------------- Wed Dec 16 13:24:49 CET 2009 - jsuchome@suse.cz - better message for telling user to reboot, show list of patches Modified: branches/SuSE-Code-11-SP1-Branch/online-update/src/online_update.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/online-update/src/online_update.ycp?rev=60339&r1=60338&r2=60339&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/online-update/src/online_update.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/online-update/src/online_update.ycp Wed Jan 13 09:00:27 2010 @@ -91,13 +91,17 @@ break; } }); - // continue/cancel message - if (!is_available && Popup::YesNo (_("No active update repository available. -Exit Online Update now? -"))) + if (!is_available && Popup::YesNo (_("No update repository +configured yet. Run configuration workflow now?"))) { - Wizard::CloseDialog(); - return `abort; + // inst_suse_register is still able to configure update repo, + // however this will change in future (see bnc#565094) + any res = WFM::CallFunction ("inst_suse_register", []); + if (res != `next && res != `finish) + { + Wizard::CloseDialog(); + return `abort; + } } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org