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/gnome-cal.h | |
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/gnome-cal.h')
-rw-r--r-- | calendar/gui/gnome-cal.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index e9adb85ca8..3ea56b2068 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -106,11 +106,10 @@ ECalendarTable *gnome_calendar_get_task_pad (GnomeCalendar *gcal); ECalModel *gnome_calendar_get_calendar_model (GnomeCalendar *gcal); ECal *gnome_calendar_get_default_client (GnomeCalendar *gcal); -ECal *gnome_calendar_get_task_pad_e_cal(GnomeCalendar *gcal); -gboolean gnome_calendar_add_event_source (GnomeCalendar *gcal, ESource *source); -gboolean gnome_calendar_remove_event_source (GnomeCalendar *gcal, ESource *source); -gboolean gnome_calendar_set_default_source (GnomeCalendar *gcal, ESource *source); +gboolean gnome_calendar_add_source (GnomeCalendar *gcal, ECalSourceType source_type, ESource *source); +gboolean gnome_calendar_remove_source (GnomeCalendar *gcal, ECalSourceType source_type, ESource *source); +gboolean gnome_calendar_set_default_source (GnomeCalendar *gcal, ECalSourceType source_type, ESource *source); void gnome_calendar_next (GnomeCalendar *gcal); void gnome_calendar_previous (GnomeCalendar *gcal); |