[epiphany/mcatanzaro/cookies-prefs: 4/8] Move enable-itp setting in gschema



commit a0e83070ea6c32ac9d5d4a35fb016593eed48974
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Jul 19 10:51:03 2020 -0500

    Move enable-itp setting in gschema
    
    This was inserted between enable-safe-browsing and gsb-api-key, which
    should be kept together, so move it down a bit.

 data/org.gnome.epiphany.gschema.xml | 10 +++++-----
 lib/ephy-prefs.h                    |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index fba022bd6..71ff97b4b 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -186,16 +186,16 @@
                        <summary>Enable safe browsing</summary>
                        <description>Whether to enable safe browsing. Safe browsing operates via Google Safe 
Browsing API v4.</description>
                </key>
-               <key type="b" name="enable-itp">
-                       <default>true</default>
-                       <summary>Enable Intelligent Tracking Prevention (ITP)</summary>
-                       <description>Whether to enable Intelligent Tracking Prevention.</description>
-               </key>
                <key type="s" name="gsb-api-key">
                        <default>'AIzaSyAtuURrRblYXvwCyDC5ZFq0mEw1x4VN6KA'</default>
                        <summary>Google Safe Browsing API key</summary>
                        <description>The API key used to access the Google Safe Browsing API v4.</description>
                </key>
+               <key type="b" name="enable-itp">
+                       <default>true</default>
+                       <summary>Enable Intelligent Tracking Prevention (ITP)</summary>
+                       <description>Whether to enable Intelligent Tracking Prevention.</description>
+               </key>
                <key type="d" name="default-zoom-level">
                        <default>1.0</default>
                        <summary>Default zoom level for new pages</summary>
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index ba0654904..5def16c39 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -107,8 +107,8 @@ static const char * const ephy_prefs_state_schema[] = {
 #define EPHY_PREFS_WEB_REMEMBER_PASSWORDS           "remember-passwords"
 #define EPHY_PREFS_WEB_ENABLE_SITE_SPECIFIC_QUIRKS  "enable-site-specific-quirks"
 #define EPHY_PREFS_WEB_ENABLE_SAFE_BROWSING         "enable-safe-browsing"
-#define EPHY_PREFS_WEB_ENABLE_ITP                   "enable-itp"
 #define EPHY_PREFS_WEB_GSB_API_KEY                  "gsb-api-key"
+#define EPHY_PREFS_WEB_ENABLE_ITP                   "enable-itp"
 #define EPHY_PREFS_WEB_DEFAULT_ZOOM_LEVEL           "default-zoom-level"
 #define EPHY_PREFS_WEB_ENABLE_AUTOSEARCH            "enable-autosearch"
 #define EPHY_PREFS_WEB_ENABLE_MOUSE_GESTURES        "enable-mouse-gestures"
@@ -136,8 +136,8 @@ static const char * const ephy_prefs_web_schema[] = {
   EPHY_PREFS_WEB_REMEMBER_PASSWORDS,
   EPHY_PREFS_WEB_ENABLE_SITE_SPECIFIC_QUIRKS,
   EPHY_PREFS_WEB_ENABLE_SAFE_BROWSING,
-  EPHY_PREFS_WEB_ENABLE_ITP,
   EPHY_PREFS_WEB_GSB_API_KEY,
+  EPHY_PREFS_WEB_ENABLE_ITP,
   EPHY_PREFS_WEB_DEFAULT_ZOOM_LEVEL,
   EPHY_PREFS_WEB_ENABLE_AUTOSEARCH,
   EPHY_PREFS_WEB_ENABLE_MOUSE_GESTURES,


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