[gnome-software] Run the local ratings plugin before the hardcoded one



commit f184ad4aa95dba4155ed033d2081735462da62b0
Author: Richard Hughes <richard hughsie com>
Date:   Thu Oct 10 16:38:41 2013 +0100

    Run the local ratings plugin before the hardcoded one
    
    If the user has already set a rating, use that rather than the canned value.

 src/plugins/gs-plugin-hardcoded-ratings.c |    2 +-
 src/plugins/gs-plugin-local-ratings.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-hardcoded-ratings.c b/src/plugins/gs-plugin-hardcoded-ratings.c
index e342745..7f93d9b 100644
--- a/src/plugins/gs-plugin-hardcoded-ratings.c
+++ b/src/plugins/gs-plugin-hardcoded-ratings.c
@@ -58,7 +58,7 @@ gs_plugin_initialize (GsPlugin *plugin)
 gdouble
 gs_plugin_get_priority (GsPlugin *plugin)
 {
-       return -100.0f;
+       return -99.0f;
 }
 
 /**
diff --git a/src/plugins/gs-plugin-local-ratings.c b/src/plugins/gs-plugin-local-ratings.c
index d035fa0..b56202b 100644
--- a/src/plugins/gs-plugin-local-ratings.c
+++ b/src/plugins/gs-plugin-local-ratings.c
@@ -79,7 +79,7 @@ gs_plugin_initialize (GsPlugin *plugin)
 gdouble
 gs_plugin_get_priority (GsPlugin *plugin)
 {
-       return -99.0f;
+       return -100.0f;
 }
 
 /**


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