aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-offline-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'GDM2_2_4_4_0'.GDM2_2_4_4_0nobody2003-06-291-331/+0
| | | | svn path=/tags/GDM2_2_4_4_0/; revision=21592
* guard against multiple destroysJP Rosevear2003-05-151-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys * cal-client/cal-client.c (cal_client_finalize): unref the bonobo listener * gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple destroy calls * gui/e-week-view.c (e_week_view_init): connect after destroy (invisible_destroyed): don't unref, its already destroyed * gui/e-day-view.c (e_day_view_init): connect after destroy (invisible_destroyed): don't unref, its already destroyed * gui/e-calendar-table.c (e_calendar_table_class_init): make sure we set the parent class (e_calendar_table_init): connect after the destroy handler runs (e_calendar_table_destroy): guard against multiple destroys (invisible_destroyed): don't unref the invisible, its already being destroyed * gui/calendar-offline-handler.c (backend_cal_set_mode): unref the client, we are done with it now (backend_cal_opened_online): ditto (impl_dispose): unref our main client * gui/calendar-commands.c (control_util_set_folder_bar_label): release/unref the shell view once we are done with it (control_util_show_settings): ditto svn path=/trunk/; revision=21180
* cast CalClient's to GObject, not GtkObject.Rodrigo Moya2003-03-051-4/+4
| | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online): cast CalClient's to GObject, not GtkObject. svn path=/trunk/; revision=20166
* Fixes #37881JP Rosevear2003-03-051-2/+38
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20161
* s/BonoboXObject/BonoboObject/Dan Winship2003-02-061-3/+3
| | | | | | | | * gui/calendar-offline-handler.c: s/BonoboXObject/BonoboObject/ * gui/comp-editor-factory.c: Likewise svn path=/trunk/; revision=19764
* Fixes some trivial, but distracting, warnings.Hans Petter Jansson2003-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> Fixes some trivial, but distracting, warnings. * gui/calendar-config.c (on_timezone_set): Fix constness. * gui/e-timezone-entry.c (on_button_clicked): Fix constness. * gui/dialogs/event-page.c (contacts_changed_cb): Fix constness. * gui/dialogs/task-page.c (contacts_changed_cb): Fix constness. * gui/e-itip-control.c (start_default_server): Cast callback with G_CALLBACK (). * gui/dialogs/schedule-page.c (init_widgets): Cast callback with G_CALLBACK (). * gui/calendar-offline-handler.c (impl_dispose): Takes GObject, not GtkObject. (impl_finalize): Ditto. * gui/calendar-view.c (calendar_view_edit): Now takes parent window as second arg. * gui/e-meeting-model.c (select_names_ok_cb): Fix constness. (get_select_name_dialog): Cast callback to BonoboListenerCallbackFn. * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): Add the push_in arg to arg list. This was crash-prone before. (e_meeting_time_selector_autopick_menu_position_callback): Ditto. * gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h. svn path=/trunk/; revision=19605
* (calendar_offline_handler_class_init): GObjectified.Ettore Perazzoli2002-11-091-15/+24
| | | | | | | | | | | | | | (impl_finalize): Finalize impl. (impl_dispose): Dispose impl. (calendar_offline_handler_new): Use g_object_new(). (backend_cal_opened): use g_signal_connect() instead of gtk_signal_connect(). (backend_go_offline): Likewise. (backend_cal_opened): g_object_unref() instead of gtk_object_unref(). (backend_go_offline): Likewise. svn path=/trunk/; revision=18671
* connect to "cal_set_mode" signal before calling cal_client_set_mode. Also,Rodrigo Moya2001-12-031-7/+5
| | | | | | | | | | | | 2001-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened): connect to "cal_set_mode" signal before calling cal_client_set_mode. Also, s/cal_mode_set/cal_set_mode (backend_go_offline): connect to "cal_opened" signal before calling cal_client_open_calendar svn path=/trunk/; revision=14848
* Fixing the license text.Ettore Perazzoli2001-10-281-1/+0
| | | | svn path=/trunk/; revision=14211
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* fix logic checksJP Rosevear2001-10-101-3/+9
| | | | | | | | | | | | | | | | | | | | | 2001-10-10 JP Rosevear <jpr@ximian.com> * pcs/cal-factory.c (add_uri): fix logic checks * gui/dialogs/event-editor.c (event_editor_init): init the exisiting_org boolean (set_menu_sens): base sensitivity on existing_org boolean (event_editor_edit_comp): set exisiting_org boolean * gui/dialogs/task-editor.c: same as above * gui/calendar-offline-handler.c (add_connection): handle the protocol or host being unknown * cal-util/cal-component.c (cal_component_has_organizer): implement svn path=/trunk/; revision=13552
* replace use of gnome_vfs_uri with e_uriRodrigo Moya2001-10-041-9/+6
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-03 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c: * gui/calendar-offline-handler.c: * gui/comp-editor-factory.c: replace use of gnome_vfs_uri with e_uri * gui/e-meeting-model.c (start_addressbook_server): make it return void, since the return value does not mind * pcs/cal.c: * pcs/cal-factory.c: * pcs/cal-backend.[ch]: don't use GnomeVFS for URI management * pcs/cal-backend-file.c: ditto, only use GnomeVFS for internal operations * cal-client/cal-client.c (cal_client_open_calendar): don't CORBA_exception_free before checking for exceptions svn path=/trunk/; revision=13380
* new protoJP Rosevear2001-09-261-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-26 JP Rosevear <jpr@ximian.com> * pcs/cal.h: new proto * pcs/cal.c (impl_Cal_set_mode): implement set mode method (cal_class_init): set setMode function in epv (cal_notify_mode): notify listener of mode change * pcs/cal-factory.c (add_uri): deal with UriType renaming * pcs/cal-backend.h: add new virtual methods and protos * pcs/cal-backend.c (cal_backend_class_init): init new virtual methods to null (cal_backend_set_mode): sets mode (cal_backend_get_mode): gets mode * pcs/cal-backend-file.c (cal_backend_file_class_init): overide get_mode and set_mode methods (cal_backend_file_get_mode): return mode (notify_mode): have listeners notified of the set mode call (cal_backend_file_set_mode): set the mode by indicating not supported * cal-client/cal-listener.h: update proto * cal-client/cal-listener.c (impl_notifyCalSetMode): implement set mode callback (cal_listener_construct): take set mode callback (cal_listener_new): ditto * cal-client/cal-client.h: update protos, add signal proto * cal-client/cal-client.c (cal_client_class_init): add cal_set_mode signal (cal_set_mode_cb): handle set mode callback from listener (cal_client_open_calendar): pass additional param to cal_listener_new (cal_client_set_mode): wrapper to set the calendar mode * idl/evolution-calendar.idl: make UriType into CalMode, add SetModeStatus enum and notifyCalSetMode method to the listener * gui/calendar-offline-handler.c (create_connection_list): fetch the uri list ourselves (impl_prepareForOffline): reflect param change of create_connect_list (update_offline): ditto (backend_cal_set_mode): set mode call back (backend_cal_opened): cal opened call back, set mode to local (impl_goOffline): reflect UriType renaming * cal-util/cal-util.h: rename UriType to CalMode svn path=/trunk/; revision=13142
* use bonobo-exception stuff to clean codeJP Rosevear2001-09-261-0/+267
2001-09-25 JP Rosevear <jpr@ximian.com> * pcs/cal.c: use bonobo-exception stuff to clean code * pcs/cal-factory.c (add_uri): add uri to the list if the type matches (impl_CalFactory_uriList): implement uriList method * pcs/cal-backend.h: new virtual function member * pcs/cal-backend.c (cal_backend_is_remote): call virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): override virtual function (cal_backend_file_is_remote): new virtual function, always return FALSE * idl/evolution-calendar.idl: uriList factory call, with flags for types to get * gui/dialogs/comp-editor.c (comp_editor_destroy): cast to remove warning * gui/e-itip-control.c (write_label_piece): kill warnings by take const char * * gui/component-factory.c (create_object): aggregate offline interface * gui/Makefile.am: compile new files * calobj.[hc]: Remove obsolete files * cal-util/cal-util.h: enum URI types for uriList call * cal-client/cal-client.c (build_uri_list): build list from string sequence (cal_client_uri_list): factory call to get uri list * cal-client/cal-client.h: new proto * cal-client/cal-client.c: use bonobo exception stuff to clean code * gui/calendar-offline-handler.[hc]: Start some skeleton routines for online/offline handling * pcs/cal-factory.c (launch_backend_for_uri): use accessor and remove FIXME svn path=/trunk/; revision=13110