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/e-shell-window.h | |
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/e-shell-window.h')
-rw-r--r-- | shell/e-shell-window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-window.h b/shell/e-shell-window.h index f23ac67d31..1a012fe20a 100644 --- a/shell/e-shell-window.h +++ b/shell/e-shell-window.h @@ -54,6 +54,9 @@ GType e_shell_window_get_type (void); GtkWidget *e_shell_window_new (EShell *shell); +void e_shell_window_switch_to_component (EShellWindow *shell, + const char *component_id); + EShell *e_shell_window_peek_shell (EShellWindow *window); BonoboUIComponent *e_shell_window_peek_bonobo_ui_component (EShellWindow *window); |