[gnome-software] trivial: Do not mark themes as runtimes
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Do not mark themes as runtimes
- Date: Tue, 4 Jul 2017 17:17:27 +0000 (UTC)
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]