[gnome-software] Tweak the priorities so the pkgname->app_id is done before the rating lookup



commit 386fe6e5c955c31e6a138a499d4f297ace417404
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 19 09:44:19 2013 +0000

    Tweak the priorities so the pkgname->app_id is done before the rating lookup
    
    The local ratings plugin uses the application ID, rather than the package name
    to look up the user-set rating.

 src/plugins/gs-plugin-fedora-tagger.c |    2 +-
 src/plugins/gs-plugin-local-ratings.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fedora-tagger.c b/src/plugins/gs-plugin-fedora-tagger.c
index 7cb88d9..28ca0a5 100644
--- a/src/plugins/gs-plugin-fedora-tagger.c
+++ b/src/plugins/gs-plugin-fedora-tagger.c
@@ -97,7 +97,7 @@ out:
 gdouble
 gs_plugin_get_priority (GsPlugin *plugin)
 {
-       return 1.0f;
+       return 1.2f;
 }
 
 /**
diff --git a/src/plugins/gs-plugin-local-ratings.c b/src/plugins/gs-plugin-local-ratings.c
index 1c677c0..be631ef 100644
--- a/src/plugins/gs-plugin-local-ratings.c
+++ b/src/plugins/gs-plugin-local-ratings.c
@@ -64,7 +64,7 @@ gs_plugin_initialize (GsPlugin *plugin)
 gdouble
 gs_plugin_get_priority (GsPlugin *plugin)
 {
-       return -100.0f;
+       return 1.1f;
 }
 
 /**


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