diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-11 05:21:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-11 05:21:47 +0800 |
commit | d40faeb22e27c8df9e8d626fcbea2efe1741d768 (patch) | |
tree | 509778f727256a431a87dd2f420e2f6d53ed7b94 /shell/apps_evolution_shell.schemas | |
parent | 8648d27d3a1d02fe76e639f521241eae8fed679d (diff) | |
download | gsoc2013-evolution-d40faeb22e27c8df9e8d626fcbea2efe1741d768.tar.gz gsoc2013-evolution-d40faeb22e27c8df9e8d626fcbea2efe1741d768.tar.zst gsoc2013-evolution-d40faeb22e27c8df9e8d626fcbea2efe1741d768.zip |
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
Diffstat (limited to 'shell/apps_evolution_shell.schemas')
-rw-r--r-- | shell/apps_evolution_shell.schemas | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/apps_evolution_shell.schemas b/shell/apps_evolution_shell.schemas index d8ad7802d7..e58974edd2 100644 --- a/shell/apps_evolution_shell.schemas +++ b/shell/apps_evolution_shell.schemas @@ -213,13 +213,13 @@ </schema> <schema> - <key>/schemas/apps/evolution/shell/view_defaults/folder_path</key> - <applyto>/apps/evolution/shell/view_defaults/folder_path</applyto> + <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>/Summary</default> - <short>Path to the folder to be displayed by default</short> + <default>mail</default> + <short>ID or alias of the component to be shown by default at start-up.</short> </locale> </schema> |