[gnome-software] trivial: Do not mark themes as runtimes



commit 1b70ddc70b11b319abc12b6781fb2011ec655ccf
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 4 18:12:28 2017 +0100

    trivial: Do not mark themes as runtimes

 plugins/flatpak/gs-flatpak.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index c6dd8e4..418cfdb 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -153,7 +153,9 @@ gs_flatpak_set_metadata (GsFlatpak *self, GsApp *app, FlatpakRef *xref)
                if (g_str_has_suffix (id, ".Locale")) {
                        gs_app_set_kind (app, AS_APP_KIND_LOCALIZATION);
                } else if (g_str_has_suffix (id, ".Debug") ||
-                          g_str_has_suffix (id, ".Sources")) {
+                          g_str_has_suffix (id, ".Sources") ||
+                          g_str_has_prefix (id, "org.freedesktop.Platform.Icontheme.") ||
+                          g_str_has_prefix (id, "org.gtk.Gtk3theme.")) {
                        gs_app_set_kind (app, AS_APP_KIND_GENERIC);
                } else {
                        gs_app_set_kind (app, AS_APP_KIND_RUNTIME);


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