* e-search-bar.c (clear_verb_cb): New.
(setup_standard_verbs): New.
(e_search_bar_set_ui_component): Call it if a new
BonoboUIComponent is set.
(append_xml_menu_item): New helper function.
(update_bonobo_menus): Use it. Also add a "Clear" menu item.
(e_search_bar_construct): @menu_items can be NULL now.
(e_search_bar_new): Same here.
(set_menu): Work with NULL items.
* e-filter-bar.c (menubar_activated): Don't handle
E_FILTERBAR_RESET_ID anymore.
* e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'.
* folder-browser.c: Remove E_FILTERBAR_RESET menu entry.
* gui/cal-search-bar.c: Removed `search_menu_items'.
(cal_search_bar_menu_activated): Removed.
(cal_search_bar_class_init): Don't install.
(cal_search_bar_construct): No menu items here.
* gui/component/addressbook.c (addressbook_menu_activated):
Removed.
(addressbook_factory_new_control): Don't connect anymore, as this
signal has been removed from the ESearchBar.
(addressbook_factory_new_control): No more custom menu items here.
svn path=/trunk/; revision=16194
2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
* gui/e-day-view.c: Updated to use new EPopupMenu API.
* gui/e-week-view.c: Updated to use new EPopupMenu API.
* gui/e-calendar-table.c: Updated to use new EPopupMenu API.
svn path=/trunk/; revision=16184
* e-search-bar.c (init): Init various members to NULL.
(set_dropdown): Removed.
(add_dropdown): Removed.
(set_menu): New.
(add_menu_items): New.
(set_option): No need to setup the dropdown size here anymore.
(verb_cb): Function implementing the search menu verbs.
(update_bonobo_menus): New.
(e_search_bar_set_ui_component): New.
* e-search-bar.h: Remove the dropdown button stuff from struct
ESearchBar. Add `uic' and `items' members.
* e-filter-bar.c (e_filter_bar_new): Get a @uic arg.
* folder-browser-factory.c (control_activate): Set the UI
component on the search bar.
* gui/tasks-control.c (tasks_control_activate): Call
`e_tasks_set_ui_component()' here to give it the
BonoboUIComponent.
(tasks_control_deactivate): Likewise, call it here to unset the
BonoboUIComponent.
* gui/e-tasks.c (e_tasks_set_ui_component): New.
* gui/calendar-commands.c (calendar_control_activate): Call
gnome_calendar_set_ui_component() here.
(calendar_control_deactivate): ...And here, with a NULL
BonoboUIComponent.
* gui/gnome-cal.c (gnome_calendar_set_ui_component): New.
* gui/component/addressbook.c (control_activate): Call
`e_search_bar_set_ui_component()' to set the BonoboUIComponent for
the search bar.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon
for the LDAP sources configuration control.
svn path=/trunk/; revision=16178
2002-03-14 JP Rosevear <jpr@ximian.com>
* idl/evolution-calendar.idl: add all day event editor mode
* gui/component-factory.c: clean up exception handling
(sc_user_create_new_item_cb): support the all day event id
(create_object): add a user creatable all day appointment item
* gui/comp-editor-factory.c (get_default_event): get a default
event either all day or starting at the top of the hour
(get_default_task): get a default task
(edit_new): support the all day event mode
* gui/calendar-commands.c: remove unused functions/verbs
svn path=/trunk/; revision=16157
* gui/GNOME_Evolution_Calendar.oaf.in: Add an
"evolution:config_item:icon_path" attribute so we get an icon for
the calendar preferences.
svn path=/trunk/; revision=16141
* gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible>
to cal-prefs-dialog so it doesn't get shown when we load the Glade
file with libglade.
* gui/component-factory.c (owner_set_cb): Register the
ConfigControl factory.
* gui/tasks-control.c: Removed verb "TaskSettings".
(tasks_control_settings_cmd): Removed.
* gui/calendar-commands.c: Removed verb "CalendarSettings".
(settings_cmd): Removed.
* gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate'
to `DialogData'. Replace `dialog' member with a `page' member.
Remove `toplevel_notebook' member.
(init_widgets): Renamed from `cal_prefs_dialog_init_widgets'.
Just get a DialogData.
(get_widgets): Get a DialogData pointer.
(cal_prefs_dialog_destroy): Removed.
(config_control_destroy_callback): New, signal handler for
::destroy for ConfigControl.
(cal_prefs_dialog_new): Create a new DialogData, connect all the
signal handlers.
(create_time_edit): Renamed from
`cal_prefs_dialog_create_time_edit'.
(cal_prefs_dialog_show): Removed.
(cal_prefs_dialog_button_clicked): Removed.
(show_task_list_config): Get a DialogData.
(show_config): Renamed from `cal_prefs_dialog_show_config'.
Likewise.
(update_task_list_config): Likewise.
(update_config): Renamed from
`cal_prefs_dialog_update_config'. Likewise.
(color_set_callback): New callback, makes the dialog report
changes when the setting in any of the color widgets is changed.
(widget_changed_callback): New callback, makes the dialog report
changes when any of the widgets changes status.
(connect_changed): New utility function to connect this callback
to all the widgets.
(setup_widgets): Connect all the widgets.
(cal_prefs_dialog_new): Call `setup_widgets'.
* gui/config-control-factory.c: New.
* gui/config-control-factory.h: New.
* gui/GNOME_Evolution_Calendar.oaf.in: Add
OAFIID:GNOME_Evolution_Calendar_ConfigControl and
OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory.
svn path=/trunk/; revision=16135
2002-03-06 Rodrigo Moya <rodrigo@ximian.com>
Should fix#21240
* gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI
with EUri, to allow non-registered methods.
svn path=/trunk/; revision=15944
2002-03-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-itip-control.c (e_itip_control_set_data): reverted my last
change of adding the METHOD property to the incoming request.
* gui/itip-utils.c (comp_string): added extra
X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix
#20783.
svn path=/trunk/; revision=15940
* gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new
component. (RFC2245 says DTSTAMP corresponds to the time the
particular iCalendar representation of the object was created.)
Fixes#21198.
svn path=/trunk/; revision=15930
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/print.c: remove unneeded parameter from print_text_size
everywhere
(get_font_for_size): calculate a font size based on the available
height
(print_text): calculate the top of where the font should be drawn
(print_text_size): use get_font_for_size
(print_day_background): use get_font_for_size
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_draw): pass the real table
to e_meeting_model_etable_view_to_model_row
(e_meeting_time_selector_item_paint_busy_periods): ditto
* gui/dialogs/meeting-page.c (right_click_cb): ditto
* gui/e-meeting-model.h: update protos
* gui/e-meeting-model.c
(e_meeting_model_etable_model_to_view_row): take in to account the
fact the table used the without model
(e_meeting_model_etable_view_to_model_row): ditto
svn path=/trunk/; revision=15926
2002-03-04 Damon Chaplin <damon@ximian.com>
* gui/tasks-control.c: added support for printing the Tasks table.
I hacked it a bit so the user could choose portrait or landscape mode.
This is bug #9677. ETable printing has a few issues, though, and it
isn't very pretty.
svn path=/trunk/; revision=15906
* gui/itip-utils.c (comp_subject): Prefix the subject with an
indicator like "Accepted" or "Cancelled" explaining what the
action is, since Outlook doesn't display any of that information
inline like we do. (20780)
svn path=/trunk/; revision=15896
2002-02-28 Rodrigo Moya <rodrigo@ximian.com>
* calendar/gui/e-itip-control.c (e_itip_control_set_data): added the
METHOD property to the top level component we create.
svn path=/trunk/; revision=15880
2002-02-26 Rodrigo Moya <rodrigo@ximian.com>
* gui/control-factory.c (set_prop):
* gui/tasks-control.c (tasks_control_set_property): display an error
message if the call to gnome_calendar_open or e_tasks_open does not
return TRUE. Fixes#20346.
svn path=/trunk/; revision=15845
* gui/itip-utils.c (itip_send_comp): use
GNOME_Evolution_Composer_setBody rather than _setMultipartType and
_attachData now, to send a message containing just a text/calendar
part. Fixes 14705. Mostly.
(comp_content_type): Include the filename here since we can't add
a Content-Disposition now.
svn path=/trunk/; revision=15834
* gui/component-factory.c (add_creatable_item): New helper
function.
(create_object): Add icons for the various user creatable items.
svn path=/trunk/; revision=15790
002-02-19 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (send_item): pass extra itip_send_comp
params
(send_freebusy): ditto
(ok_clicked_cb): ditto, including the timezones culled from the
component
* gui/e-week-view.c: pass extra itip_send_comp params
* gui/calendar-commands.c: ditto
* gui/e-day-view.c: ditto
* gui/dialogs/task-editor.c: ditto
* gui/dialogs/event-editor.c: ditto
* gui/dialogs/comp-editor.c: ditto
* gui/itip-utils.h (itip_send_comp): update proto
* gui/itip-utils.c (foreach_tzid_callback): check the passed in
zones, then the builtin time zones then the client
2002-02-19 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (find_my_address): strip the ical value and
do a case insensitive compare
(find_attendee): ditto
(change_status): put the error message here
(ok_clicked_cb): don't update the item or rsvp unless
change_status was successful, trip the ical value and do a case
insensitive compare
* gui/itip-utils.c (get_address): strip the incoming address
(itip_strip_mailto): use g_strncasecmp
(comp_limit_attendees): strip the ical value and do a case
insensitive compare
svn path=/trunk/; revision=15763
2002-02-14 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.c: use new column enums
(set_value_at): emit pre-change/cell change signals
(destroy): destroy refresh_queue and refresh_data
(init): init new elements
(refresh_queue_add): if the attendee is being refreshed already,
possibly update the start/end times to look for and update the
callback info, otherwise add it to the queue
(refresh_queue_remove): remove a refreshing attende from the queue
(process_callbacks): make all the callbacks and remove the
attendee from the queue
(process_free_busy): process the callbacks immediately if parsing
fails or on successful completion of processing
(async_close): process free busy
(cursor_cb): we're only looking for one at a time now
(refresh_busy_periods): idle callback to start processing the queue
(e_meeting_model_refresh_all_busy_periods): add every row to the queue
(e_meeting_model_refresh_busy_periods): add a single row to the queue
* gui/e-meeting-model.h: new protos, enum the columns
* gui/e-meeting-time-sel.c: use new compare time function
(e_meeting_time_selector_construct): listen for a cell changed
signal and use separate callbacks for rows_inserted and
rows_deleted
(e_meeting_time_selector_refresh_free_busy): util function to
refresh free busy info
(e_meeting_time_selector_on_update_free_busy): use above
(rows_inserted_cb): refresh free busy on the new rows
(cell_changed_cb): refresh free busy on the row when the address
changes
(rows_deleted_cb): redraw
* gui/e-meeting-utils.[hc]: a holding spot for a meeting time
comparison function
* gui/Makefile.am: compile new files
svn path=/trunk/; revision=15741
2002-02-13 Rodrigo Moya <rodrigo@ximian.com>
* gui/control-factory.c (set_prop): don't append 'calendar.ics'
to the URI.
(get_prop): finished.
* gui/tasks-control.c (tasks_control_set_property): don't append
'tasks.ics' to the URI.
(tasks_control_get_property): finished.
* gui/gnome-cal.c (gnome_calendar_open):
* gui/e-tasks.c (e_tasks_open): append $filename.ics to the uri to be
opened if the uri is local. Leave intact in other cases.
svn path=/trunk/; revision=15724
2002-02-08 Damon Chaplin <damon@ximian.com>
* gui/comp-util.c (cal_comp_util_compare_event_timezones): check if
the CalComponentDateTime values are set before trying to use them.
Possibly fixes bug #18529.
svn path=/trunk/; revision=15630
2002-02-08 Damon Chaplin <damon@ximian.com>
* importers/icalendar-importer.c: added vCalendar importer and
intelligent GnomeCalendar importer code here, as it shares a lot of
code with the iCalendar importer.
NOTE: check_folder_type() needs to be finished at some point.
It needs a new shell Corba call so it can decide whether to import
events or tasks into the folder. Currently it just imports both.
* importers/main.c (importer_factory_fn): create vCalendar importer
or GnomeCalendar importer if required.
* importers/evolution-calendar-importer.h: added declarations for
creating a vCalendar importer and intelligent Gnome Calendar importer.
* importers/Makefile.am: added -DEVOLUTION_SOUNDDIR so the importer
knows what filename to use for audio alarms in vCalendar files.
Added libicalvcal-evolution to LDADD.
* importers/GNOME_Evolution_Calendar_Importer.oaf.in: added vCalendar
importer and intelligent Gnome Calendar importer.
* gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE
if the event uses UTC. We don't want to flag all events from Outlook,
which use UTC.
svn path=/trunk/; revision=15628
2002-02-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-details-page.glade: change custom widget
creator to e_url_entry_new
* gui/dialogs/task-details-page.c (get_widgets): get the url entry
and its entry
svn path=/trunk/; revision=15622
2002-02-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-details-page.glade: add a custom widget created
with e_url_button_new
* gui/dialogs/task-details-page.c (task_details_page_init): init
url_button member to NULL
(init_widgets): set the url button entry
(get_widgets): get the url button
* gui/calendar-commands.c (pixmaps): use new all day event icon
svn path=/trunk/; revision=15610
2002-02-07 JP Rosevear <jpr@ximian.com>
* gui/e-day-view.c: pass meeting boolean for
gnome_calendar_edit_object and gnome_calendar_new_appointment_for
* gui/e-week-view-event-item.c: ditto
* gui/e-week-view.c: ditto
* gui/tasks-control.c (confirm_expunge): kill warning
* gui/calendar-commands.c (new_meeting_cb): show a new meeting
dialog
(new_event_cb): pass new param
* gui/gnome-cal.c (gnome_calendar_edit_object): take meeting
boolean and show meeting page if true
(gnome_calendar_new_appointment_for): takeing meeting param and
pass to above
(gnome_calendar_new_appointment): add new param
* gui/gnome-cal.h: update proto
* gui/component-factory.c (create_component): take a comp editor
mode, determine vtype
(sc_user_create_new_item_cb): check for meeting user creatable
item
(create_object): add meeting as user creatable item
* gui/comp-editor-factory.c (edit_new): get a comp editor mode
now, determine vtype and show meeting page if required
(queue_edit_new): get comp editor mode
(impl_editNew): ditto, plus queue the mode directly instead of
determining the vtype
* gui/dialogs/event-editor.c (show_meeting): new internal util
function to show meeting page
(event_editor_show_meeting): show the meeting
(schedule_meeting_cmd): use show_meeting
* gui/dialogs/event-editor.h: new proto
* idl/evolution-calendar.idl: editNew takes a mode rather than a
type now
* cal-util/Makefile.am: fix includes
svn path=/trunk/; revision=15595
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal.
From addressbook/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Changed this function to use the
new GalViewMenus which takes a GalViewInstance, instead of a
GalViewCollection.
From calendar/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
(gnome_calendar_setup_view_menus): Made these use the new
GalViewMenus stuff.
From mail/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, folder-browser.h, folder-browser-ui.c,
folder-browser-ui.h
(folder_browser_ui_setup_view_menus,
folder_browser_ui_discard_view_menus): Changed this to use the new
GalViewMenus stuff. Made these exported functions.
* mail-callbacks.c, message-browser.c: Changed these to not pass
the now removed row parameter to message_list_select.
* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
Refactored this out of mail_config_folder_to_cachename.
* message-list.c, message-list.h (message_list_select): Removed
the row argument. Changed this to use the new function in ETree
for finding the next cursor row that matches a test.
(message_list_construct): Handle a failed construction of the
ETree here.
(message_list_setup_etree, save_tree_state): Don't load or save
the header state. folder-browser-ui.c deals with this now.
From views/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
tasks/galview.xml: Added default-view parameters.
* mail/As_Sent_Folder.galview: New galview.
* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
galview.
From widgets/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_new): Made this take a GalViewInstance instead of
a GalViewCollection. Reworked most of this to utilize the
interfaces provided by GalViewInstance.
svn path=/trunk/; revision=15592
2002-02-04 JP Rosevear <jpr@ximian.com>
* conduits/todo/todo-conduit.c (e_todo_gui_new): new gui routines
for conduit settings
(e_todo_gui_fill_config): ditto
(e_todo_gui_fill_widgets): ditto
(e_todo_gui_destroy): ditto
(e_todo_context_destroy): destroy new_cfg and gui properly
(local_record_from_comp): set the priority to the default setting
if none is set on the icalendar object
(fill_widgets): fill gui widgets
(create_settings_window): create gui
svn path=/trunk/; revision=15569
2002-01-30 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (write_html): if this is a reply, print the
attendee status
svn path=/trunk/; revision=15531
2002-01-25 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/alarm-options.glade: Use 1 instead of zero as the
minimum value for the repetitions spin button as we use a check
box to specify whether the alarm has repetitions or not. Fixes
bug #19054.
svn path=/trunk/; revision=15472
2002-01-17 Damon Chaplin <damon@ximian.com>
* gui/dialogs/alarm-page.c (get_alarm_string): save the alarm string
in the correct variable (str), so it actually gets shown for alarms
with specific trigger times. Fixes bug #18801.
svn path=/trunk/; revision=15352
2002-01-14 JP Rosevear <jpr@ximian.com>
* conduits/calendar/calendar-conduit.c: move all functions here,
get rid of header files, use e-pilot-settings to display gui
* conduits/todo/todo-conduit.c: as above
svn path=/trunk/; revision=15322
2002-01-14 JP Rosevear <jpr@ximian.com>
* gui/e-week-view-main-item.c (e_week_view_main_item_draw_day):
figure out when today is and highlight if it is not selected
* gui/e-week-view.h: enum the "today" color
* gui/e-week-view.c (e_week_view_realize): init the "today" color
svn path=/trunk/; revision=15319
2002-01-13 JP Rosevear <jpr@ximian.com>
* gui/alarm-notify/save.h: add protos
* gui/alarm-notify/save.c (save_blessed_program): records a
program as blessed
(is_blessed_program): checks to see if a program is blessed
* gui/alarm-notify/alarm-queue.c (procedure_notification_dialog):
popup a dialog notifying the user that is a program and let them
not see the dialog about this program again
(procedure_notification): use above
svn path=/trunk/; revision=15313
2002-01-03 JP Rosevear <jpr@ximian.com>
* gui/tasks-control.c (tasks_control_complete_cmd): new verb
callback
(sensitize_commands): set sensitivity of mark complete command
* gui/e-tasks.h: new proto
* gui/e-tasks.c (e_tasks_complete_selected): mark selected tasks
in the table as complete
* gui/e-calendar-table.h: new proto
* gui/e-calendar-table.c (e_calendar_table_complete_selected):
mark selected rows as complete
svn path=/trunk/; revision=15239
002-01-03 JP Rosevear <jpr@ximian.com>
* gui/tasks-control.c (confirm_expunge): only need one warning
message now
* gui/e-tasks.c (create_sexp): change the logic to expunge all
completed tasks not just hidden ones
svn path=/trunk/; revision=15236
2002-01-03 JP Rosevear <jpr@ximian.com>
* gui/tasks-control.c (confirm_expunge): confirm expunging of the
tasks
(tasks_control_expunge_cmd): verb callback
* gui/calendar-config.c (config_read): read confirm expunge value
(calendar_config_write): write confirm expunge value
(calendar_config_write_on_exit): ditto
(calendar_config_get_confirm_expunge): get value
(calendar_config_set_confirm_expunge): set value
* gui/calendar-config.h: new proto
* gui/e-itip-control.c (start_calendar_server): kill warning
* gui/e-tasks.c (e_tasks_init): init query member to NULL
(set_status_message): util function to set status message
(e_tasks_open): use above
(cal_opened_cb): ditto
(create_sexp): create sexp of items to be deleted
(query_obj_updated_cb): remove any items found
(query_eval_error_cb): bail out on error
(query_query_done_cb): tidy when done
(e_tasks_delete_completed): set up query
* gui/e-tasks.h: new proto
* gui/calendar-model.c (query_query_done_cb): use g_warning
instead of printing to stderr
(query_eval_error_cb): ditto
(update_query): clear the status message if we can't create the
query
* gui/tag-calendar.c (resolve_tzid_cb): make this static
svn path=/trunk/; revision=15233
2001-12-21 JP Rosevear <jpr@ximian.com>
* gui/dialogs/comp-editor.c: remove needs send signal related
cruft
(save_comp_with_send): with send_component_dialog, indicate if the
meeting info is newly created or not
(real_edit_comp): remember if the dialog initially needs a send
* gui/dialogs/send-comp.c (send_component_dialog): take a "new"
parameter indicating whether the dialog should intimate if the
component to be sent is a new meeting or not
* gui/dialogs/send-comp.h: update proto
* gui/dialogs/comp-editor.c: remove no longer used needs_send
notification and signal
* gui/dialogs/comp-editor.h: remove proto
* gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): add new
param to send_component_dialog
(e_day_view_finish_long_event_resize): ditto
(e_day_view_finish_resize): ditto
(e_day_view_on_editing_stopped): ditto
(e_day_view_on_top_canvas_drag_data_received): ditto
* gui/e-week-view.c (e_week_view_on_editing_stopped): add new
param to send_component_dialog
svn path=/trunk/; revision=15204
2001-12-21 <jpr@ximian.com>
* gui/dialogs/comp-editor.h: inherit from bonobo window
* gui/dialogs/comp-editor.c: inherit from bonobo window
(comp_editor_key_press_event): Look for an escape key press and
close the window if found
svn path=/trunk/; revision=15202
2001-12-19 JP Rosevear <jpr@ximian.com>
* conduits/calendar/calendar-conduit.c (check_for_slow_setting):
go slow and clear the map if the last uri and the current uri do
not match
(post_sync): save the last uri
* conduits/calendar/calendar-conduit-config.h: handle a last uri
config option
* conduits/todo/todo-conduit-config.h: ditto
* conduits/calendar/calendar-conduit.c (start_calendar_server):
use the open_default_calendar method
* conduits/todo/todo-conduit.c (start_calendar_server): same as above
* cal-client/Makefile.am: link with bonobo conf
* cal-client/cal-client.h: new protos
* idl/evolution-calendar.idl: make sure open method raises
appropriate exceptions
* gui/e-itip-control.c (start_calendar_server): use
cal_client_open_default_* calls
* cal-client/cal-client.c (real_open_calendar): do the real work
of loading
(cal_client_open_calendar): use above
(get_fall_back_uri): get the basic local uri
(get_default_uri): get the default uri from the config db
(cal_client_open_default_calendar): open the default uri or the
fallback if the method is unsupported
(cal_client_open_default_tasks): same for tasks
svn path=/trunk/; revision=15179