[packagekit] packagekit: Branch 'master' - 2 commits
Richard Hughes
hughsient at kemper.freedesktop.org
Fri Oct 5 10:17:13 PDT 2007
TODO | 6 ++++++
libpackagekit/pk-client.c | 2 +-
libpackagekit/pk-package-list.c | 6 +++---
libpackagekit/pk-package-list.h | 2 +-
4 files changed, 11 insertions(+), 5 deletions(-)
New commits:
diff-tree 83cac883f97e67e31064c23a356eafe80069a22c (from d400909022826a8ae2621d735ee71c1cc1ead2e4)
Author: Richard Hughes <richard at hughsie.com>
Date: Fri Oct 5 16:10:56 2007 +0100
rename pk_package_list_remove_buffer to pk_package_list_clear
diff --git a/libpackagekit/pk-client.c b/libpackagekit/pk-client.c
index 78d10ba..9a6e5a1 100644
--- a/libpackagekit/pk-client.c
+++ b/libpackagekit/pk-client.c
@@ -186,7 +186,7 @@ pk_client_reset (PkClient *client)
client->priv->tid = NULL;
client->priv->last_status = PK_STATUS_ENUM_UNKNOWN;
client->priv->is_finished = FALSE;
- pk_package_list_remove_buffer (client->priv->package_list);
+ pk_package_list_clear (client->priv->package_list);
return TRUE;
}
diff --git a/libpackagekit/pk-package-list.c b/libpackagekit/pk-package-list.c
index 20ba8ef..7c549e3 100644
--- a/libpackagekit/pk-package-list.c
+++ b/libpackagekit/pk-package-list.c
@@ -116,10 +116,10 @@ pk_package_list_get_buffer (PkPackageLis
}
/**
- * pk_package_list_remove_buffer:
+ * pk_package_list_clear:
**/
gboolean
-pk_package_list_remove_buffer (PkPackageList *plist)
+pk_package_list_clear (PkPackageList *plist)
{
PkPackageListItem *item;
@@ -200,7 +200,7 @@ pk_package_list_finalize (GObject *objec
g_return_if_fail (plist->priv != NULL);
/* removed any cached packages */
- pk_package_list_remove_buffer (plist);
+ pk_package_list_clear (plist);
g_ptr_array_free (plist->priv->array, TRUE);
G_OBJECT_CLASS (pk_package_list_parent_class)->finalize (object);
diff --git a/libpackagekit/pk-package-list.h b/libpackagekit/pk-package-list.h
index 5e89ff1..f1f733f 100644
--- a/libpackagekit/pk-package-list.h
+++ b/libpackagekit/pk-package-list.h
@@ -64,7 +64,7 @@ gboolean pk_package_list_contains (PkP
const gchar *package_id);
gchar *pk_package_list_get_string (PkPackageList *plist);
GPtrArray *pk_package_list_get_buffer (PkPackageList *plist);
-gboolean pk_package_list_remove_buffer (PkPackageList *plist);
+gboolean pk_package_list_clear (PkPackageList *plist);
G_END_DECLS
diff-tree d400909022826a8ae2621d735ee71c1cc1ead2e4 (from b73181810bfe2dae0504ef11a107271775aee146)
Author: Ken VanDine <ken at vandine.org>
Date: Fri Oct 5 08:55:33 2007 -0400
Added a blocker to the TODO
diff --git a/TODO b/TODO
index 0e23cf1..294c4e7 100644
--- a/TODO
+++ b/TODO
@@ -5,6 +5,12 @@ Do automatic updates at login time when
* needs gnome-screensaver integration
NOTE: RELEASE BLOCKER
+
+*** pk-update-icon (client) ***
+* When updates are available, the menu for the icon should say "Show updates" instead of "Software Update Viewer"
+* Don't re-run get-updates when selecting "Show updates" from the update icon, just populate it with the previous results.
+NOTE: RELEASE BLOCKER
+
*** Add new callback for status ***
TimeRemaining()
More information about the PackageKit
mailing list