diff options
author | Damon Chaplin <damon@ximian.com> | 2001-08-22 03:06:17 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-08-22 03:06:17 +0800 |
commit | c8905eabfcb6120fbf7f4ba67043d1780396dc01 (patch) | |
tree | 2642e85770860b956abd09c6728e1e11cc9517cb /calendar/gui/calendar-config.h | |
parent | a70082de9ea4f4558d6494efc5e130250ed99448 (diff) | |
download | gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.tar gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.tar.gz gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.tar.bz2 gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.tar.lz gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.tar.xz gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.tar.zst gsoc2013-evolution-c8905eabfcb6120fbf7f4ba67043d1780396dc01.zip |
added new e-sexp operator. We don't currently use it though.
2001-08-21 Damon Chaplin <damon@ximian.com>
* pcs/query.c (func_is_completed): added new e-sexp operator. We
don't currently use it though.
* gui/dialogs/cal-prefs-dialog.glade: Changed '_Overdue' to 'O_verdue'
since we have an '_Other' notebook tab. Added '_Hide' accel.
* gui/dialogs/cal-prefs-dialog.c: hooked up config options to dialog.
* gui/calendar-config.c: added config options for hiding completed
tasks.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view.c (e_day_view_reshape_long_event): added 2 pixels
extra space between icons and text for long events, and 1 pixel space
between icons in all events.
(e_day_view_realize): changed the background color to match the
EGrayBar in the shell.
svn path=/trunk/; revision=12347
Diffstat (limited to 'calendar/gui/calendar-config.h')
-rw-r--r-- | calendar/gui/calendar-config.h | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h index 2979d07d91..83132267f9 100644 --- a/calendar/gui/calendar-config.h +++ b/calendar/gui/calendar-config.h @@ -51,6 +51,14 @@ typedef enum } CalWeekdays; +/* Units for settings. */ +typedef enum +{ + CAL_DAYS, + CAL_HOURS, + CAL_MINUTES +} CalUnits; + void calendar_config_init (void); void calendar_config_write (void); @@ -123,6 +131,23 @@ void calendar_config_set_month_hpane_pos (gfloat hpane_pos); gfloat calendar_config_get_month_vpane_pos (void); void calendar_config_set_month_vpane_pos (gfloat vpane_pos); +/* Colors for the task list */ +const char *calendar_config_get_tasks_due_today_color (void); +void calendar_config_set_tasks_due_today_color (const char *color); + +const char *calendar_config_get_tasks_overdue_color (void); +void calendar_config_set_tasks_overdue_color (const char *color); + +/* Settings to hide completed tasks. */ +gboolean calendar_config_get_hide_completed_tasks (void); +void calendar_config_set_hide_completed_tasks (gboolean hide); + +CalUnits calendar_config_get_hide_completed_tasks_units(void); +void calendar_config_set_hide_completed_tasks_units(CalUnits units); + +gint calendar_config_get_hide_completed_tasks_value(void); +void calendar_config_set_hide_completed_tasks_value(gint value); + /* Convenience functions to configure common properties of ECalendar, EDateEdit & ECalendarTable widgets, and the ECellDateEdit ETable cell. */ @@ -134,12 +159,5 @@ void calendar_config_configure_e_cell_date_edit (ECellDateEdit *ecde); /* Shows the timezone dialog if the user hasn't set a default timezone. */ void calendar_config_check_timezone_set (void); -/* Colors for the task list */ - -const char *calendar_config_get_tasks_due_today_color (void); -void calendar_config_set_tasks_due_today_color (const char *color); - -const char *calendar_config_get_tasks_overdue_color (void); -void calendar_config_set_tasks_overdue_color (const char *color); #endif /* _CALENDAR_CONFIG_H_ */ |