[gnome-software] Only show downloaded packages when getting the update list



commit 5605b785170540548a822848f6bb1a8ad18638a9
Author: Richard Hughes <richard hughsie com>
Date:   Wed Aug 7 12:54:52 2013 +0200

    Only show downloaded packages when getting the update list

 src/plugins/gs-plugin-packagekit.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index 1f6a3ee..c6b2176 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -328,7 +328,9 @@ gs_plugin_add_updates (GsPlugin *plugin,
        gs_plugin_status_update (plugin, NULL, GS_PLUGIN_STATUS_WAITING);
 
        /* do sync call */
-       filter = pk_bitfield_from_enums (PK_FILTER_ENUM_ARCH, -1);
+       filter = pk_bitfield_from_enums (PK_FILTER_ENUM_ARCH,
+                                        PK_FILTER_ENUM_DOWNLOADED,
+                                        -1);
        results = pk_client_get_updates (PK_CLIENT (plugin->priv->task),
                                         filter,
                                         cancellable,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]