[gnome-software] fwupd: Do not show the Vendor directory remote in the sources list



commit 4b6f8119284d9ce0e507da1b753245c6264ee75a
Author: Richard Hughes <richard hughsie com>
Date:   Thu Mar 21 10:07:40 2019 +0000

    fwupd: Do not show the Vendor directory remote in the sources list
    
    Switch this around from a blacklist to a whitelist as there is now a new
    enumerated type we don't want to show.

 plugins/fwupd/gs-plugin-fwupd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/fwupd/gs-plugin-fwupd.c b/plugins/fwupd/gs-plugin-fwupd.c
index b8750d03..071471b2 100644
--- a/plugins/fwupd/gs-plugin-fwupd.c
+++ b/plugins/fwupd/gs-plugin-fwupd.c
@@ -1014,7 +1014,7 @@ gs_plugin_add_sources (GsPlugin *plugin,
                g_autoptr(GsApp) app = NULL;
 
                /* ignore these, they're built in */
-               if (fwupd_remote_get_kind (remote) == FWUPD_REMOTE_KIND_LOCAL)
+               if (fwupd_remote_get_kind (remote) != FWUPD_REMOTE_KIND_DOWNLOAD)
                        continue;
 
                /* create something that we can use to enable/disable */


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