[epiphany/wip/sync-rebase: 17/86] ephy-sync: Add GSettings key for the user email



commit abcb10f967b019522f67ccad21fbee9c12a189cd
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Wed Jun 22 17:27:29 2016 +0300

    ephy-sync: Add GSettings key for the user email

 data/org.gnome.epiphany.gschema.xml |    5 +++++
 lib/ephy-prefs.h                    |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 086366f..db77a1c 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -77,6 +77,11 @@
                         <description>This option sets a limit to the number of web processes that will be 
used at the same time for the 'one-secondary-process-per-web-view' model. The default value is '0' and means 
no limit.</description>
 
                 </key>
+               <key type="s" name="sync-user">
+                       <default>''</default>
+                       <summary>The sync user currently logged in</summary>
+                       <description>The email linked to the Firefox Account used to sync data with Mozilla's 
servers.</description>
+               </key>
        </schema>
        <schema path="/org/gnome/epiphany/ui/" id="org.gnome.Epiphany.ui">
                <key type="b" name="always-show-tabs-bar">
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index 5ac7ed9..cae64b5 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -110,6 +110,7 @@ typedef enum
 #define EPHY_PREFS_RESTORE_SESSION_DELAYING_LOADS "restore-session-delaying-loads"
 #define EPHY_PREFS_PROCESS_MODEL                  "process-model"
 #define EPHY_PREFS_MAX_PROCESSES                  "max-processes"
+#define EPHY_PREFS_SYNC_USER                      "sync-user"
 
 #define EPHY_PREFS_LOCKDOWN_SCHEMA            "org.gnome.Epiphany.lockdown"
 #define EPHY_PREFS_LOCKDOWN_FULLSCREEN        "disable-fullscreen"


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