aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2001-01-14 09:54:40 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-01-14 09:54:40 +0800
commitaeee1c7d97529df56361602e299af7d9284895dc (patch)
tree35849b553f3b75b99c0d78b727f424157ba6381d /calendar/gui/e-day-view.c
parentaee2e69158e4e55662b310894406d16a38d629de (diff)
downloadgsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.tar
gsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.tar.gz
gsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.tar.bz2
gsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.tar.lz
gsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.tar.xz
gsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.tar.zst
gsoc2013-evolution-aeee1c7d97529df56361602e299af7d9284895dc.zip
moved #include <cal-client/cal-client.h> to the .h file.
2001-01-14 Damon Chaplin <damon@helixcode.com> * gui/dialogs/task-editor.[hc]: moved #include <cal-client/cal-client.h> to the .h file. * gui/e-tasks.c: load & save the Tasks folders' ETable layout. Added an option menu to filter tasks by category. * gui/gnome-cal.c: use the "Tasks" folder for the TaskPad. (We may make the actual tasks folder shown a per-calendar option.) * gui/tasks-control.c (tasks_control_new_task_cmd): added support for the New Task icon on the toolbar. * gui/e-calendar-table.[hc]: we now use an ETableSubsetVariable model to filter the tasks by a category. And tidied up a little. * gui/calendar-model.[hc]: added way to get all the categories used by the tasks, so we can show an option menu of them. Also a signal which is emitted when they are changed. Also allows a default category to be set, which is used to initialize the 'click-to-add' row. Also made sure the initialize_value()/get_value() functions don't return NULL since that can cause a SEGV. * gui/e-week-view.c: * gui/e-day-view.c: set the "fill_color_rgba" arg of the EText items to black since it doesn't seem to set up a default color properly. Hopefully this fixes the bug on Solaris where the items appear with strange colors. * gui/widget-util.c (date_edit_new): use the calendar_config function to set most of the options. It wasn't setting the 12/24 hour option before. * gui/dialogs/task-editor-dialog.glade: added "Undefined" priority. svn path=/trunk/; revision=7483
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 1f10194cb0..1cb4b182ec 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -625,6 +625,7 @@ e_day_view_init (EDayView *day_view)
"max_lines", 1,
"editable", TRUE,
"draw_background", FALSE,
+ "fill_color_rgba", GNOME_CANVAS_COLOR(0, 0, 0),
NULL);
gnome_canvas_item_hide (day_view->drag_long_event_item);
@@ -733,6 +734,7 @@ e_day_view_init (EDayView *day_view)
"clip", TRUE,
"editable", TRUE,
"draw_background", FALSE,
+ "fill_color_rgba", GNOME_CANVAS_COLOR(0, 0, 0),
NULL);
gnome_canvas_item_hide (day_view->drag_item);
@@ -4194,6 +4196,7 @@ e_day_view_reshape_long_event (EDayView *day_view,
"editable", TRUE,
"use_ellipsis", TRUE,
"draw_background", FALSE,
+ "fill_color_rgba", GNOME_CANVAS_COLOR(0, 0, 0),
NULL);
gtk_signal_connect (GTK_OBJECT (event->canvas_item), "event",
GTK_SIGNAL_FUNC (e_day_view_on_text_item_event),
@@ -4552,6 +4555,7 @@ e_day_view_reshape_day_event (EDayView *day_view,
"clip", TRUE,
"use_ellipsis", TRUE,
"draw_background", FALSE,
+ "fill_color_rgba", GNOME_CANVAS_COLOR(0, 0, 0),
NULL);
gtk_signal_connect (GTK_OBJECT (event->canvas_item),
"event",