[gnome-packagekit] Use the newest filter by default in the update viewer. Fixes rh#508505
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Use the newest filter by default in the update viewer. Fixes rh#508505
- Date: Tue, 30 Jun 2009 13:52:49 +0000 (UTC)
commit 44c64970a1c6ee1ad832a35549b34bfbaa73633a
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 30 12:33:15 2009 +0100
Use the newest filter by default in the update viewer. Fixes rh#508505
src/gpk-update-viewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 5c654bb..8e854dd 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -2333,7 +2333,7 @@ gpk_update_viewer_get_new_update_list (void)
}
/* get new list */
- ret = pk_client_get_updates (client_primary, PK_FILTER_ENUM_NONE, &error);
+ ret = pk_client_get_updates (client_primary, pk_bitfield_from_enums (PK_FILTER_ENUM_NEWEST, -1), &error);
if (!ret) {
egg_warning ("Failed to get updates: %s", error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]