gint calendar_config_get_day_end_hour (void) { calendar_config_init (); return gconf_client_get_int (config, CALENDAR_CONFIG_DAY_END_HOUR, NULL); }
/* Settings to hide completed tasks. */ gboolean calendar_config_get_hide_completed_tasks (void) { calendar_config_init (); return g_settings_get_boolean (config, "hide-completed-tasks"); }
/* location of the second time zone user has selected. Free with g_free. */ gchar * calendar_config_get_day_second_zone (void) { calendar_config_init (); return g_settings_get_string (config, "day-second-zone"); }
void calendar_config_set_primary_memos (const char *primary_uid) { calendar_config_init (); gconf_client_set_string (config, CALENDAR_CONFIG_PRIMARY_MEMOS, primary_uid, NULL); }
void calendar_config_set_compress_weekend (gboolean compress) { calendar_config_init (); gconf_client_set_bool (config, CALENDAR_CONFIG_COMPRESS_WEEKEND, compress, NULL); }
void calendar_config_set_task_vpane_pos (gint vpane_pos) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_TASK_VPANE_POS, vpane_pos, NULL); }
void calendar_config_set_memos_selected (GSList *selected) { calendar_config_init (); gconf_client_set_list (config, CALENDAR_CONFIG_MEMOS_SELECTED_MEMOS, GCONF_VALUE_STRING, selected, NULL); }
/* Whether we show week numbers in the Date Navigator. */ gboolean calendar_config_get_dnav_show_week_no (void) { calendar_config_init (); return gconf_client_get_bool (config, CALENDAR_CONFIG_DN_SHOW_WEEK_NUMBERS, NULL); }
void calendar_config_set_dnav_show_week_no (gboolean show_week_no) { calendar_config_init (); gconf_client_set_bool (config, CALENDAR_CONFIG_DN_SHOW_WEEK_NUMBERS, show_week_no, NULL); }
/* The time divisions in the Day/Work-Week view in minutes (5/10/15/30/60). */ gint calendar_config_get_time_divisions (void) { calendar_config_init (); return gconf_client_get_int (config, CALENDAR_CONFIG_TIME_DIVISIONS, NULL); }
void calendar_config_set_time_divisions (gint divisions) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_TIME_DIVISIONS, divisions, NULL); }
void calendar_config_set_day_end_minute (gint day_end_min) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_DAY_END_MINUTE, day_end_min, NULL); }
gint calendar_config_get_day_end_minute (void) { calendar_config_init (); return gconf_client_get_int (config, CALENDAR_CONFIG_DAY_END_MINUTE, NULL); }
void calendar_config_set_day_end_hour (gint day_end_hour) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_DAY_END_HOUR, day_end_hour, NULL); }
void calendar_config_set_tag_vpane_pos (float vpane_pos) { calendar_config_init (); gconf_client_set_float (config, CALENDAR_CONFIG_TAG_VPANE_POS, vpane_pos, NULL); }
void calendar_config_set_hpane_pos (gint hpane_pos) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_HPANE_POS, hpane_pos, NULL); }
gint calendar_config_get_task_vpane_pos (void) { calendar_config_init (); return gconf_client_get_int (config, CALENDAR_CONFIG_TASK_VPANE_POS, NULL); }
void calendar_config_remove_notification (guint id) { calendar_config_init (); gconf_client_notify_remove (config, id); }
/* The current list of memo lists selected */ GSList * calendar_config_get_memos_selected (void) { calendar_config_init (); return gconf_client_get_list (config, CALENDAR_CONFIG_MEMOS_SELECTED_MEMOS, GCONF_VALUE_STRING, NULL); }
gboolean calendar_config_get_preview_state (void) { calendar_config_init (); return gconf_client_get_bool (config, CALENDAR_CONFIG_TASK_PREVIEW, NULL); }
/* The primary memo list */ char * calendar_config_get_primary_memos (void) { calendar_config_init (); return gconf_client_get_string (config, CALENDAR_CONFIG_PRIMARY_MEMOS, NULL); }
void calendar_config_set_preview_state (gboolean state) { calendar_config_init (); gconf_client_set_bool (config, CALENDAR_CONFIG_TASK_PREVIEW, state, NULL); }
/* Whether we compress the weekend in the week/month views. */ gboolean calendar_config_get_compress_weekend (void) { calendar_config_init (); return gconf_client_get_bool (config, CALENDAR_CONFIG_COMPRESS_WEEKEND, NULL); }
gint calendar_config_get_month_vpane_pos (void) { calendar_config_init (); return gconf_client_get_int (config, CALENDAR_CONFIG_MONTH_VPANE_POS, NULL); }
/* Scroll in a month view by a week, not by a month */ gboolean calendar_config_get_month_scroll_by_week (void) { calendar_config_init (); return g_settings_get_boolean (config, "month-scroll-by-week"); }
void calendar_config_set_month_vpane_pos (gint vpane_pos) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_MONTH_VPANE_POS, vpane_pos, NULL); }
void calendar_config_set_dir_path (const gchar *path) { calendar_config_init (); g_settings_set_string (config, "audio-dir", path); }
float calendar_config_get_tag_vpane_pos (void) { calendar_config_init (); return gconf_client_get_float (config, CALENDAR_CONFIG_TAG_VPANE_POS, NULL); }
static gchar * calendar_config_get_timezone_stored (void) { calendar_config_init (); return g_settings_get_string (config, "timezone"); }
void calendar_config_set_week_start_day (gint week_start_day) { calendar_config_init (); gconf_client_set_int (config, CALENDAR_CONFIG_WEEK_START, week_start_day, NULL); }