aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-content.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-23 00:44:48 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-23 00:46:33 +0800
commitffe9df88b271e52aa8934762e73ed70b01464a60 (patch)
tree4eb70294042e441cf611b4115b49a73d2e841164 /modules/calendar/e-cal-shell-content.c
parent7c80528594c272e3295dae6a4e11e27fd1763466 (diff)
downloadgsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.tar
gsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.tar.gz
gsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.tar.bz2
gsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.tar.lz
gsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.tar.xz
gsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.tar.zst
gsoc2013-evolution-ffe9df88b271e52aa8934762e73ed70b01464a60.zip
GN-bug #593617 - GroupWise plugins are not built
Diffstat (limited to 'modules/calendar/e-cal-shell-content.c')
-rw-r--r--modules/calendar/e-cal-shell-content.c51
1 files changed, 50 insertions, 1 deletions
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c
index 8821a7fe07..689b5cf22a 100644
--- a/modules/calendar/e-cal-shell-content.c
+++ b/modules/calendar/e-cal-shell-content.c
@@ -57,7 +57,10 @@ struct _ECalShellContentPrivate {
};
enum {
- PROP_0
+ PROP_0,
+ PROP_CALENDAR,
+ PROP_TASK_TABLE,
+ PROP_MEMO_TABLE
};
/* Used to indicate who has the focus within the calendar view. */
@@ -226,6 +229,21 @@ cal_shell_content_get_property (GObject *object,
GParamSpec *pspec)
{
switch (property_id) {
+ case PROP_CALENDAR:
+ g_value_set_object (
+ value, e_cal_shell_content_get_calendar (
+ E_CAL_SHELL_CONTENT (object)));
+ return;
+ case PROP_TASK_TABLE:
+ g_value_set_object (
+ value, e_cal_shell_content_get_task_table (
+ E_CAL_SHELL_CONTENT (object)));
+ return;
+ case PROP_MEMO_TABLE:
+ g_value_set_object (
+ value, e_cal_shell_content_get_memo_table (
+ E_CAL_SHELL_CONTENT (object)));
+ return;
}
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
@@ -505,6 +523,37 @@ cal_shell_content_class_init (ECalShellContentClass *class)
widget_class = GTK_WIDGET_CLASS (class);
widget_class->map = cal_shell_content_map;
+
+ g_object_class_install_property (
+ object_class,
+ PROP_CALENDAR,
+ g_param_spec_object (
+ "calendar",
+ NULL,
+ NULL,
+ GNOME_TYPE_CALENDAR,
+ G_PARAM_READABLE));
+
+ g_object_class_install_property (
+ object_class,
+ PROP_TASK_TABLE,
+ g_param_spec_object (
+ "task-table",
+ NULL,
+ NULL,
+ E_TYPE_CALENDAR_TABLE,
+ G_PARAM_READABLE));
+
+ g_object_class_install_property (
+ object_class,
+ PROP_MEMO_TABLE,
+ g_param_spec_object (
+ "memo-table",
+ NULL,
+ NULL,
+ E_TYPE_MEMO_TABLE,
+ G_PARAM_READABLE));
+
}
static void