aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-05-15 03:06:06 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-05-15 03:06:06 +0800
commitac32683c0b97a0aac6b572c8d284d77051c37ab9 (patch)
treeff4bd5ffca6dc2b4a1cbc495cd18e463dc8aea92
parent94f84171da1005a087656500be0666ef7a398621 (diff)
downloadgsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.tar
gsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.tar.gz
gsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.tar.bz2
gsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.tar.lz
gsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.tar.xz
gsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.tar.zst
gsoc2013-evolution-ac32683c0b97a0aac6b572c8d284d77051c37ab9.zip
set the working hours for the meeting time selector
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 svn path=/trunk/; revision=16786
-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);