aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-11-15 02:19:13 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-11-15 02:19:13 +0800
commit79efc40b19f513570d800d2b3fa6293ea794a28d (patch)
tree23a9b14de06c78c6bf815591c91c697561edc2f1 /calendar/gui/calendar-config.c
parentb5e2c8cb04ca6b58723a9afe6c8c1e395ced2bbb (diff)
downloadgsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.tar
gsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.tar.gz
gsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.tar.bz2
gsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.tar.lz
gsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.tar.xz
gsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.tar.zst
gsoc2013-evolution-79efc40b19f513570d800d2b3fa6293ea794a28d.zip
UI changes for the event editor.
svn path=/trunk/; revision=30613
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r--calendar/gui/calendar-config.c118
1 files changed, 118 insertions, 0 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index bb6cb9e379..fa992d7885 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -268,6 +268,124 @@ calendar_config_add_notification_24_hour_format (GConfClientNotifyFunc func, gpo
return id;
}
+/* Show Attendee */
+gboolean
+calendar_config_get_show_attendee (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_ATTENDEE, NULL);
+}
+
+void
+calendar_config_set_show_attendee (gboolean state)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_ATTENDEE, state, NULL);
+}
+
+/* Show RSVP*/
+gboolean
+calendar_config_get_show_rsvp (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_RSVP, NULL);
+}
+
+void
+calendar_config_set_show_rsvp (gboolean state)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_RSVP, state, NULL);
+}
+
+/* Show Role*/
+gboolean
+calendar_config_get_show_role (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_ROLE, NULL);
+}
+
+void
+calendar_config_set_show_role (gboolean state)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_ROLE, state, NULL);
+}
+
+/* Show Type*/
+gboolean
+calendar_config_get_show_type (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_TYPE, NULL);
+}
+
+void
+calendar_config_set_show_type (gboolean state)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_TYPE, state, NULL);
+}
+
+/* Show status */
+gboolean
+calendar_config_get_show_status (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_STATUS, NULL);
+}
+
+void
+calendar_config_set_show_status (gboolean state)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_STATUS, state, NULL);
+}
+
+/* Show timezone */
+gboolean
+calendar_config_get_show_timezone (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_TIMEZONE, NULL);
+}
+
+void
+calendar_config_set_show_timezone (gboolean status)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_TIMEZONE, status, NULL);
+}
+
+gboolean
+calendar_config_get_show_categories (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_SHOW_CATEGORIES, NULL);
+}
+void
+calendar_config_set_show_categories (gboolean status)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_SHOW_CATEGORIES, status, NULL);
+}
+
+
/* The start day of the week (0 = Sun to 6 = Mon). */
gint
calendar_config_get_week_start_day (void)