[gnome-software] Actually show long descriptions when GNOME_SOFTWARE_USE_PKG_DESCRIPTIONS is set



commit 83d6a79f86c4b05ffd02cb3ab4bfd27acf4f642a
Author: Richard Hughes <richard hughsie com>
Date:   Wed Mar 26 14:20:30 2014 +0000

    Actually show long descriptions when GNOME_SOFTWARE_USE_PKG_DESCRIPTIONS is set
    
    Fix a typo that meant you could not have a high quality summary and a low
    quality description.

 src/gs-app.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index b4915a2..dd2c29b 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -1070,9 +1070,9 @@ gs_app_set_description (GsApp *app, GsAppQuality quality, const gchar *descripti
        g_return_if_fail (GS_IS_APP (app));
 
        /* only save this if the data is sufficiently high quality */
-       if (quality < app->priv->summary_quality)
+       if (quality < app->priv->description_quality)
                return;
-       app->priv->summary_quality = quality;
+       app->priv->description_quality = quality;
 
        g_free (app->priv->description);
        app->priv->description = g_strdup (description);


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