aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-11-11 05:21:47 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-11-11 05:21:47 +0800
commitd40faeb22e27c8df9e8d626fcbea2efe1741d768 (patch)
tree509778f727256a431a87dd2f420e2f6d53ed7b94 /shell/e-component-registry.h
parent8648d27d3a1d02fe76e639f521241eae8fed679d (diff)
downloadgsoc2013-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-component-registry.h')
-rw-r--r--shell/e-component-registry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h
index bc72dd19c4..584d7aa209 100644
--- a/shell/e-component-registry.h
+++ b/shell/e-component-registry.h
@@ -61,6 +61,8 @@ struct _EComponentRegistryClass {
struct _EComponentInfo {
char *id;
+ char *alias;
+
/* NULL if not activated. */
GNOME_Evolution_Component iface;