[epiphany/wip/ephy-sync: 5/48] ephy-sync: Add GSettings key for the user email
- From: Gabriel - Cristian Ivascu <gabrielivascu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/ephy-sync: 5/48] ephy-sync: Add GSettings key for the user email
- Date: Sat, 20 Aug 2016 17:03:47 +0000 (UTC)
commit cb11825d25d97625fbbcb615073bb4804d117485
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 3f9e6a9..80bee0a 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 f6d61c2..2911b11 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -111,6 +111,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]