[gnome-software/wip/ubuntu-xenial] Revert "Add shout snap as featured"



commit a394e6f471715d125e4c3a2c4442230469dcfe2b
Author: Iain Lane <iain orangesquash org uk>
Date:   Fri Jun 17 09:24:57 2016 +0100

    Revert "Add shout snap as featured"
    
    This reverts commit fcd5a7f436dbb3c60b7b39b809031f165e030e28.

 data/Makefile.am               |    1 -
 data/featured-shout.svg        |    7 -------
 src/plugins/gs-plugin-snappy.c |   33 ---------------------------------
 3 files changed, 0 insertions(+), 41 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index e2cacf6..4158c3c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -19,7 +19,6 @@ dist_resources_DATA =                                 \
        featured-maps-bg.png        \
        featured-mypaint.png                            \
        featured-polari.svg                             \
-       featured-shout.svg                              \
        featured-transmission.png                       \
        featured-weather.png                            \
        featured-weather-bg.png
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index e6dafea..c0f30b1 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -46,7 +46,6 @@ gs_plugin_order_after (GsPlugin *plugin)
        static const gchar *deps[] = {
                "moduleset",
                "ubuntu-reviews",
-               "hardcoded-featured",
                NULL
        };
 
@@ -531,38 +530,6 @@ gs_plugin_app_remove (GsPlugin *plugin,
 }
 
 gboolean
-gs_plugin_add_featured (GsPlugin *plugin,
-                       GList **list,
-                       GCancellable *cancellable,
-                       GError **error)
-{
-       const gchar *snap = "shout";
-       GsApp *app = gs_app_new (snap);
-       g_autofree gchar *background;
-
-       background = g_strdup_printf ("url('%s/gnome-software/featured-shout.svg') "
-                                     "10%% center / 40%% auto no-repeat, "
-                                     "linear-gradient(to bottom, #455164, #6a7c99)", DATADIR);
-
-       gs_app_set_management_plugin (app, "snappy");
-       gs_app_set_origin (app, _("Ubuntu Snappy Store"));
-       gs_app_set_kind (app, AS_APP_KIND_DESKTOP);
-       gs_app_add_quirk (app, AS_APP_QUIRK_NOT_REVIEWABLE);
-       gs_app_add_quirk (app, AS_APP_QUIRK_NOT_LAUNCHABLE);
-       gs_app_add_kudo (app, GS_APP_KUDO_FEATURED_RECOMMENDED);
-       gs_app_set_metadata (app, "Featured::background", background);
-       gs_app_set_metadata (app, "Featured::stroke-color", "#000000");
-       gs_app_set_metadata (app, "Featured::text-color", "#ffffff");
-       gs_app_set_metadata (app, "Featured::text-shadow", "0 1px 1px rgba(0,0,0,0.5)");
-
-       get_app (plugin, app, NULL);
-       g_list_free_full (*list, g_object_unref);
-       *list = g_list_append (NULL, app);
-
-       return TRUE;
-}
-
-gboolean
 gs_plugin_add_popular (GsPlugin *plugin,
                       GList **list,
                       GCancellable *cancellable,


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