diff options
author | Alexander Mikhaylenko <exalm7659@gmail.com> | 2020-09-25 15:31:11 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2020-09-25 17:20:22 +0500 |
commit | e6b7c0cc8410068ea9542f7ad6ea1f4ac608a9d3 (patch) | |
tree | d83036b834aa306fc96d439a71539a0698a854ec /lib/ephy-prefs.h | |
parent | 6c849b7e801a98cb59131404671469e7d9a67e69 (diff) | |
download | epiphany-e6b7c0cc8410068ea9542f7ad6ea1f4ac608a9d3.tar.gz |
Hide web app preferences for system apps
Since system web apps have desktop file in /usr, they cannot be edited and
the preferences do nothing.
Introduce EPHY_WEB_APPLICATION_SYSTEM option, set it for any applications
created via ephy_web_application_ensure_for_app_info(). Hide preferences
for those apps.
Diffstat (limited to 'lib/ephy-prefs.h')
-rw-r--r-- | lib/ephy-prefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h index d42344190..6158df1e0 100644 --- a/lib/ephy-prefs.h +++ b/lib/ephy-prefs.h @@ -198,6 +198,7 @@ static const char * const ephy_prefs_web_schema[] = { #define EPHY_PREFS_WEB_APP_ADDITIONAL_URLS "additional-urls" #define EPHY_PREFS_WEB_APP_MOBILE_CAPABLE "mobile-capable" #define EPHY_PREFS_WEB_APP_RUN_IN_BACKGROUND "run-in-background" +#define EPHY_PREFS_WEB_APP_SYSTEM "system" static struct { const char *schema; |