aboutsummaryrefslogtreecommitdiffstats
path: root/data
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 /data
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 'data')
-rw-r--r--data/org.gnome.epiphany.gschema.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 3ceee4047..69386bdf1 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -77,14 +77,19 @@
</key>
<key type="b" name="always-show-tabs-bar">
<default>false</default>
- <summary>Always show the tab bar</summary>
- <description>Show the tab bar also when there is only one tab open.</description>
+ <summary>[Deprecated]</summary>
+ <description>[Deprecated] This setting is deprecated, use 'tabs-bar-visibility-policy' instead.</description>
</key>
<key type="b" name="downloads-hidden">
<default>false</default>
<summary>Visibility of the downloads window</summary>
<description>Hide or show the downloads window. When hidden, a notification will be shown when new downloads are started.</description>
</key>
+ <key name="tabs-bar-visibility-policy" enum="org.gnome.Epiphany.EphyPrefsUITabsBarVisibilityPolicy">
+ <default>'more-than-one'</default>
+ <summary>The visibility policy for the tabs bar.</summary>
+ <description>Controls when the tabs bar is shown. Possible values are 'always' (the tabs bar is always shown) and 'more-than-one' (the tabs bar is only shown if there's two or more tabs).</description>
+ </key>
</schema>
<schema path="/org/gnome/epiphany/web/" id="org.gnome.Epiphany.web">
<key type="i" name="min-font-size">