[evolution/wip/gsettings: 2/2] Migrate all shell schemas to GSettings



commit 8dc246eb61e3034914d8722bd834d5e0130997ba
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Mon Nov 1 14:16:48 2010 +0100

    Migrate all shell schemas to GSettings

 data/evolution.convert                 |   11 ++++++
 data/org.gnome.evolution.schema.xml.in |   55 ++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/data/evolution.convert b/data/evolution.convert
index da4b1e4..7eae59d 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 8a76534..ab13162 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>



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