[packagekit] packagekit: Branch 'master' - 2 commits

Richard Hughes hughsient at kemper.freedesktop.org
Fri Oct 5 16:18:39 PDT 2007


 libpackagekit/pk-client.c |    2 +-
 src/pk-engine.c           |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
diff-tree 2211f690cac32b5a2afce22b4cb5d85f132409ab (from 3d89e86e8e3d3719088b433cc554b9a40c8da4e3)
Author: Richard Hughes <richard at hughsie.com>
Date:   Sat Oct 6 00:16:56 2007 +0100

    dont save refresh caches to transaction_db

diff --git a/src/pk-engine.c b/src/pk-engine.c
index b19c7ed..8adbab3 100644
--- a/src/pk-engine.c
+++ b/src/pk-engine.c
@@ -612,8 +612,7 @@ pk_engine_item_add (PkEngine *engine, Pk
 
 	/* only save into the database for useful stuff */
 	pk_backend_get_role (item->backend, &role, NULL);
-	if (role == PK_ROLE_ENUM_REFRESH_CACHE ||
-	    role == PK_ROLE_ENUM_UPDATE_SYSTEM ||
+	if (role == PK_ROLE_ENUM_UPDATE_SYSTEM ||
 	    role == PK_ROLE_ENUM_REMOVE_PACKAGE ||
 	    role == PK_ROLE_ENUM_INSTALL_PACKAGE ||
 	    role == PK_ROLE_ENUM_UPDATE_PACKAGE) {
diff-tree 3d89e86e8e3d3719088b433cc554b9a40c8da4e3 (from 73416cc05fa844a72e3adf6465722e5ba37c26c6)
Author: Richard Hughes <richard at hughsie.com>
Date:   Sat Oct 6 00:12:04 2007 +0100

    fix a typo where we returned the sender tid, not the actual tid in GetOldTransactions

diff --git a/libpackagekit/pk-client.c b/libpackagekit/pk-client.c
index 9a6e5a1..48a93a8 100644
--- a/libpackagekit/pk-client.c
+++ b/libpackagekit/pk-client.c
@@ -367,7 +367,7 @@ pk_client_transaction_cb (DBusGProxy *pr
 	if (pk_transaction_id_equal (tid, client->priv->tid) == TRUE) {
 		role = pk_role_enum_from_text (role_text);
 		pk_debug ("emitting transaction %s, %s, %i, %s, %i, %s", old_tid, timespec, succeeded, role_text, duration, data);
-		g_signal_emit (client, signals [PK_CLIENT_TRANSACTION], 0, tid, timespec, succeeded, role, duration, data);
+		g_signal_emit (client, signals [PK_CLIENT_TRANSACTION], 0, old_tid, timespec, succeeded, role, duration, data);
 	}
 }
 



More information about the PackageKit mailing list