Mailinglist Archive: yast-commit (1056 mails)

< Previous Next >
[yast-commit] r44148 - in /trunk/yast2: library/wizard/src/Progress.ycp package/yast2.changes
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Tue, 05 Feb 2008 09:46:00 -0000
  • Message-id: <20080205094600.D137833156@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Tue Feb 5 10:46:00 2008
New Revision: 44148

URL: http://svn.opensuse.org/viewcvs/yast?rev=44148&view=rev
Log:
Progress.ycp: Use the presence of progress bar widget to determine
whether some progress is running (querying progress counter is not
enough, previous modules might have failed to reset it correctly)


Modified:
trunk/yast2/library/wizard/src/Progress.ycp
trunk/yast2/package/yast2.changes

Modified: trunk/yast2/library/wizard/src/Progress.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/wizard/src/Progress.ycp?rev=44148&r1=44147&r2=44148&view=diff
==============================================================================
--- trunk/yast2/library/wizard/src/Progress.ycp (original)
+++ trunk/yast2/library/wizard/src/Progress.ycp Tue Feb 5 10:46:00 2008
@@ -117,7 +117,10 @@

global boolean IsRunning()
{
- return progress_running > 0;
+ //Check if any progress bar exists. If it does not, we're not running
+ //(querying progress counter is not enough, a module ran previously
+ //might have failed to reset the counter properly)
+ return ( (progress_running > 0) && (UI::WidgetExists(`pb) == true) );
}

// forward declaration

Modified: trunk/yast2/package/yast2.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=44148&r1=44147&r2=44148&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Tue Feb 5 10:46:00 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Feb 5 10:36:52 CET 2008 - kmachalkova@xxxxxxx
+
+- Progress.ycp: Use the presence of progress bar widget to determine
+ whether some progress is running (querying progress counter is not
+ enough, previous modules might have failed to reset it correctly)
+
+-------------------------------------------------------------------
Fri Feb 1 13:00:18 CET 2008 - locilka@xxxxxxx

- Added new functions into the URL module: MakeMapFromParams and

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

< Previous Next >
This Thread
  • No further messages