[gnome-software] Always set up the xdg-app action state



commit 2dd67b57ced007058f52345b525a2dc59dbabbdb
Author: Richard Hughes <richard hughsie com>
Date:   Tue Feb 2 12:33:41 2016 +0000

    Always set up the xdg-app action state

 src/plugins/gs-plugin-xdg-app.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-xdg-app.c b/src/plugins/gs-plugin-xdg-app.c
index 55bf23c..47649df 100644
--- a/src/plugins/gs-plugin-xdg-app.c
+++ b/src/plugins/gs-plugin-xdg-app.c
@@ -778,10 +778,8 @@ gs_plugin_refine_item (GsPlugin *plugin,
                                  gs_app_get_id (app));
 
        /* check if this desktop ID can be handled by the plugin */
-       if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_SETUP_ACTION) {
-               if (!gs_plugin_refine_item_action (plugin, app, cancellable, error))
-                       return FALSE;
-       }
+       if (!gs_plugin_refine_item_action (plugin, app, cancellable, error))
+               return FALSE;
 
        /* size */
        if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE) {


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