[epiphany/wip/exalm/webapps-form-factors] web-app-utils: List compatible form factors




commit 20376503922be031253e28b6f3dc4fb14230f3f3
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Nov 5 12:42:07 2020 +0500

    web-app-utils: List compatible form factors
    
    Same as https://gitlab.gnome.org/GNOME/epiphany/-/commit/c8bc8d56a111ea8b49bfb46a8c69d12266836346,
    but for web apps.

 lib/ephy-web-app-utils.c | 3 +++
 1 file changed, 3 insertions(+)
---
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);


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