aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r--calendar/gui/e-meeting-time-sel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index a7a5294241..79acc1887a 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -1018,6 +1018,9 @@ e_meeting_time_selector_set_show_week_numbers (EMeetingTimeSelector *mts,
{
g_return_if_fail (E_IS_MEETING_TIME_SELECTOR (mts));
+ if ((mts->priv->show_week_numbers ? 1 : 0) == (show_week_numbers ? 1 : 0))
+ return;
+
mts->priv->show_week_numbers = show_week_numbers;
g_object_notify (G_OBJECT (mts), "show-week-numbers");
@@ -1037,6 +1040,9 @@ e_meeting_time_selector_set_use_24_hour_format (EMeetingTimeSelector *mts,
{
g_return_if_fail (E_IS_MEETING_TIME_SELECTOR (mts));
+ if ((mts->priv->use_24_hour_format ? 1 : 0) == (use_24_hour_format ? 1 : 0))
+ return;
+
mts->priv->use_24_hour_format = use_24_hour_format;
g_object_notify (G_OBJECT (mts), "use-24-hour-format");
@@ -1056,6 +1062,9 @@ e_meeting_time_selector_set_week_start_day (EMeetingTimeSelector *mts,
{
g_return_if_fail (E_IS_MEETING_TIME_SELECTOR (mts));
+ if (mts->priv->week_start_day == week_start_day)
+ return;
+
mts->priv->week_start_day = week_start_day;
g_object_notify (G_OBJECT (mts), "week-start-day");