2005-01-04 JP Rosevear <jpr@novell.com> * e-sidebar.h: new protos, modes * e-sidebar.c: handle 2 more modes, text only and toolbar style; allow visibility to be set for the buttons * e-shell-window.h: new proto * e-shell-window.c (setup_widgets): set the sidebar setting and visibility based on stored gconf settings (e_shell_window_save_defaults): save the current sidebar setting visibility (e_shell_window_peek_sidebar): return the sidebar * e-shell-window-commands.c (e_shell_window_commands_setup): add listeners for each of the component button radio items and for the hide toggle (view_buttons_icontext_item_toggled_handler): listener callback, set mode (view_buttons_icon_item_toggled_handler): ditto (view_buttons_text_item_toggled_handler): ditto (view_buttons_toolbar_item_toggled_handler): ditto (view_buttons_hide_item_toggled_handler): listener callback, set visibility * apps_evolution_shell.schemas.in.in: add component button style and visibility defaults svn path=/trunk/; revision=28239
160 lines
4.9 KiB
Plaintext
160 lines
4.9 KiB
Plaintext
<gconfschemafile>
|
|
<schemalist>
|
|
|
|
<!-- Evolution config version -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/version</key>
|
|
<applyto>/apps/evolution/version</applyto>
|
|
<owner>evolution</owner>
|
|
<type>string</type>
|
|
<locale name="C">
|
|
<short>Evolution configuration version</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- last upgraded-from version, if still present -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/last_version</key>
|
|
<applyto>/apps/evolution/last_version</applyto>
|
|
<owner>evolution</owner>
|
|
<type>string</type>
|
|
<locale name="C">
|
|
<short>Last upgraded Evolution configuration version</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Development warning dialog -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/skip_warning_dialog</key>
|
|
<applyto>/apps/evolution/shell/skip_warning_dialog</applyto>
|
|
<owner>evolution</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Whether to skip the development warning dialog</short>
|
|
<long>
|
|
If set to true, the warning dialog in development versions
|
|
of Evolution is not displayed.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Offline Mode -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/start_offline</key>
|
|
<applyto>/apps/evolution/shell/start_offline</applyto>
|
|
<owner>evolution</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Whether Evolution should start up in offline mode</short>
|
|
<long>
|
|
If set to true, Evolution will start up in offline mode
|
|
instead of online mode.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/offline/folder_paths</key>
|
|
<applyto>/apps/evolution/shell/offline/folder_paths</applyto>
|
|
<owner>evolution</owner>
|
|
<type>list</type>
|
|
<list_type>string</list_type>
|
|
<default>[]</default>
|
|
<locale name="C">
|
|
<short>List of paths for the folders to be synchronized to disk for offline usage</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- View defaults -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/width</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/width</applyto>
|
|
<owner>evolution</owner>
|
|
<type>int</type>
|
|
<default>640</default>
|
|
<locale name="C">
|
|
<short>Default window width</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/height</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/height</applyto>
|
|
<owner>evolution</owner>
|
|
<type>int</type>
|
|
<default>480</default>
|
|
<locale name="C">
|
|
<short>Default window height</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/buttons_visible</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/buttons_visible</applyto>
|
|
<owner>evolution</owner>
|
|
<type>bool</type>
|
|
<default>TRUE</default>
|
|
<locale name="C">
|
|
<short>Buttons are visible</short>
|
|
<long>Whether the buttons should be visible.</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/buttons_style</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/buttons_style</applyto>
|
|
<owner>evolution</owner>
|
|
<type>string</type>
|
|
<default>toolbar</default>
|
|
<locale name="C">
|
|
<short>Button style</short>
|
|
<long>The style of the displayed buttons. Can be text, icons, both, toolbar. If toolbar is set, the style of the toolbar is followed as determined by the GNOME setting.</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/toolbar_visible</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/toolbar_visible</applyto>
|
|
<owner>evolution</owner>
|
|
<type>bool</type>
|
|
<default>TRUE</default>
|
|
<locale name="C">
|
|
<short>Toolbar is visible</short>
|
|
<long>Whether the toolbar should be visible.</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/component_id</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/component_id</applyto>
|
|
<owner>evolution</owner>
|
|
<type>string</type>
|
|
<default>mail</default>
|
|
<locale name="C">
|
|
<short>ID or alias of the component to be shown by default at start-up.</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Folder bar -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/evolution/shell/view_defaults/folder_bar/width</key>
|
|
<applyto>/apps/evolution/shell/view_defaults/folder_bar/width</applyto>
|
|
<owner>evolution</owner>
|
|
<type>int</type>
|
|
<default>200</default>
|
|
<locale name="C">
|
|
<short>Default width of the folder bar pane</short>
|
|
</locale>
|
|
</schema>
|
|
|
|
</schemalist>
|
|
</gconfschemafile>
|