Author: lslezak Date: Tue Apr 29 09:21:56 2008 New Revision: 47146 URL: http://svn.opensuse.org/viewcvs/yast?rev=47146&view=rev Log: - use sizes in kB in the total progressbar in slideshow (progress bar widget uses 32 bit integers only), fixes "tick" progress mode when install size is greater than 2GB (bnc#380867) - 2.16.41 Modified: trunk/packager/VERSION trunk/packager/package/yast2-packager.changes trunk/packager/src/modules/SlideShow.ycp Modified: trunk/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/VERSION?rev=47146&r1... ============================================================================== --- trunk/packager/VERSION (original) +++ trunk/packager/VERSION Tue Apr 29 09:21:56 2008 @@ -1 +1 @@ -2.16.40 +2.16.41 Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.c... ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Tue Apr 29 09:21:56 2008 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Apr 29 09:13:08 CEST 2008 - lslezak@suse.cz + +- use sizes in kB in the total progressbar in slideshow (progress + bar widget uses 32 bit integers only), fixes "tick" progress + mode when install size is greater than 2GB (bnc#380867) +- 2.16.41 + +------------------------------------------------------------------- Tue Apr 29 08:49:10 CEST 2008 - coolo@suse.de - resubmitting package with correct version Modified: trunk/packager/src/modules/SlideShow.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/modules/SlideShow.yc... ============================================================================== --- trunk/packager/src/modules/SlideShow.ycp (original) +++ trunk/packager/src/modules/SlideShow.ycp Tue Apr 29 09:21:56 2008 @@ -1236,7 +1236,8 @@ if ( UI::WidgetExists(`progressTotal ) ) { - UI::ChangeWidget(`progressTotal, `Value, TotalInstalledSize() ); + // progress is in kB + UI::ChangeWidget(`progressTotal, `Value, TotalInstalledSize() >> 10); UI::ChangeWidget(`progressTotal, `Label, GetProgressLabel() ); } @@ -1477,7 +1478,8 @@ page_contents ), // Progress bar for overall progress of software package installation `ProgressBar(`id(`progressTotal ), GetProgressLabel(), - total_size_to_install, TotalInstalledSize() ) + // progress is in kB due to 32 bit UI limit + total_size_to_install >> 10, TotalInstalledSize() >> 10) // intentionally omitting `Label(`nextMedia) - // too much flicker upon update (UI::RecalcLayout() ) on NCurses ), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org