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

Richard Hughes hughsient at kemper.freedesktop.org
Thu Nov 15 16:24:11 PST 2007


 TODO                      |    5 -----
 libpackagekit/pk-client.c |    3 ++-
 2 files changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 846d4943241b423cb0294fe9ac66cbd4b2af9ba3
Author: Richard Hughes <richard at hughsie.com>
Date:   Fri Nov 16 00:06:22 2007 +0000

    update todo

diff --git a/TODO b/TODO
index 8f8da26..84c1183 100644
--- a/TODO
+++ b/TODO
@@ -10,11 +10,6 @@ Use this in the update icon
 Convert the backends to send more status calls.
 Add a depsolve status enum.
 
-*** Watch NameOwnerChanged ***
-Clients that are still on the bus should handle the error, else let
-PkWatch handle it. We'll need a method to see if a transaction_id has an
-active client, which we'll also need for package notice callbacks in the future.
-
 *** Add a way to import GPG keys ***
 In fedora, if you add a signed repo you have to agree to the GPG key.
 
commit efd13f43a538dd6c2f7295efd1e20402f99a38ba
Author: Richard Hughes <richard at hughsie.com>
Date:   Fri Nov 16 00:04:25 2007 +0000

     we need the tid when we call IsCallerActive

diff --git a/libpackagekit/pk-client.c b/libpackagekit/pk-client.c
index bb4cb3b..e62db2e 100644
--- a/libpackagekit/pk-client.c
+++ b/libpackagekit/pk-client.c
@@ -2180,7 +2180,7 @@ pk_client_get_backend_detail (PkClient *client, gchar **name, gchar **author)
  * pk_client_is_caller_active:
  **/
 gboolean
-pk_client_is_caller_active (PkClient *client, gboolean	*is_active)
+pk_client_is_caller_active (PkClient *client, gboolean *is_active)
 {
 	gboolean ret;
 	GError *error;
@@ -2190,6 +2190,7 @@ pk_client_is_caller_active (PkClient *client, gboolean	*is_active)
 
 	error = NULL;
 	ret = dbus_g_proxy_call (client->priv->proxy, "IsCallerActive", &error,
+				 G_TYPE_STRING, client->priv->tid,
 				 G_TYPE_INVALID,
 				 G_TYPE_BOOLEAN, is_active,
 				 G_TYPE_INVALID);



More information about the PackageKit mailing list