diff options
author | Kalev Lember <klember@redhat.com> | 2017-01-16 13:31:59 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-01-17 10:36:20 +0000 |
commit | b8e39ee85566a46ea33a9980ceb3b9b501a3b60a (patch) | |
tree | b10b418ab65069b7e140c57b9f95b670cd941866 | |
parent | c921d4f87130be8cb331dcf635fa32a74404102d (diff) | |
download | appstream-glib-b8e39ee85566a46ea33a9980ceb3b9b501a3b60a.tar.gz |
Tighten a rule that classifies apps as web-apps
... so that Epiphany itself wouldn't get classified as one.
https://bugzilla.gnome.org/show_bug.cgi?id=776860
-rw-r--r-- | libappstream-glib/as-app-desktop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-app-desktop.c b/libappstream-glib/as-app-desktop.c index c668fab..f1192e2 100644 --- a/libappstream-glib/as-app-desktop.c +++ b/libappstream-glib/as-app-desktop.c @@ -467,7 +467,7 @@ as_app_parse_desktop_file (AsApp *app, G_KEY_FILE_DESKTOP_KEY_EXEC, NULL); if (exec != NULL) { - if (g_str_has_prefix (exec, "epiphany")) + if (g_str_has_prefix (exec, "epiphany --application-mode")) as_app_set_kind (app, AS_APP_KIND_WEB_APP); } } |