aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2010-11-01 21:16:48 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-01 21:16:48 +0800
commit8dc246eb61e3034914d8722bd834d5e0130997ba (patch)
treea45d1a03d322f3b0df9dc148c1a2c5b0d5e590bf
parent748368460cbf26983a3f0cd9ce6159557b962eb9 (diff)
downloadgsoc2013-evolution-8dc246eb61e3034914d8722bd834d5e0130997ba.tar.gz
gsoc2013-evolution-8dc246eb61e3034914d8722bd834d5e0130997ba.tar.zst
gsoc2013-evolution-8dc246eb61e3034914d8722bd834d5e0130997ba.zip
Migrate all shell schemas to GSettings
-rw-r--r--data/evolution.convert11
-rw-r--r--data/org.gnome.evolution.schema.xml.in55
2 files changed, 66 insertions, 0 deletions
diff --git a/data/evolution.convert b/data/evolution.convert
index da4b1e405b..7eae59d717 100644
--- a/data/evolution.convert
+++ b/data/evolution.convert
@@ -10,3 +10,14 @@ start-offline = /apps/evolution/shell/start_offline
folder-paths = /apps/evolution/shell/offline/folder_paths
express-mode = /apps/evolution/shell/express_mode
window-y = /apps/evolution/shell/view_defaults/window_y
+window-x = /apps/evolution/shell/view_defaults/window_x
+window-width = /apps/evolution/shell/view_defaults/window_width
+window-height = /apps/evolution/shell/view_defaults/window_height
+window-maximized = /apps/evolution/shell/view_defaults/window_maximized
+buttons-visible = /apps/evolution/shell/view_defaults/buttons_visible
+buttons-style = /apps/evolution/shell/view_defaults/buttons_style
+toolbar-visible = /apps/evolution/shell/view_defaults/toolbar_visible
+sidebar-visible = /apps/evolution/shell/view_defaults/sidebar_visible
+statusbar-visible = /apps/evolution/shell/view_defaults/statusbar_visible
+default-component-id = /apps/evolution/shell/view_defaults/component_id
+folder-bar-width = /apps/evolution/shell/view_defaults/folder_bar/width
diff --git a/data/org.gnome.evolution.schema.xml.in b/data/org.gnome.evolution.schema.xml.in
index 8a7653454c..ab1316289d 100644
--- a/data/org.gnome.evolution.schema.xml.in
+++ b/data/org.gnome.evolution.schema.xml.in
@@ -48,5 +48,60 @@
<_summary>Default window Y coordinate</_summary>
<_description>The default Y coordinate for the main window.</_description>
</key>
+ <key name="window-x" type="i">
+ <default></default>
+ <_summary>Default window X coordinate</_summary>
+ <_description>The default X coordinate for the main window.</_description>
+ </key>
+ <key name="window-width" type="i">
+ <default>640</default>
+ <_summary>Default window width</_summary>
+ <_description>The default width for the main window, in pixels.</_description>
+ </key>
+ <key name="window-height" type="i">
+ <default>480</default>
+ <_summary>Default window height</_summary>
+ <_description>The default height for the main window, in pixels.</_description>
+ </key>
+ <key name="window-maximized" type="b">
+ <default>true</default>
+ <_summary>Default window state</_summary>
+ <_description>Whether or not the window should be maximized.</_description>
+ </key>
+ <key name="buttons-visible" type="b">
+ <default>true</default>
+ <_summary>Window buttons are visible</_summary>
+ <_description>Whether the window buttons should be visible.</_description>
+ </key>
+ <key name="buttons-style" type="s">
+ <default>toolbar</default>
+ <_summary>Window button style</_summary>
+ <_description>The style of the window buttons. Can be "text", "icons", "both", "toolbar". If "toolbar" is set, the style of the buttons is determined by the GNOME toolbar setting.</_description>
+ </key>
+ <key name="toolbar-visible" type="b">
+ <default>true</default>
+ <_summary>Toolbar is visible</_summary>
+ <_description>Whether the toolbar should be visible.</_description>
+ </key>
+ <key name="sidebar-visible" type="b">
+ <default>true</default>
+ <_summary>Sidebar is visible</_summary>
+ <_description>Whether the sidebar should be visible.</_description>
+ </key>
+ <key name="statusbar-visible" type="b">
+ <default>TRUE</default>
+ <_summary>Statusbar is visible</_summary>
+ <_description>Whether the status bar should be visible.</_description>
+ </key>
+ <key name="default-component-id" type="s">
+ <default>mail</default>
+ <_summary>ID or alias of the component to be shown by default at start-up.</_summary>
+ <_description>ID or alias of the component to be shown by default at start-up.</_description>
+ </key>
+ <key name="folder-bar-width" type="i">
+ <default>200</default>
+ <_summary>Default sidebar width</_summary>
+ <_description>The default width for the sidebar, in pixels.</_description>
+ </key>
</schema>
</schemalist>