diff options
author | JP Rosevear <jpr@ximian.com> | 2004-03-27 04:38:03 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-03-27 04:38:03 +0800 |
commit | f231743ff15a88a11d8a9140b357ecef4ca5985b (patch) | |
tree | 35c1d5d2efc8bacbebc989e0d7b2f7403bc7191b /calendar/gui/e-calendar-view.c | |
parent | 6c4c8684de1fcb81bf1ee3803e9d9b6c204605f8 (diff) | |
download | gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar.gz gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar.zst gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.zip |
Fixes #55648
2004-03-26 JP Rosevear <jpr@ximian.com>
Fixes #55648
* gui/print.c (print_todo_details): get the default from the model
* gui/gnome-cal.h: remove and update protos
* gui/gnome-cal.c (update_query): the clients and client_list
members are now arrays of source types
(setup_widgets): default the query to everything for tasks, cast
the config items
(gnome_calendar_init): init all the client hashs
(gnome_calendar_destroy): clean them up, clean up all categories
(client_cal_opened_cb): handle based on source type
(append_category_cb): don't track the size in the closure
(client_categories_changed_cb): do all the merging here
(backend_died_cb): handle based on source type
(gnome_calendar_construct): we don't special case the task stuff
any more
(gnome_calendar_get_default_client): return the default of the
current view
(gnome_calendar_add_source): take a source type argument and
append accordingly
(gnome_calendar_remove_source): similar, but remove accordingly
(gnome_calendar_set_default_source): take a source type argument and
set the default accordingly
(gnome_calendar_new_task): use the default of the task model
* gui/e-calendar-view.c (e_calendar_view_add_event): kill warning
* gui/calendar-component.c (update_uris_for_selection): pass
source type when adding/removing
(update_uri_for_primary_selection): ditto
(update_task_selection): make sure we show the correct list of
tasks
(update_primary_task_selection): make sure we track the primary
task correctly
(delete_calendar_cb): pass source type when removing
(config_primary_selection_changed_cb): config listener callback
for tasks
(config_tasks_selection_changed_cb): ditto
(impl_createControls): load the initial task selection, listen for
changes
(calendar_component_init): get the source lists
* gui/calendar-commands.c (sensitize_taskpad_commands): get the
task pad and then the default client from that
svn path=/trunk/; revision=25201
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r-- | calendar/gui/e-calendar-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 3c528813c6..51bd3ee2cc 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -361,6 +361,9 @@ e_calendar_view_add_event (ECalendarView *cal_view, ECal *client, time_t dtstart && memcmp (&ic_dur, &ic_oneday, sizeof(ic_dur)) == 0) all_day_event = TRUE; break; + default: + g_assert_not_reached (); + return; } if (in_top_canvas) |