[yast-commit] r55184 - in /branches/SuSE-Code-11-Branch/add-on: VERSION package/yast2-add-on.changes src/add-on-workflow.ycp
Author: locilka Date: Mon Feb 2 14:43:08 2009 New Revision: 55184 URL: http://svn.opensuse.org/viewcvs/yast?rev=55184&view=rev Log: - Forcing recreating and redrawing the table of add-on products. - Opening new wizard window before calling inst_rpmcopy and closing after it returns. - Adding more debugging messages (all bnc #471020). - 2.17.17 Modified: branches/SuSE-Code-11-Branch/add-on/VERSION branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp Modified: branches/SuSE-Code-11-Branch/add-on/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/VER... ============================================================================== --- branches/SuSE-Code-11-Branch/add-on/VERSION (original) +++ branches/SuSE-Code-11-Branch/add-on/VERSION Mon Feb 2 14:43:08 2009 @@ -1 +1 @@ -2.17.16 +2.17.17 Modified: branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/pac... ============================================================================== --- branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes (original) +++ branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes Mon Feb 2 14:43:08 2009 @@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Mon Feb 2 14:34:27 CET 2009 - locilka@suse.cz + +- Forcing recreating and redrawing the table of add-on products. +- Opening new wizard window before calling inst_rpmcopy and closing + after it returns. +- Adding more debugging messages (all bnc #471020). +- 2.17.17 + +------------------------------------------------------------------- Mon Jan 26 16:51:09 CET 2009 - locilka@suse.cz - Added new client inst_add-on_software providing the functionality Modified: branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/src... ============================================================================== --- branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp (original) +++ branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp Mon Feb 2 14:43:08 2009 @@ -1274,9 +1274,13 @@ symbol result = PackagesUI::RunPackageSelector ($["mode":`summaryMode]); if (result == `accept) { + Wizard::OpenNextBackDialog(); + y2milestone ("Calling inst_rpmcopy"); WFM::call ("inst_rpmcopy"); y2milestone ("Done"); + + Wizard::CloseDialog(); } return true; @@ -1446,28 +1450,51 @@ while (true) { userret = UI::UserInput(); + // Abort if (userret == `abort || userret == `cancel) { + y2warning ("Aborting..."); ret = `abort; break; + + // Closing } else if (userret == `next || userret == `finish) { + y2milestone ("Finishing..."); ret = `next; break; + + // Addin new product } else if (userret == `add) { + y2milestone ("Using new Add-On..."); + if (RunWizard() == `next) { RunAddProductWorkflow(); } CreateAddOnsOverviewDialog(); RedrawAddOnsOverviewTable(); + + // Removing product } else if (userret == `delete) { + y2milestone ("Removing selected product..."); + if (RemoveProductWithDependencies()) { CreateAddOnsOverviewDialog(); RedrawAddOnsOverviewTable(); } + + // Redrawing info widget } else if (userret == "list_of_addons") { AdjustInfoWidget(); + + // Calling packager directly } else if (userret == `packager) { + y2milestone ("Calling packager..."); RunPackageSelector(); + + CreateAddOnsOverviewDialog(); + RedrawAddOnsOverviewTable(); + + // Everything else } else { y2error ("Uknown ret: %1", userret); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org