aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-timezone-entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-timezone-entry.h')
-rw-r--r--calendar/gui/e-timezone-entry.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/e-timezone-entry.h b/calendar/gui/e-timezone-entry.h
index bfc8525f64..61bae2b7b4 100644
--- a/calendar/gui/e-timezone-entry.h
+++ b/calendar/gui/e-timezone-entry.h
@@ -71,6 +71,12 @@ icaltimezone* e_timezone_entry_get_timezone (ETimezoneEntry *tentry);
void e_timezone_entry_set_timezone (ETimezoneEntry *tentry,
icaltimezone *zone);
+/* Sets the default timezone. If the current timezone matches this, then the
+ entry field is hidden. This is useful since most people do not use timezones
+ so it makes the user interface simpler. */
+void e_timezone_entry_set_default_timezone(ETimezoneEntry *tentry,
+ icaltimezone *zone);
+
END_GNOME_DECLS
#endif /* __E_TIMEZONE_ENTRY_H_ */