diff options
author | Kalev Lember <klember@redhat.com> | 2017-01-16 13:31:59 +0100 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2017-01-16 13:31:59 +0100 |
commit | ab04101afcdf8b2cd69c2d3b8e80361b99f00044 (patch) | |
tree | b733608091d19ec1129b71b67f61ab087eedd645 | |
parent | 61476de09a4af54f135cee0d8e259ee5152422a2 (diff) | |
download | appstream-glib-ab04101afcdf8b2cd69c2d3b8e80361b99f00044.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 42e6132..d769539 100644 --- a/libappstream-glib/as-app-desktop.c +++ b/libappstream-glib/as-app-desktop.c @@ -497,7 +497,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); } } |