Author: locilka Date: Fri Jan 25 15:28:48 2008 New Revision: 43907 URL: http://svn.opensuse.org/viewcvs/yast?rev=43907&view=rev Log: - Reduced Wizard redrawing in the installation workflow. Modified: trunk/installation/src/clients/inst_worker_continue.ycp trunk/installation/src/clients/inst_worker_initial.ycp trunk/installation/src/include/inst_inc_all.ycp Modified: trunk/installation/src/clients/inst_worker_continue.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_worker_continue.ycp?rev=43907&r1=43906&r2=43907&view=diff ============================================================================== --- trunk/installation/src/clients/inst_worker_continue.ycp (original) +++ trunk/installation/src/clients/inst_worker_continue.ycp Fri Jan 25 15:28:48 2008 @@ -52,7 +52,9 @@ SetSecondStageInstallation(); // All stages - CreateUI(); + SetUIContent(); + + SetDiskActivationModule(); UpdateWizardSteps (); @@ -71,8 +73,6 @@ // Shows fallback message if running in textmode (if used as fallback) ShowTextFallbackMessage(); - SetDiskActivationModule(); - ret = nil; /* --- Runing the installation workflow --- */ @@ -147,8 +147,5 @@ // All Sources and Target need to be released... FinishInstallation (ret); - // Created UI needs to be destroyed - UI::CloseDialog(); - return ret; } Modified: trunk/installation/src/clients/inst_worker_initial.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_worker_initial.ycp?rev=43907&r1=43906&r2=43907&view=diff ============================================================================== --- trunk/installation/src/clients/inst_worker_initial.ycp (original) +++ trunk/installation/src/clients/inst_worker_initial.ycp Fri Jan 25 15:28:48 2008 @@ -49,11 +49,13 @@ SetInitialInstallation (); // All stages - CreateUI(); + SetUIContent(); // Cleanup and other settings InitFirstStageInstallationSystem(); + SetDiskActivationModule(); + // Redraw steps before mouse is initialized // Bugzilla #296406 UpdateWizardSteps (); @@ -69,8 +71,6 @@ if (!Mode::screen_shot() && !Stage::firstboot()) WFM::CallFunction ("inst_check_autoinst_mode", []); - SetDiskActivationModule(); - symbol ret = nil; /* --- Runing the installation workflow --- */ @@ -91,8 +91,5 @@ // All Sources and Target need to be released... FinishInstallation (ret); - // Created UI needs to be destroyed - // UI::CloseDialog(); - return ret; } Modified: trunk/installation/src/include/inst_inc_all.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/include/inst_inc_all.ycp?rev=43907&r1=43906&r2=43907&view=diff ============================================================================== --- trunk/installation/src/include/inst_inc_all.ycp (original) +++ trunk/installation/src/include/inst_inc_all.ycp Fri Jan 25 15:28:48 2008 @@ -45,7 +45,7 @@ Wizard::SetTitleIcon("yast-inst-mode"); } - void CreateUI () { + void SetUIContent () { // Wizard::OpenNextBackStepsDialog(); SetInitializingUI (); } @@ -166,7 +166,6 @@ ProductControl::DisabledModules = add (ProductControl::DisabledModules, "disks_activate"); } - retranslateWizardDialog(); } } //end of include -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org