[packagekit] packagekit: Branch 'master'

Richard Hughes hughsient at kemper.freedesktop.org
Tue Sep 18 16:30:44 PDT 2007


 TODO             |    1 +
 src/pk-backend.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
diff-tree 50d5fa4174f209fcd4b1d161471e68e468dde97a (from 1f0430f4f065f21d3f1674932c5a3b8aa0f6130c)
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed Sep 19 00:30:22 2007 +0100

    don't wait 500ms for race double prevention, use 50ms. 500ms is quite a long time when clicking on stuff in the GUI

diff --git a/TODO b/TODO
index 59dbeb6..c2d141f 100644
--- a/TODO
+++ b/TODO
@@ -3,6 +3,7 @@ Order of no particular importance:
 *** API Changes ***
 s/GetJobList/GetActiveTransactions
 s/JobListChanged/ActiveTransactionsChanged
+s/PkTask/PkBackend (and local variables)
 
 *** Have to have an UpdatesChanged signal ***
 For the icon to update after we've done a system upgrade
diff --git a/src/pk-backend.c b/src/pk-backend.c
index b4c81e7..15ed11d 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -817,7 +817,7 @@ pk_backend_finished (PkBackend *backend)
 	/* we have to run this idle as the command may finish before the job
 	 * has been sent to the client. I love async... */
 	pk_debug ("adding finished %p to timeout loop", backend);
-	g_timeout_add (500, pk_backend_finished_delay, backend);
+	g_timeout_add (50, pk_backend_finished_delay, backend);
 	return TRUE;
 }
 



More information about the PackageKit mailing list