diff options
author | Seth Alves <alves@src.gnome.org> | 2000-04-06 04:13:45 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-04-06 04:13:45 +0800 |
commit | ce3b224ed64f470fd5031342930f7c8f773c6eeb (patch) | |
tree | fc3d645e2378d131901f99b193cf304b394f248e /calendar/gui/gncal-todo.c | |
parent | 0c061c70785480f5d528722f89df2d32bf558121 (diff) | |
download | gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.gz gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.bz2 gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.lz gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.xz gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.zst gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.zip |
build test-calendar-widget and evolution-calendar, common stuff is in a
* gui/Makefile.am: build test-calendar-widget and evolution-calendar,
common stuff is in a library
* gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget
based on a gtk_frame rather than a gnome_app
* gui/calendar-commands.c: split out some of main.c
* gui/evolution-calendar-control.c: bonobo bung so evolution
can use the calendar widget
svn path=/trunk/; revision=2294
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r-- | calendar/gui/gncal-todo.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index c1ed806612..8b249c3fb7 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -9,7 +9,7 @@ #include <string.h> #include <gnome.h> #include "gncal-todo.h" -#include "main.h" +#include "calendar-commands.h" #include "popup-menu.h" #include "eventedit.h" @@ -516,6 +516,7 @@ gncal_todo_new (GnomeCalendar *calendar) return GTK_WIDGET (todo); } +#if 0 static char * convert_time_t_to_char (time_t t) { @@ -527,7 +528,10 @@ convert_time_t_to_char (time_t t) return g_strdup (buf); } +#endif /* 0 */ + +#if 0 enum todo_styles { TODO_STYLE_OVERDUE, TODO_STYLE_DUE_TODAY, @@ -570,10 +574,10 @@ make_todo_style(GncalTodo *todo, todo_status style_type) style->base[GTK_STATE_NORMAL] = style_color; return style; } +#endif /* 0 */ - - +#if 0 static todo_status todo_item_due_status(time_t *todo_due_time) { struct tm due_tm_time; @@ -600,6 +604,7 @@ todo_status todo_item_due_status(time_t *todo_due_time) { return TODO_ITEM_DSTATUS_NOT_DUE_YET; } +#endif /* 0 */ enum todo_remaining_time_form { @@ -611,6 +616,7 @@ enum todo_remaining_time_form { }; typedef enum todo_remaining_time_form todo_remaining_time_form; +#if 0 static void insert_in_clist (GncalTodo *todo, iCalObject *ico) { @@ -791,6 +797,7 @@ insert_in_clist (GncalTodo *todo, iCalObject *ico) /* keep the list in order */ gtk_clist_sort (todo->clist); } +#endif /* 0 */ void gncal_todo_update (GncalTodo *todo, iCalObject *ico, int flags) |