aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-prefs.h
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-04-16 19:41:52 +0800
committerXan Lopez <xan@igalia.com>2012-04-16 19:41:52 +0800
commit954fd17d06fe9453c355223d66207b23f359665b (patch)
tree5ea83a71a01a43ef6fdfbd9c2262992b9ca2ddc6 /lib/ephy-prefs.h
parent6ca351051cee2d7528a4c03a5ffb50a230be5327 (diff)
downloadgsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.tar
gsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.tar.gz
gsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.tar.bz2
gsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.tar.lz
gsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.tar.xz
gsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.tar.zst
gsoc2013-epiphany-954fd17d06fe9453c355223d66207b23f359665b.zip
Create a new 'tabs-bar-visibility-policy' setting
We need this to be an enum, since we'll a third option in the future for the Overview (to never show the tabs bar). For now just add the two values we have now and migrate the code and the user data.
Diffstat (limited to 'lib/ephy-prefs.h')
-rw-r--r--lib/ephy-prefs.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index 9c74deb39..a510f657a 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -45,6 +45,12 @@ typedef enum
typedef enum
{
+ EPHY_PREFS_UI_TABS_BAR_VISIBILITY_POLICY_ALWAYS,
+ EPHY_PREFS_UI_TABS_BAR_VISIBILITY_POLICY_MORE_THAN_ONE
+} EphyPrefsUITabsBarVisibilityPolicy;
+
+typedef enum
+{
EPHY_PREFS_WEB_COOKIES_POLICY_ALWAYS,
EPHY_PREFS_WEB_COOKIES_POLICY_NO_THIRD_PARTY,
EPHY_PREFS_WEB_COOKIES_POLICY_NEVER
@@ -60,11 +66,12 @@ typedef enum
EPHY_PREFS_STATE_HISTORY_DATE_FILTER_EVER,
} EphyPrefsStateHistoryDateFilter;
-#define EPHY_PREFS_UI_SCHEMA "org.gnome.Epiphany.ui"
-#define EPHY_PREFS_UI_ALWAYS_SHOW_TABS_BAR "always-show-tabs-bar"
-#define EPHY_PREFS_UI_SHOW_TOOLBARS "show-toolbars"
-#define EPHY_PREFS_UI_TOOLBAR_STYLE "toolbar-style"
-#define EPHY_PREFS_UI_DOWNLOADS_HIDDEN "downloads-hidden"
+#define EPHY_PREFS_UI_SCHEMA "org.gnome.Epiphany.ui"
+#define EPHY_PREFS_UI_ALWAYS_SHOW_TABS_BAR "always-show-tabs-bar"
+#define EPHY_PREFS_UI_SHOW_TOOLBARS "show-toolbars"
+#define EPHY_PREFS_UI_TOOLBAR_STYLE "toolbar-style"
+#define EPHY_PREFS_UI_DOWNLOADS_HIDDEN "downloads-hidden"
+#define EPHY_PREFS_UI_TABS_BAR_VISIBILITY_POLICY "tabs-bar-visibility-policy"
#define EPHY_PREFS_STATE_SCHEMA "org.gnome.Epiphany.state"
#define EPHY_PREFS_STATE_SAVE_DIR "save-dir"