diff options
author | JP Rosevear <jpr@ximian.com> | 2003-10-28 06:46:10 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-10-28 06:46:10 +0800 |
commit | 238350ee212d14e29fbf849450039b2d6fea761d (patch) | |
tree | 3bcf99cc9feb3f5d1013ff6153991163e92f2161 /calendar/gui/calendar-config.h | |
parent | aa7103dfa113dca7b1da05f73ed71790da2557e8 (diff) | |
download | gsoc2013-evolution-238350ee212d14e29fbf849450039b2d6fea761d.tar.gz gsoc2013-evolution-238350ee212d14e29fbf849450039b2d6fea761d.tar.zst gsoc2013-evolution-238350ee212d14e29fbf849450039b2d6fea761d.zip |
store config objects as well (gnome_calendar_set_default_uri): return
2003-10-27 JP Rosevear <jpr@ximian.com>
* gui/gnome-cal.c (setup_widgets): store config objects as well
(gnome_calendar_set_default_uri): return FALSE if the
pre-condition fails
(gnome_calendar_update_config_settings): remove settings that are
now handled by the config objects
* gui/e-week-view.c (e_week_view_set_compress_weekend): queue a
draw
* gui/e-itip-control.c (start_default_server): comment out
* gui/e-day-view-config.[hc]: a class to track config changes of
interest to day views
* gui/e-week-view.[hc]: ditto for week views
* gui/calendar-config.h: add protos
* gui/calendar-config.c: use the #defines for the keys and add
notification routines
* gui/calendar-config-keys.h: a list of defines for gconf keys
* gui/Makefile.am: build new files
svn path=/trunk/; revision=23094
Diffstat (limited to 'calendar/gui/calendar-config.h')
-rw-r--r-- | calendar/gui/calendar-config.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h index 48f2e4f2e0..fa695673b6 100644 --- a/calendar/gui/calendar-config.h +++ b/calendar/gui/calendar-config.h @@ -30,6 +30,7 @@ #ifndef _CALENDAR_CONFIG_H_ #define _CALENDAR_CONFIG_H_ +#include <gconf/gconf-client.h> #include <widgets/misc/e-calendar.h> #include <widgets/misc/e-dateedit.h> #include <widgets/misc/e-cell-date-edit.h> @@ -61,7 +62,7 @@ typedef enum void calendar_config_init (void); - +void calendar_config_remove_notification (guint id); /* * Calendar Settings. @@ -74,39 +75,49 @@ void calendar_config_set_timezone (gchar *timezone); /* The working days of the week, a bit-wise combination of flags. */ CalWeekdays calendar_config_get_working_days (void); void calendar_config_set_working_days (CalWeekdays days); +guint calendar_config_add_notification_working_days (GConfClientNotifyFunc func, gpointer data); /* The start day of the week (0 = Sun to 6 = Sat). */ gint calendar_config_get_week_start_day (void); void calendar_config_set_week_start_day (gint week_start_day); +guint calendar_config_add_notification_week_start_day (GConfClientNotifyFunc func, gpointer data); /* The start and end times of the work-day. */ gint calendar_config_get_day_start_hour (void); void calendar_config_set_day_start_hour (gint day_start_hour); +guint calendar_config_add_notification_day_start_hour (GConfClientNotifyFunc func, gpointer data); gint calendar_config_get_day_start_minute (void); void calendar_config_set_day_start_minute (gint day_start_min); +guint calendar_config_add_notification_day_start_minute (GConfClientNotifyFunc func, gpointer data); gint calendar_config_get_day_end_hour (void); void calendar_config_set_day_end_hour (gint day_end_hour); +guint calendar_config_add_notification_day_end_hour (GConfClientNotifyFunc func, gpointer data); gint calendar_config_get_day_end_minute (void); void calendar_config_set_day_end_minute (gint day_end_min); +guint calendar_config_add_notification_day_end_minute (GConfClientNotifyFunc func, gpointer data); /* Whether we use 24-hour format or 12-hour format (AM/PM). */ gboolean calendar_config_get_24_hour_format (void); void calendar_config_set_24_hour_format (gboolean use_24_hour); +guint calendar_config_add_notification_24_hour_format (GConfClientNotifyFunc func, gpointer data); /* The time divisions in the Day/Work-Week view in minutes (5/10/15/30/60). */ gint calendar_config_get_time_divisions (void); void calendar_config_set_time_divisions (gint divisions); +guint calendar_config_add_notification_time_divisions (GConfClientNotifyFunc func, gpointer data); /* Whether we show event end times. */ gboolean calendar_config_get_show_event_end (void); void calendar_config_set_show_event_end (gboolean show_end); +guint calendar_config_add_notification_show_event_end (GConfClientNotifyFunc func, gpointer data); /* Whether we compress the weekend in the week/month views. */ gboolean calendar_config_get_compress_weekend (void); void calendar_config_set_compress_weekend (gboolean compress); +guint calendar_config_add_notification_compress_weekend (GConfClientNotifyFunc func, gpointer data); /* Whether we show week numbers in the Date Navigator. */ gboolean calendar_config_get_dnav_show_week_no (void); @@ -183,8 +194,4 @@ void calendar_config_check_timezone_set (void); supports 12-hour time format. */ gboolean calendar_config_locale_supports_12_hour_format(void); -/* Default folders, read-only */ -char *calendar_config_default_calendar_folder (void); -char *calendar_config_default_tasks_folder (void); - #endif /* _CALENDAR_CONFIG_H_ */ |