aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/schedule-page.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f7e86ff042..64748151dd 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2002-05-14 JP Rosevear <jpr@ximian.com>
+ * gui/dialogs/schedule-page.c (schedule_page_construct): set the
+ working hours for the meeting time selector
+
+2002-05-14 JP Rosevear <jpr@ximian.com>
+
* cal-util/cal-component.h: make the range datetime member a
struct not a pointer
diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c
index f9ee7a10a9..6ae7924355 100644
--- a/calendar/gui/dialogs/schedule-page.c
+++ b/calendar/gui/dialogs/schedule-page.c
@@ -44,6 +44,7 @@
#include <gal/widgets/e-gui-utils.h>
#include <widgets/misc/e-dateedit.h>
#include <e-util/e-dialog-widgets.h>
+#include "../calendar-config.h"
#include "../e-meeting-time-sel.h"
#include "../itip-utils.h"
#include "comp-editor-util.h"
@@ -445,6 +446,11 @@ schedule_page_construct (SchedulePage *spage, EMeetingModel *emm)
/* Selector */
priv->sel = E_MEETING_TIME_SELECTOR (e_meeting_time_selector_new (emm));
+ e_meeting_time_selector_set_working_hours (priv->sel,
+ calendar_config_get_day_start_hour (),
+ calendar_config_get_day_start_minute (),
+ calendar_config_get_day_end_hour (),
+ calendar_config_get_day_end_minute ());
gtk_widget_show (GTK_WIDGET (priv->sel));
gtk_box_pack_start (GTK_BOX (priv->main), GTK_WIDGET (priv->sel), TRUE, TRUE, 2);