aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-15 01:47:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-15 09:11:38 +0800
commit5ba8caffba174a468359cdb9a7da83bf1fad6033 (patch)
treed80941ee46b45fedd54e378fee04511e6e6cd65d /shell
parentca899cf1cbed85d333e19437512aab63dd866a0e (diff)
downloadgsoc2013-evolution-5ba8caffba174a468359cdb9a7da83bf1fad6033.tar.gz
gsoc2013-evolution-5ba8caffba174a468359cdb9a7da83bf1fad6033.tar.zst
gsoc2013-evolution-5ba8caffba174a468359cdb9a7da83bf1fad6033.zip
Introduce EMailSidebar into libevolution-mail.
EMailSidebar is a subclass of EMFolderTree that implements the state saving and restoration feature from EMailShellSidebar. Placing this in the shared mail library allows Anjal to reuse it.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-view.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 03dac3bd7d..8ee65e0e4f 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -64,6 +64,7 @@ enum {
PROP_SHELL_SIDEBAR,
PROP_SHELL_TASKBAR,
PROP_SHELL_WINDOW,
+ PROP_STATE_KEY_FILE,
PROP_VIEW_ID
};
@@ -322,6 +323,12 @@ shell_view_get_property (GObject *object,
E_SHELL_VIEW (object)));
return;
+ case PROP_STATE_KEY_FILE:
+ g_value_set_pointer (
+ value, e_shell_view_get_state_key_file (
+ E_SHELL_VIEW (object)));
+ return;
+
case PROP_VIEW_ID:
g_value_set_string (
value, e_shell_view_get_view_id (
@@ -604,6 +611,20 @@ shell_view_class_init (EShellViewClass *class)
G_PARAM_CONSTRUCT_ONLY));
/**
+ * EShellView:state-key-file
+ *
+ * The #GKeyFile holding widget state data.
+ **/
+ g_object_class_install_property (
+ object_class,
+ PROP_STATE_KEY_FILE,
+ g_param_spec_pointer (
+ "state-key-file",
+ "State Key File",
+ _("The key file holding widget state data"),
+ G_PARAM_READABLE));
+
+ /**
* EShellView:view-id
*
* The current #GalView ID.