aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/main.h
diff options
context:
space:
mode:
authorClifford R. Conover <rconover@montana.edu>1999-03-11 10:58:18 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-03-11 10:58:18 +0800
commit9adbbaf76fe141c5a5051999f37a9ee9a005153e (patch)
tree90ae3d6ec9f3abf76de8f9e3caf047f136fa95ea /calendar/main.h
parent20bba8a8f67d1e347d00748b03908f948c2be6b7 (diff)
downloadgsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar
gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.gz
gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.bz2
gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.lz
gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.xz
gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.zst
gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.zip
Add support for Due Date when adding a TODO item here. (column_resized):
1999-03-10 Clifford R. Conover <rconover@montana.edu> * gncal-todo.c (simple_todo_editor): Add support for Due Date when adding a TODO item here. (column_resized): New function (init_column_sorting): New function. (todo_click_column): New function. (convert_time_t_to_char, make_overdue_todo_style): New functions. * gnome-cal.c (gnome_calendar_todo_properties_changed): New function used to update the TODO when the properties have been chagned for it. * prop.c (prop_apply_todo): Apply TODO properties. * gncal-day-panel.c (todo_list_properties_changed): Update the TODO display here. * eventedit.c (date_edit_new): Made public svn path=/trunk/; revision=757
Diffstat (limited to 'calendar/main.h')
-rw-r--r--calendar/main.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/calendar/main.h b/calendar/main.h
index 476349f3aa..845fae6f35 100644
--- a/calendar/main.h
+++ b/calendar/main.h
@@ -8,6 +8,7 @@ extern char *user_name;
extern int am_pm_flag;
extern int week_starts_on_monday;
+
/* This enum and the following array define the color preferences */
typedef enum {
@@ -18,6 +19,7 @@ typedef enum {
COLOR_PROP_PRELIGHT_DAY_BG, /* Background color for prelighted day */
COLOR_PROP_DAY_FG, /* Color for day numbers */
COLOR_PROP_CURRENT_DAY_FG, /* Color for current day's number */
+ COLOR_PROP_OVERDUE_TODO,
COLOR_PROP_LAST /* Number of color properties */
} ColorProp;
@@ -31,6 +33,17 @@ struct color_prop {
extern struct color_prop color_props[];
+
+/* todo preferences */
+extern int todo_show_due_date;
+extern int todo_due_date_overdue_highlight;
+extern char *todo_overdue_font_text;
+extern struct color_prop todo_overdue_highlight_color;
+extern gboolean todo_style_changed;
+extern gint todo_current_sort_column;
+extern gint todo_current_sort_type;
+
+
/* Creates and runs the preferences dialog box */
void properties (GtkWidget *toplevel);
@@ -42,6 +55,9 @@ void time_format_changed (void);
/* Asks for all the month items' colors to be reset */
void colors_changed (void);
+/* Asks for all todo lists to reflect the accurate properties */
+void todo_properties_changed(void);
+
/* Creates and runs the Go-to date dialog */
void goto_dialog (GnomeCalendar *gcal);