Files
evolution/shell/apps_evolution_shell.schemas
Ettore Perazzoli d40faeb22e New member "component_alias". (component_view_new): Get a new "alias" arg,
* e-shell-window.c (struct _ComponentView): New member
"component_alias".
(component_view_new): Get a new "alias" arg, set the member in the
struct accordingly.
(component_view_free): Free ->component_alias.
(setup_widgets): Pass the alias from the ComponentInfo to
e_component_view().
(switch_view): New utility function.
(sidebar_button_selected_callback): Use it.
(e_shell_window_switch_to_component): New public function.
(e_shell_window_new): Switch to the component whose id is in the
/apps/evolution/shell/view_defaults/component_id GConf key.

* apps_evolution_shell.schemas: Removed view_defaults/folder_path.
New key view_defaults/component_id.

* e-component-registry.c (component_info_free): Free ->alias.
(component_info_new): Get an "alias" arg and set the member
accordingly.
(query_components): Remove debugging messages.  Get an
"evolution:component_alias" property from the component and set
the alias from that.

* e-component-registry.h (struct _EComponentInfo): New member
"alias".

svn path=/trunk/; revision=23265
2003-11-10 21:21:47 +00:00

254 lines
7.7 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>
<!-- Default mail folder -->
<schema>
<key>/schemas/apps/evolution/shell/default_folders/mail_path</key>
<applyto>/apps/evolution/shell/default_folders/mail_path</applyto>
<owner>evolution</owner>
<type>string</type>
<default>evolution:/local/Inbox</default>
<locale name="C">
<short>Path to the default mail folder</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/default_folders/mail_uri</key>
<applyto>/apps/evolution/shell/default_folders/mail_uri</applyto>
<owner>evolution</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Physical URI to the default mail folder</short>
</locale>
</schema>
<!-- Default contacts folder -->
<schema>
<key>/schemas/apps/evolution/shell/default_folders/contacts_path</key>
<applyto>/apps/evolution/shell/default_folders/contacts_path</applyto>
<owner>evolution</owner>
<type>string</type>
<default>evolution:/local/Contacts</default>
<locale name="C">
<short>Path to the default contacts folder</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/default_folders/contacts_uri</key>
<applyto>/apps/evolution/shell/default_folders/contacts_uri</applyto>
<owner>evolution</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Physical URI to the default contacts folder</short>
</locale>
</schema>
<!-- Default calendar folder -->
<schema>
<key>/schemas/apps/evolution/shell/default_folders/calendar_path</key>
<applyto>/apps/evolution/shell/default_folders/calendar_path</applyto>
<owner>evolution</owner>
<type>string</type>
<default>evolution:/local/Calendar</default>
<locale name="C">
<short>Path to the default calendar folder</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/default_folders/calendar_uri</key>
<applyto>/apps/evolution/shell/default_folders/calendar_uri</applyto>
<owner>evolution</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Physical URI to the default calendar folder</short>
</locale>
</schema>
<!-- Default tasks folder -->
<schema>
<key>/schemas/apps/evolution/shell/default_folders/tasks_path</key>
<applyto>/apps/evolution/shell/default_folders/tasks_path</applyto>
<owner>evolution</owner>
<type>string</type>
<default>evolution:/local/Tasks</default>
<locale name="C">
<short>Path to the default tasks folder</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/default_folders/tasks_uri</key>
<applyto>/apps/evolution/shell/default_folders/tasks_uri</applyto>
<owner>evolution</owner>
<type>string</type>
<default></default>
<locale name="C">
<short>Physical URI to the default tasks folder</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>
<locale name="C">
<default>480</default>
<short>Default window height</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/view_defaults/selected_shortcut_group</key>
<applyto>/apps/evolution/shell/view_defaults/selected_shortcut_group</applyto>
<owner>evolution</owner>
<type>int</type>
<default>0</default>
<locale name="C">
<short>Default shortcut group</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/view_defaults/show_folder_bar</key>
<applyto>/apps/evolution/shell/view_defaults/show_folder_bar</applyto>
<owner>evolution</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Whether to show the folder bar</short>
</locale>
</schema>
<schema>
<key>/schemas/apps/evolution/shell/view_defaults/show_shortcut_bar</key>
<applyto>/apps/evolution/shell/view_defaults/show_shortcut_bar</applyto>
<owner>evolution</owner>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Whether to show the shortcut bar</short>
</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>
<locale name="C">
<default>mail</default>
<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>
<!-- Shortcut bar -->
<schema>
<key>/schemas/apps/evolution/shell/view_defaults/shortcut_bar/width</key>
<applyto>/apps/evolution/shell/view_defaults/shortcut_bar/width</applyto>
<owner>evolution</owner>
<type>int</type>
<default>100</default>
<locale name="C">
<short>Default width of the shortcut bar pane</short>
</locale>
</schema>
</schemalist>
</gconfschemafile>