aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-05 18:52:00 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-05 18:52:00 +0800
commit3797f5a167bee5d6a8b13d31eff578adecdade0a (patch)
tree19faf7e800c047958a72937911b8bc69a05e22ae /calendar/gui/dialogs
parentdb1c90732ab0b91cc54190c159ea4841431a5054 (diff)
downloadgsoc2013-evolution-3797f5a167bee5d6a8b13d31eff578adecdade0a.tar.gz
gsoc2013-evolution-3797f5a167bee5d6a8b13d31eff578adecdade0a.tar.zst
gsoc2013-evolution-3797f5a167bee5d6a8b13d31eff578adecdade0a.zip
Bug #629825 - Hide Free/Busy tab if not needed in express mode
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/event-editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 2e727ebbbc..c101edcb2b 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -355,11 +355,12 @@ event_editor_constructor (GType type,
comp_editor_append_page (editor, page, _("Free/Busy"), TRUE);
schedule_page_update_free_busy (priv->sched_page);
+ e_binding_new (action_group, "visible", comp_editor_page_get_widget (page), "visible");
+
/* Alarm page */
alarm_page = event_page_get_alarm_page (priv->event_page);
comp_editor_append_widget (editor, alarm_page, _("Alarm"), TRUE);
g_object_unref (alarm_page);
-
}
if (is_meeting) {