aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/print.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-03-27 04:38:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-03-27 04:38:03 +0800
commitf231743ff15a88a11d8a9140b357ecef4ca5985b (patch)
tree35c1d5d2efc8bacbebc989e0d7b2f7403bc7191b /calendar/gui/print.c
parent6c4c8684de1fcb81bf1ee3803e9d9b6c204605f8 (diff)
downloadgsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar
gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar.gz
gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar.bz2
gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar.lz
gsoc2013-evolution-f231743ff15a88a11d8a9140b357ecef4ca5985b.tar.xz
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/print.c')
-rw-r--r--calendar/gui/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index 287b090de5..446a391548 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -1809,7 +1809,7 @@ print_todo_details (GnomePrintContext *pc, GnomeCalendar *gcal,
task_pad = gnome_calendar_get_task_pad (gcal);
table = e_calendar_table_get_table (task_pad);
model = e_calendar_table_get_model (task_pad);
- client = gnome_calendar_get_task_pad_e_cal (gcal);
+ client = e_cal_model_get_default_client (model);
font_summary = get_font_for_size (10, GNOME_FONT_BOOK, FALSE);