diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-07-01 12:59:24 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-07-01 12:59:24 +0800 |
commit | a0afdf4f53224a55425a8826c0563faa510fa6c5 (patch) | |
tree | 0b73a44325df455ee96053f0b6983a1d5f9a7592 /calendar/gui/calendar-config.h | |
parent | 21f1aedda2c1c38589c1f0abb550cabeab8f551f (diff) | |
download | gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.tar gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.tar.gz gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.tar.bz2 gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.tar.lz gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.tar.xz gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.tar.zst gsoc2013-evolution-a0afdf4f53224a55425a8826c0563faa510fa6c5.zip |
Fixes bug #1406.
2001-06-30 Federico Mena Quintero <federico@ximian.com>
Fixes bug #1406.
* gui/calendar-config.c (config_read): Handle the options for the
task list colors.
(calendar_config_write): Ditto.
(calendar_config_get_tasks_due_today_color): New function.
(calendar_config_set_tasks_due_today_color): New function.
(calendar_config_get_tasks_overdue_color): New function.
(calendar_config_set_tasks_overdue_color): New function.
(calendar_config_configure_e_calendar_table): Use
e_table_model_changed() for the colors.
* gui/dialogs/cal-prefs-dialog.glade: Updated the options for the
task list and alarms.
* gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config):
Update the task list settings.
(cal_prefs_dialog_update_config): Ditto.
* gui/calendar-model.c (get_color): Deal with tasks for today as
well as overdue tasks. Make it cleaner, even though we have to
duplicate a chunk of is_overdue().
* gui/calendar-commands.c (preferences_cmd): Renamed from
properties_cmd().
svn path=/trunk/; revision=10648
Diffstat (limited to 'calendar/gui/calendar-config.h')
-rw-r--r-- | calendar/gui/calendar-config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h index dc73c3f84e..a1a55a7267 100644 --- a/calendar/gui/calendar-config.h +++ b/calendar/gui/calendar-config.h @@ -134,5 +134,13 @@ 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_ */ |