diff options
author | Alexander Mikhaylenko <exalm7659@gmail.com> | 2020-11-05 12:42:07 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <exalm7659@gmail.com> | 2020-11-05 12:42:07 +0500 |
commit | 20376503922be031253e28b6f3dc4fb14230f3f3 (patch) | |
tree | e1f2c2bc9a3f1d69dabd63cb87261837ded8d1e9 | |
parent | c8bc8d56a111ea8b49bfb46a8c69d12266836346 (diff) | |
download | epiphany-20376503922be031253e28b6f3dc4fb14230f3f3.tar.gz |
web-app-utils: List compatible form factorswip/exalm/webapps-form-factors
Same as https://gitlab.gnome.org/GNOME/epiphany/-/commit/c8bc8d56a111ea8b49bfb46a8c69d12266836346,
but for web apps.
-rw-r--r-- | lib/ephy-web-app-utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c index d89bdca58..48997774f 100644 --- a/lib/ephy-web-app-utils.c +++ b/lib/ephy-web-app-utils.c @@ -326,6 +326,9 @@ create_desktop_file (const char *id, wm_class = g_strconcat (EPHY_WEB_APP_PROGRAM_NAME_PREFIX, id, NULL); g_key_file_set_value (file, "Desktop Entry", "StartupWMClass", wm_class); g_free (wm_class); + + g_key_file_set_value (file, "Desktop Entry", "X-Purism-FormFactor", "Workstation;Mobile;"); + data = g_key_file_to_data (file, NULL, NULL); desktop_file_path = g_build_filename (profile_dir, filename, NULL); |