Author: rpmcruz
Date: Thu Sep 3 20:12:18 2009
New Revision: 58512
URL: http://svn.opensuse.org/viewcvs/yast?rev=58512&view=rev
Log:
* src/yzyppwrapper/cc: reduced busy tolerance from 50ms to 30ms
for 500 loops.
Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/yzyppwrapper.cc
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=58512&r1=58511&r2=58512&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Thu Sep 3 20:12:18 2009
@@ -19,6 +19,9 @@
* src/ygtkzyppview.h/cc: re-aligned description and version
control boxes.
+ * src/yzyppwrapper/cc: reduced busy tolerance from 50ms to 30ms
+ for 500 loops.
+
2009-09-02 Ricardo Cruz
* src/ygtktreemodel.h/cc: nice wrapper for GtkTreeModel.
Modified: trunk/gtk/src/yzyppwrapper.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.cc?rev=58512&r1=58511&r2=58512&view=diff
==============================================================================
--- trunk/gtk/src/yzyppwrapper.cc (original)
+++ trunk/gtk/src/yzyppwrapper.cc Thu Sep 3 20:12:18 2009
@@ -1614,7 +1614,7 @@
else if (i == 499) { // show progress if it takes more than 1 sec to drive 'N' loops
GTimeVal now;
g_get_current_time (&now);
- if (now.tv_usec - then.tv_usec >= 50*1000 || now.tv_sec - then.tv_sec >= 1) {
+ if (now.tv_usec - then.tv_usec >= 35*1000 || now.tv_sec - then.tv_sec >= 1) {
showProgress = true;
ypp->impl->interface->loading (0);
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org