[evolution] Bug #629825 - Hide Free/Busy tab if not needed in express mode



commit 3797f5a167bee5d6a8b13d31eff578adecdade0a
Author: Milan Crha <mcrha redhat com>
Date:   Tue Oct 5 12:52:00 2010 +0200

    Bug #629825 - Hide Free/Busy tab if not needed in express mode

 calendar/gui/dialogs/event-editor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 2e727eb..c101edc 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]