aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-061-0/+5
| | | | | | | * Makefile.am: remove idldir definition. (It's defined in configure.in now) svn path=/trunk/; revision=19242
* Replace gtk_signal_disconnect_by_data() withHans Petter Jansson2002-12-191-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-19 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-commands.c (calendar_control_deactivate): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). Former takes GtkObject, latter takes GObject. * gui/calendar-model.c (calendar_model_destroy): Ditto. (update_query): Ditto. (calendar_model_set_cal_client): Ditto. * gui/e-day-view.c (e_day_view_destroy): Ditto. (update_query): Ditto. (e_day_view_set_cal_client): Ditto. * gui/e-tasks.c (query_eval_error_cb): Ditto. (query_query_done_cb): Ditto. * gui/e-week-view.c (e_week_view_destroy): Ditto. (update_query): Ditto. (e_week_view_set_cal_client): Ditto. * gui/gnome-cal.c (update_query): Ditto. (gnome_calendar_destroy): Ditto. * gui/tasks-control.c (tasks_control_deactivate): Ditto. * gui/e-comp-editor-registry.c (foreach_close_cb): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter takes GObject. * gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with E_MAKE_TYPE(). (alarm_page_class_init): Use GObject as base class instead of GtkObject, and set up finalization instead of destroy handler. (alarm_page_destroy): Change to alarm_page_finalize() and assume parent is GObject, not GtkObject. (alarm_page_new): Use g_object_new(), not gtk_type_new(). * gui/dialogs/event-page.c: Same general changes as above file. (update_time): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (clear_widgets): Ditto. (times_updated): Ditto. * gui/dialogs/recurrence-page.c: Same general changes as above file. (clear_widgets): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (append_exception): Ditto. (fill_ending_date): Ditto. (recurrence_page_fill_widgets): Ditto. * gui/dialogs/comp-editor.c: Same general changes as above file. (comp_editor_finalize): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). (comp_editor_remove_page): Ditto. * gui/dialogs/event-editor.c: Same general changes as above file. * gui/dialogs/meeting-page.c: Same general changes as above file. * gui/dialogs/schedule-page.c: Same general changes as above file. * gui/dialogs/task-details-page.c: Same general changes. * gui/dialogs/task-editor.c: Same general changes as above file. * gui/dialogs/task-page.c: Same general changes as above file. * gui/dialogs/e-delegate-dialog.c: Same general changes. svn path=/trunk/; revision=19167
* Use camel_text_to_html() instead.Jeffrey Stedfast2002-12-171-0/+5
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/e-itip-control.c (write_html): Use camel_text_to_html() instead. svn path=/trunk/; revision=19129
* Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>"Jeffrey Stedfast2002-12-161-14/+20
| | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/e-itip-control.c (write_html): Correctly convert text.value into HTML here (ie, don't pass "<i>None</i>" into e_text_to_html() if text.value is NULL). svn path=/trunk/; revision=19123
* Fixes #35003Rodrigo Moya2002-12-101-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Rodrigo Moya <rodrigo@ximian.com> Fixes #35003 * gui/misc.[ch] (get_uri_without_password): new function for removing the password from the CalClient's uris. * gui/gnome-cal.c (client_cal_opened_cb): use the URI returned by get_uri_without_password for messages. (backend_error_cb): likewise. (backend_died_cb): likewise. (gnome_calendar_open): likewise. (open_error, method_error, permission_error): likewise. * gui/e-tasks.c (e_tasks_open): hide the password from the URI being displayed in messages. (backend_error_cb): likewise. svn path=/trunk/; revision=19070
* Implement GType for this enumeration. (cal_query_class_init): Use theHans Petter Jansson2002-12-071-0/+9
| | | | | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-query.c (cal_query_done_status_enum_get_type): Implement GType for this enumeration. (cal_query_class_init): Use the enumeration instead of the abstract one. * cal-client/cal-query.h: Add type macro and proto for enum. svn path=/trunk/; revision=19050
* Fix changelog entry.Hans Petter2002-12-071-1/+1
| | | | svn path=/trunk/; revision=19049
* Pass the env argument to bonobo_control_set_property ().Hans Petter Jansson2002-12-071-0/+10
| | | | | | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * gui/component-factory.c (): Pass the env argument to bonobo_control_set_property (). * gui/e-meeting-model.c (class_init): We're no longer derived from GtkObject, so use GObject class methods instead. destroy->finalize. (destroy): Zapped. (finalize): Implement based on old destroy (). svn path=/trunk/; revision=19048
* Create a non-abstract enumeration type derived from GEnum.Hans Petter Jansson2002-12-071-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-client.c (cal_client_open_status_enum_get_type): Create a non-abstract enumeration type derived from GEnum. (cal_client_set_mode_status_enum_get_type): Ditto. (cal_mode_enum_get_type): Ditto. (cal_client_class_init): Use our enumerations and not the abstract one. (cal_client_finalize): Don't destroy factories, since the CalClient doesn't own them anymore. They're shared between CalClients now. (get_factories): Implement. Move the factory setup code here from cal_client_construct (), and cache the factories. This is hopefully temporary, until wombat goes away or is fixed. (cal_client_construct): Most of the code moved to get_factories (). * cal-client/cal-client.h: Add enumeration type macros and protos. * gui/cal-search-bar.c (cal_search_bar_get_type): Removed in favour of E_MAKE_TYPE, which uses GObject calls. (cal_search_bar_class_init): Use g_type_class_peek_parent (). * gui/calendar-model.c (calendar_model_get_type): (calendar_model_class_init): Ditto, like above file. * gui/calendar-view.c (calendar_view_get_type): (calendar_view_class_init): Ditto. * gui/e-calendar-table.c (e_calendar_table_get_type): (e_calendar_table_class_init): Ditto. * gui/e-comp-editor-registry.c (e_comp_editor_registry_get_type): (class_init): Ditto. * gui/e-day-view-main-item.c (e_day_view_main_item_get_type): (e_day_view_main_item_class_init): Ditto. * gui/e-day-view-time-item.c (e_day_view_time_item_get_type): (e_day_view_time_item_class_init): Ditto. * gui/e-day-view-top-item.c (e_day_view_top_item_get_type): (e_day_view_top_item_class_init): Ditto. * gui/e-day-view.c (e_day_view_get_type): (e_day_view_class_init): Ditto. * gui/e-itip-control.c (e_itip_control_get_type): (class_init): Ditto. * gui/e-meeting-attendee.c (e_meeting_attendee_get_type): (class_init): Ditto. * gui/e-meeting-model.c (e_meeting_model_get_type): (class_init): Ditto. * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_get_type): (e_meeting_time_selector_item_class_init): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_get_type): (e_meeting_time_selector_class_init): Ditto. * gui/e-timezone-entry.c (e_timezone_entry_get_type): (e_timezone_entry_class_init): Ditto. * gui/e-week-view-event-item.c (e_week_view_event_item_get_type): (e_week_view_event_item_class_init): Ditto. * gui/e-week-view-main-item.c (e_week_view_main_item_get_type): (e_week_view_main_item_class_init): Ditto. * gui/e-week-view-titles-item.c (e_week_view_titles_item_get_type): (e_week_view_titles_item_class_init): Ditto. * gui/gnome-cal.c (gnome_calendar_get_type): (gnome_calendar_class_init): Ditto. * gui/weekday-picker.c (weekday_picker_get_type): (weekday_picker_class_init): Ditto. * gui/e-week-view.c (e_week_view_get_type): (e_week_view_class_init): Ditto, but parent_class init was moved from get_type() to class_init(). * gui/calendar-view-factory.c (calendar_view_factory_get_type): (calendar_view_factory_class_init): Ditto, and set up finalize callback instead of destroy. (calendar_view_factory_finalize): It's a GObject, so implement this. (celendar_view_factory_destroy): Move code to _finalize() and remove. * gui/main.c (init_bonobo): Remove extraneous bonobo_activation_init(). svn path=/trunk/; revision=19043
* run fix.sh over this.Not Zed2002-12-021-0/+6
| | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * gui/itip-utils.[ch]: run fix.sh over this. * gui/dialogs/*.[ch]: run fix.sh over all of this. 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18972
* removed extra call to CORBA_exception_init.Richard Li2002-11-261-0/+5
| | | | | | | | | 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. svn path=/trunk/; revision=18920
* Changed e_messagebox -> gtk_messagedialog.Not Zed2002-11-251-0/+5
| | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18903
* pass type to bonobo_control_set_property.Not Zed2002-11-211-0/+5
| | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * gui/component-factory.c (create_view): pass type to bonobo_control_set_property. svn path=/trunk/; revision=18872
* fix typo, servers_in_files -> server_in_files.Not Zed2002-11-201-0/+5
| | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * gui/Makefile.am (EXTRA_DIST): fix typo, servers_in_files -> server_in_files. svn path=/trunk/; revision=18853
* Added rule to generate GNOME_Evolution_Calendar.server.in fromEttore Perazzoli2002-11-201-0/+12
| | | | | | | | | | | | | | * Makefile.am: Added rule to generate GNOME_Evolution_Calendar.server.in from GNOME_Evolution_Calendar.server.in.in, substituting @LIBEXECDIR@. Also, install evolution-calendar in $libexecdir instead of $bindir. * gui/GNOME_Evolution_Calendar.server.in.in: Renamed from GNOME_Evolution_Calendar.server.in. Prepended the executable name with @LIBEXECDIR@. svn path=/trunk/; revision=18847
* pass type to bonobo_widget::set_property. (select_names_ok_cb): ", forNot Zed2002-11-191-0/+15
| | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * gui/e-meeting-model.c (get_select_name_dialog): pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for get_property. * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): pass type to bonobo_widget::set_property & plug small leak. (e_delegate_dialog_get_delegate): ", for get_property. (e_delegate_dialog_get_delegate_name): " * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): pass type to bonobo_widget::set_property. (comp_editor_contacts_to_component): ", for get_property svn path=/trunk/; revision=18835
* use new e_table_header_compute_height signature.Chris Toshok2002-11-171-0/+5
| | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): use new e_table_header_compute_height signature. svn path=/trunk/; revision=18802
* Use bonobo_main_quit instead of gtkRodney Dawes2002-11-161-0/+4
| | | | | | * gui/component-factory.c: Use bonobo_main_quit instead of gtk svn path=/trunk/; revision=18787
* #include <string.h> (obj_removed_cb): Fixed prototype.Federico Mena Quintero2002-11-141-0/+10
| | | | | | | | | | | | | | 2002-11-13 Federico Mena Quintero <federico@ximian.com> * cal-client/cal-query.c: #include <string.h> (obj_removed_cb): Fixed prototype. * cal-client/cal-client.c (get_objects_atomically): Fix use of g_signal_handler_disconnect(). * cal-client/client-test.c (create_client): Add G_CALLBACK casts. svn path=/trunk/; revision=18744
* #include <string.h>Federico Mena Quintero2002-11-131-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-12 Federico Mena Quintero <federico@ximian.com> * pcs/cal-backend-util.c: #include <string.h> * pcs/cal.c: Fixed prototypes of the CORBA method implementations. * pcs/cal-backend-file.c (cal_backend_file_dispose): Added a dispose method. (cal_backend_file_get_free_busy): Converted to use EConfigListener rather than BonoboConfigDatabase. * gui/alarm-notify/alarm-notify.c: #include <string.h>, fix use of g_hash_table_lookup_extended(). * gui/alarm-notify/alarm-notify-dialog.c: Substitute deprecated GTK+ functions for new ones. * gui/alarm-notify/alarm-queue.c: Likewise. * gui/alarm-notify/notify-main.c: #include <string.h>, <gtk/gtkmain.h>. * gui/alarm-notify/save.c: #include <string.h>. svn path=/trunk/; revision=18726
* Use g_object_set_data(..., NULL) instead of gtk_object_remove_data().Ettore Perazzoli2002-11-091-20/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/calendar-commands.c (calendar_control_deactivate): Use g_object_set_data(..., NULL) instead of gtk_object_remove_data(). * gui/calendar-commands.c: Use g_object_{set,get}_* functions instead of gtk_object_{set,get}_*. * gui/calendar-commands.c: Likewise. * gui/calendar-config.c: Likewise. * gui/control-factory.c: Likewise. * gui/e-calendar-table.c: Likewise. * gui/e-comp-editor-registry.c: Likewise. * gui/e-day-view-main-item.c: Likewise. * gui/e-day-view-time-item.c: Likewise. * gui/e-day-view-top-item.c: Likewise. * gui/e-day-view.c: Likewise. * gui/e-meeting-attendee.c: Likewise. * gui/e-meeting-model.c: Likewise. * gui/e-meeting-time-sel-item.c: Likewise. * gui/e-meeting-time-sel.c: Likewise. * gui/e-week-view-event-item.c: Likewise. * gui/e-week-view-layout.c: Likewise. * gui/e-week-view-main-item.c: Likewise. * gui/e-week-view-titles-item.c: Likewise. * gui/e-week-view.c: Likewise. * gui/gnome-cal.c: Likewise. * gui/print.c: Likewise. svn path=/trunk/; revision=18674
* Use g_object_ref()/g_object_unref() instead ofEttore Perazzoli2002-11-091-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * calendar-commands.c: Use g_object_ref()/g_object_unref() instead of gtk_object_ref/gtk_object_unref(). * calendar-config.c: Likewise. * calendar-model.c: Likewise. * comp-editor-factory.c: Likewise. * comp-util.c: Likewise. * e-calendar-table.c: Likewise. * e-day-view.c: Likewise. * e-itip-control.c: Likewise. * e-meeting-model.c: Likewise. * e-meeting-time-sel.c: Likewise. * e-tasks.c: Likewise. * e-timezone-entry.c: Likewise. * e-week-view.c: Likewise. * gnome-cal.c: Likewise. * goto.c: Likewise. * itip-utils.c: Likewise. * print.c: Likewise. * tasks-control.c: Likewise. * tasks-migrate.c: Likewise. * gui/cal-search-bar.c: Use g_object_new() instead of gtk_type_new(). * gui/calendar-model.c: Likewise. * gui/calendar-view-factory.c: Likewise. * gui/calendar-view.c: Likewise. * gui/calendar-view.c: Likewise. * gui/comp-editor-factory.c: Likewise. * gui/e-calendar-table.c: Likewise. * gui/e-cell-date-edit-text.c: Likewise. * gui/e-comp-editor-registry.c: Likewise. * gui/e-day-view.c: Likewise. * gui/e-itip-control.c: Likewise. * gui/e-meeting-attendee.c: Likewise. * gui/e-meeting-attendee.c: Likewise. * gui/e-meeting-model.c: Likewise. * gui/e-meeting-time-sel.c: Likewise. * gui/e-tasks.c: Likewise. * gui/e-timezone-entry.c: Likewise. * gui/e-week-view.c: Likewise. * gui/gnome-cal.c: Likewise. * gui/weekday-picker.c: Likewise. * gui/e-itip-control.c (get_servers): g_object_unref the shell_client instead of using bonobo_object_unref(). * gui/component-factory.c (owner_set_cb): Use evolution_shell_client_corba_objref() instead of bonobo_object_corba_objref(). svn path=/trunk/; revision=18673
* Use g_signal_connect() instead of gtk_signal_connect(). Likewise.Ettore Perazzoli2002-11-091-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/calendar-commands.c: Use g_signal_connect() instead of gtk_signal_connect(). * calendar-commands.c: Likewise. * calendar-config.c: Likewise. * calendar-model.c: Likewise. * comp-editor-factory.c: Likewise. * component-factory.c: Likewise. * control-factory.c: Likewise. * e-calendar-table.c: Likewise. * e-comp-editor-registry.c: Likewise. * e-day-view-time-item.c: Likewise. * e-day-view.c: Likewise. * e-itip-control.c: Likewise. * e-meeting-model.c: Likewise. * e-meeting-time-sel.c: Likewise. * e-tasks.c: Likewise. * e-timezone-entry.c: Likewise. * e-week-view.c: Likewise. * gnome-cal.c: Likewise. * goto.c: Likewise. * tasks-control.c: Likewise. * tasks-migrate.c: Likewise. * weekday-picker.c: Likewise. svn path=/trunk/; revision=18672
* (calendar_offline_handler_class_init): GObjectified.Ettore Perazzoli2002-11-091-0/+14
| | | | | | | | | | | | | | (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
* use GLib macros.Rodrigo Moya2002-11-081-0/+8
| | | | | | | | | | | | 2002-11-08 Rodrigo Moya <rodrigo@ximian.com> * importers/evolution-calendar-importer.h: use GLib macros. * importers/main.c (init_importer): use bonobo_generic_factory_new, not bonobo_generic_factory_new_multi. (main): don't use libgnome functions. svn path=/trunk/; revision=18666
* don't use GTK, we don't need it.Rodrigo Moya2002-11-081-0/+4
| | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * cal-client/client-test.c: don't use GTK, we don't need it. svn path=/trunk/; revision=18653
* Initial port of gui/ subdir to GNOME 2JP Rosevear2002-11-081-0/+4
| | | | | | | | 2002-11-07 JP Rosevear <jpr@ximian.com> * Initial port of gui/ subdir to GNOME 2 svn path=/trunk/; revision=18648
* removed non-existant headers.Rodrigo Moya2002-11-081-0/+9
| | | | | | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c: removed non-existant headers. * importers/Makefile.am: changes for BonoboActivation. * gui/GNOME_Evolution_Calendar.server.in: install to $libdir, not $datadir. svn path=/trunk/; revision=18640
* converted to BonoboObject.Rodrigo Moya2002-11-081-0/+13
| | | | | | | | | | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * cal-client/query-listener.[ch]: converted to BonoboObject. * gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's g_utf8_strchr. * gui/dialogs/delete-comp.c: removed non-existant headers. Use GtkStock instead of GnomeStock. * gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation. (e_delegate_dialog_construct): adapted to changes in glade_xml_new. svn path=/trunk/; revision=18632
* converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref theRodrigo Moya2002-11-071-0/+8
| | | | | | | | | | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal.[ch]: converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref the query returned by cal_backend_get_query if we can't duplicate it. * pcs/query.[ch]: * pcs/cal-factory.[ch]: converted to BonoboObject. * pcs/query-backend.[ch]: * pcs/cal-backend-file.[ch]: * pcs/cal-backend.[ch]: GObjectify. svn path=/trunk/; revision=18630
* GObjectify.Rodrigo Moya2002-11-071-0/+5
| | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.[ch]: * pcs/cal-backend.[ch]: GObjectify. svn path=/trunk/; revision=18629
* #include gtkoptionmenu.h. (cal_prefs_dialog_new): adapted to changes inRodrigo Moya2002-11-071-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/cal-prefs-dialog.c: #include gtkoptionmenu.h. (cal_prefs_dialog_new): adapted to changes in glade_xml_new. * gui/dialogs/event-page.h: * gui/dialogs/meeting-page.h: * gui/dialogs/recurrence-page.h: * gui/dialogs/schedule-page.h: * gui/dialogs/task-details-page.h: * gui/dialogs/task-page.h: * gui/cal-prefs-dialog.h: use correctly the macros. * gui/dialogs/cancel-comp.c: * gui/dialogs/changed-comp.c: * gui/dialogs/comp-editor-page.c: * gui/gnome-cal.h: removed non-existent headers. * gui/dialogs/comp-editor.c: remove non-existent headers. (close_dialog): gtk_widget_destroy the widget. (setup_widgets, comp_editor_merge_ui): use BonoboWindow correctly. (comp_editor_set_cal_client, comp_editor_send_comp, comp_editor_edit_comp): use G_OBJECT_GET_CLASS for getting the class of an object. * gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): use g_signal_* functions. * gui/dialogs/comp-editor-util.c: converted to BonoboActivation. * gui/dialogs/comp-editor.h: #include bonobo-window.h, not bonobo-win.h. svn path=/trunk/; revision=18622
* renmaed .oaf.in files.Rodrigo Moya2002-11-071-0/+8
| | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in: * gui/GNOME_Evolution_Calendar.server.in: renmaed .oaf.in files. * gui/alarm-notify/Makefile.am: * gui/Makefile.am: fixed rules for .server files. svn path=/trunk/; revision=18619
* don't return a Bonobo_EventSource_ListenerId, since it does not existRodrigo Moya2002-11-071-0/+13
| | | | | | | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor-util.[ch] (comp_editor_connect_contacts_changed): don't return a Bonobo_EventSource_ListenerId, since it does not exist anymore, and was not even being used. * gui/e-timezone-entry.h: use GLib macros. * gui/dialogs/*.glade: * gui/alarm-notify/*.glade: * gui/*.glade: converted to Glade2 format. svn path=/trunk/; revision=18616
* adapted to to new glade_xml_new signature.Rodrigo Moya2002-11-071-0/+11
| | | | | | | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/alarm-options.c (alarm_options_dialog_run): adapted to to new glade_xml_new signature. * gui/calendar-model.h: * gui/dialogs/comp-editor-page.h: * gui/dialogs/alarm-page.[ch]: removed non-existant header files. * gui/dialogs/comp-editor-util.h: added missing headers. svn path=/trunk/; revision=18615
* use libxml2 headers.Rodrigo Moya2002-11-051-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.c: use libxml2 headers. * gui/alarm-notify/Makefile.am: * gui/dialogs/Makefile.am: * gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of $(ORBIT_IDL). * gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject. * gui/alarm-notify/alarm-notify-dialog.c: compilation fixes. (alarm_notify_dialog): adapted to new glade_xml_new signature. * gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and GtkStock and GtkDialog. * gui/alarm-notify/notify-main.c: ported to BonoboActivation and use GObject functions instead of GtkObject ones. * gui/alarm-notify/save.h: removed BonoboConfig related functions. * gui/alarm-notify/config-data.c: use GObject functions instead of GtkObject ones. * TODO.port: added file for keeping track of disabled things while we port. svn path=/trunk/; revision=18550
* added new marshallers.Rodrigo Moya2002-11-051-0/+17
| | | | | | | | | | | | | | | | | | | | | 2002-11-04 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util-marshal.list: added new marshallers. * cal-client/cal-client.c (get_objects_atomically): fixed calls to g_signal_handler_disconnect_by_func. (cal_client_class_init): fixed typos. * cal-client/cal-client-multi.[ch]: * cal-client/cal-client-types.c: * cal-client/cal-query.[ch]: ported to GObject. * cal-client/cal-listener.[ch]: converted to BonoboObject. * cal-client/Makefile.am: * pcs/Makefile.am: fixed flags for orbit-idl svn path=/trunk/; revision=18547
* added marshallers.Rodrigo Moya2002-11-051-0/+7
| | | | | | | | | | | 2002-11-04 Rodrigo Moya <rodrigo@ximian.com> * cal-util/Makefile.am: * cal-util/cal-util-marshal.list: added marshallers. * cal-client/cal-client.[ch]: ported to GObject. svn path=/trunk/; revision=18532
* ported to GObject.Rodrigo Moya2002-11-041-0/+7
| | | | | | | | | | | 2002-11-04 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-component.[ch]: ported to GObject. * cal-util/cal-util.c (cal_util_generate_alarms_for_comp): use g_object_* instead of gtk_object_*. svn path=/trunk/; revision=18525
* use EConfigListener instead of BonoboConfig.Rodrigo Moya2002-11-041-0/+9
| | | | | | | | | | | | | 2002-11-03 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (get_default_uri): use EConfigListener instead of BonoboConfig. * cal-client/cal-client.c: * cal-client/cal-listener.[ch]: * cal-client/query-listener.c: warning free. svn path=/trunk/; revision=18517
* don't use BonoboConfig, but EConfigListener.Rodrigo Moya2002-11-041-0/+8
| | | | | | | | | | | | 2002-11-03 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-util.[ch]: don't use BonoboConfig, but EConfigListener. * gui/calendar-config.c: use /apps/Evolution prefix for all configuration keys. svn path=/trunk/; revision=18515
* cal-client/cal-listener.hRodrigo Moya2002-11-021-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-31 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-component.[ch]: * cal-util/cal-recur.h: * cal-util/cal-util.[ch]: * cal-client/cal-client.h: * cal-client/cal-client-multi.h: * cal-client/cal-client-types.[ch]: * cal-client/cal-listener.h * cal-client/cal-query.[ch]: * cal-client/query-listener.h: * pcs/cal.h: * pcs/cal-backend.[ch]: * pcs/cal-backend-file.h: * pcs/cal-backend-util.h: * pcs/cal-common.h: * pcs/cal-factory.h: * pcs/query.[ch]: * pcs/query-backend.[ch]: started GNOME 2 porting. cal-util, cal-client and pcs compiled ok. * cal-client/cal-client.c (cal_client_construct): * pcs/cal-factory.c: use b-a instead of OAF and bonobo-config instead of bonobo-conf. svn path=/trunk/; revision=18496
* cleaned up the status bar messages for all widgets.Rodrigo Moya2002-10-301-0/+5
| | | | | | | | | 2002-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (backend_died_cb): cleaned up the status bar messages for all widgets. svn path=/trunk/; revision=18467
* Update with bug numbers.JP Rosevear2002-10-261-1/+7
| | | | svn path=/trunk/; revision=18441
* initialize new values (clean_up): free new values (find_my_address): if weJP Rosevear2002-10-241-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-24 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (init): initialize new values (clean_up): free new values (find_my_address): if we have a delegator address, use it instead (write_html): display delegator info to user (show_current_event): if we have a calendar uri, use that and describe the event differently (show_current_todo): ditto (show_current): search for delegator X properties (e_itip_control_set_delegator_address): accessor (e_itip_control_get_delegator_address): ditto (e_itip_control_set_delegator_name): ditto (e_itip_control_get_delegator_name): ditto (e_itip_control_set_calendar_uri): ditto (e_itip_control_get_calendar_uri): ditto * gui/e-itip-control.h: add protos * gui/itip-utils.c (comp_from): use the first attendee as the from address for things other than request, cancel and add (use organizer) and publish (use default address) svn path=/trunk/; revision=18425
* Fixes #32613Rodrigo Moya2002-10-231-0/+8
| | | | | | | | | | | | 2002-10-23 Rodrigo Moya <rodrigo@ximian.com> Fixes #32613 * gui/component-factory.c (sc_user_create_new_item_cb): use the default calendar/tasks folder to activate the component editor. (get_data_uri): deal correctly with the URIs being used. svn path=/trunk/; revision=18415
* fix warningJP Rosevear2002-10-231-1/+6
| | | | | | | | 2002-10-23 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): fix warning svn path=/trunk/; revision=18414
* Fixes #32371Rodrigo Moya2002-10-231-0/+7
| | | | | | | | | | | 2002-10-22 Rodrigo Moya <rodrigo@ximian.com> Fixes #32371 * pcs/query.c (start_cached_query_cb): CORBA_exception_init the CORBA_Environment before using it. svn path=/trunk/; revision=18413
* use NULL for pointer instead of FALSE.Rodrigo Moya2002-10-231-0/+5
| | | | | | | | | 2002-10-22 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (lookup_backend): use NULL for pointer instead of FALSE. svn path=/trunk/; revision=18411
* use e_config_listener_* to get values (itip_addresses_get): dittoJP Rosevear2002-10-231-0/+11
| | | | | | | | | | | | | | | | 2002-10-22 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (get_address): use e_config_listener_* to get values (itip_addresses_get): ditto (itip_addresses_get_default): ditto * gui/calendar-model.c (calendar_model_value_to_string): don't send back a null string (affects if it is the group header) (calendar_model_init): pre load config database info so we don't do corba calls during draws svn path=/trunk/; revision=18410
* fix c/p typeJP Rosevear2002-10-181-0/+4
| | | | | | | | 2002-10-17 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_construct): fix c/p type svn path=/trunk/; revision=18390
* if the value is a datetime, convert it to a dateJP Rosevear2002-10-181-0/+14
| | | | | | | | | | | | | | | | | | 2002-10-17 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (fill_ending_date): if the value is a datetime, convert it to a date * gui/itip-utils.c (comp_compliant): convert an UNTIL date value to a datetime value * cal-util/cal-component.c (cal_component_has_simple_recurrence): check to see if the component recurrences meet our definition of "simple" * cal-util/cal-component.h: new proto svn path=/trunk/; revision=18389
* changed to have a gboolean return type, which is what it's supposed to do.Rodrigo Moya2002-10-181-0/+9
| | | | | | | | | | | | | 2002-10-17 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/recurrence-page.c (fill_component): changed to have a gboolean return type, which is what it's supposed to do. (recurrence_page_fill_component): return the result from fill_component. * gui/dialogs/comp-editor-page.h: fixed typo in function prototype. svn path=/trunk/; revision=18387
* try to preserve the work week view setting if it makes sense (set_view):JP Rosevear2002-10-161-0/+8
| | | | | | | | | | | | 2002-10-11 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): try to preserve the work week view setting if it makes sense (set_view): don't update the info again based on our view change call svn path=/trunk/; revision=18369
* Fixes #11434Rodrigo Moya2002-10-091-0/+17
| | | | | | | | | | | | | | | | | | | | | 2002-10-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #11434 * gui/dialogs/comp-editor-page.[ch] (comp_editor_page_display_validation_error): new function. * gui/dialogs/event-page.c (event_page_fill_component): * gui/dialogs/recurrence-page.c (fill_component): * gui/dialogs/task-details-page.c (task_details_page_fill_component): * gui/dialogs/task-page.c (task_page_fill_component): added checks for all date values, and return FALSE if we find some invalid date/times. * gui/dialogs/comp-editor.c (save_comp): activate the page that returns error in fill_component. svn path=/trunk/; revision=18352
* set the 24 hour format initiallyJP Rosevear2002-10-091-0/+12
| | | | | | | | | | | | | | | | 2002-10-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_create_time_edit): set the 24 hour format initially 2002-10-08 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c: remove pilot settings from contextual menu * gui/e-day-view.c: ditto svn path=/trunk/; revision=18351
* Fixes #31774Rodrigo Moya2002-10-081-0/+7
| | | | | | | | | | | 2002-10-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #31774 * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, palarm_widgets_to_alarm): use correct pointer in loop. svn path=/trunk/; revision=18346
* cast the correct itemJP Rosevear2002-10-081-0/+5
| | | | | | | | | 2002-10-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct item svn path=/trunk/; revision=18345
* Fixes crash in #19159Rodrigo Moya2002-10-071-0/+10
| | | | | | | | | | | | | | 2002-10-07 Rodrigo Moya <rodrigo@ximian.com> Fixes crash in #19159 * gui/alarm-notify/alarm-queue.c (lookup_queued_alarm): don't crash if we don't find the queued alarm in the internal list. (alarm_trigger_cb, create_snooze, display_notification, audio_notification, procedure_notification, remove_queued_alarm): check return value from lookup_queued_alarm. svn path=/trunk/; revision=18331
* Fixes #15892Rodrigo Moya2002-10-071-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #15892 * idl/evolution-calendar.idl: added notifyErrorOccurred method to the Listener interface, so that backends can notify clients of errors that can't be reported otherwise. * pcs/cal.[ch] (cal_notify_error): new function. * pcs/cal-backend-file.c (save): made to save to temporary file and then moved to the correct file, so that we don't lose any data if there's a problem while saving. (notify_error): new function for notifying error messages to clients. * cal-client/cal-listener.[ch]: added new callback function for getting error messages from backends. (impl_notifyErrorOccurred): new method implementation. (cal_listener_class_init): initialize new epv member. (cal_listener_init, cal_listener_destroy, cal_listener_construct, cal_listener_new): initialize new function pointer. * cal-client/cal-client.[ch]: adapted to changes in CalListener class. (cal_client_class_init): added "backend_error" signal to CalClient class. (backend_error_cb): callback for "error_occurred" signal on the CalListener, which just emits the "backend_error" signal of CalClient. * gui/gnome-cal.c (gnome_calendar_construct): connect to "backend_error" signal on the CalClient's we create. (backend_error_cb): display error message on error from backend. * gui/e-tasks.c: likewise. svn path=/trunk/; revision=18329
* removed unneeded g_assert which was preventing the alarm daemon to startRodrigo Moya2002-10-031-0/+6
| | | | | | | | | | 2002-10-02 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): removed unneeded g_assert which was preventing the alarm daemon to start correctly in some cases. svn path=/trunk/; revision=18317
* Fixes #30057Rodrigo Moya2002-10-031-0/+17
| | | | | | | | | | | | | | | | | | | | | 2002-10-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #30057 * cal-client/cal-client.c (cal_client_is_read_only): added check of the status of the client before trying to make CORBA calls. * gui/calendar-commands.c (sensitize_calendar_commands, sensitize_taskpad_commands): * gui/tasks-control.c (sensitize_commands): * gui/dialogs/event-editor.c (set_menu_sens): * gui/dialogs/task-editor.c (set_menu_sens): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/e-day-view.c (e_day_view_on_event_right_click): * gui/e-week-view.c (e_week_view_show_popup_menu): take into account the read-onlyness of clients to disable/enable menu items. svn path=/trunk/; revision=18316
* added isReadOnly method to Cal interface.Rodrigo Moya2002-10-021-0/+15
| | | | | | | | | | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added isReadOnly method to Cal interface. * pcs/cal.c (impl_Cal_is_read_only): new method implementation. * pcs/cal-backend.[ch]: added is_read_only method to CalBackend class. (cal_backend_is_read_only): new function. * pcs/cal-backend-file.c (cal_backend_file_is_read_only): new method. (cal_backend_file_class_init): set new signal's virtual method. * cal-client/cal-client.[ch] (cal_client_is_read_only): new function. svn path=/trunk/; revision=18282
* Fixes #15710Rodrigo Moya2002-10-011-0/+13
| | | | | | | | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * gui/dialogs/alarm-page.c (alarm_page_init): added a X-EVOLUTION-NEEDS-DESCRIPTION property, so that we later set it correctly if it hasn't been set in the meanwhile (editing options for the alarm). * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, palarm_widgets_to_alarm): removed X-EVOLUTION-NEEDS-DESCRIPTION property from alarms every time we set the description of the alarm. svn path=/trunk/; revision=18277
* Fixes #30290Rodrigo Moya2002-10-011-0/+7
| | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #30290 * importers/icalendar-importer.c (process_item_fn): return a status of BUSY rather than NOT_READY, to avoid the display of the error message. svn path=/trunk/; revision=18276
* load multi_day_split (calconduit_save_configuration): save itJP Rosevear2002-10-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | 2002-09-30 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (calconduit_load_configuration): load multi_day_split (calconduit_save_configuration): save it (calconduit_dupe_configuration): copy it (e_cal_gui_new): create gui for it (e_cal_gui_fill_widgets): fill gui with value (e_cal_gui_fill_config): get value from gui and store in config (e_calendar_context_destroy): destroy new_cfg and gui properly (process_multi_day): skip item if its multi-day and we don't want to split (fill_widgets): fill local config widgets (create_settings_window): create local config widgets (save_settings): fill config from local widgets Fixes #23763 svn path=/trunk/; revision=18269
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-011-0/+7
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Remove "/Toolbar/New" and "/Toolbar/NewTask" since they're not there anyDan Winship2002-09-281-0/+6
| | | | | | | | * gui/calendar-commands.c (pixmaps): Remove "/Toolbar/New" and "/Toolbar/NewTask" since they're not there any more. Kills some bonobo-ui spewage. svn path=/trunk/; revision=18254
* Non-Connector part of #29334 (meeting created by a delegate in theDan Winship2002-09-281-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delegator's calendar should have the delegator as Organizer). * idl/evolution-calendar.idl: add Cal_getEmailAddress, to return the email address associated with a backend (if any). * pcs/cal-backend.c (cal_backend_get_email_address): New. * pcs/cal-backend-file.c (cal_backend_file_get_email_address): Return NULL (for now). * pcs/cal.c (impl_Cal_get_email_address): Implement this by calling cal_backend_get_email_address and returning a NotFound exception if it returns NULL. * cal-client/cal-client.c (cal_client_get_email_address): New. (cal_client_init, cal_client_destroy, etc): initialize/free email_address * gui/dialogs/event-editor.c (event_editor_construct): Split this out of event_editor_init. Take and set a CalClient. (event_editor_new): Take a CalClient. * gui/dialogs/task-editor.c (task_editor_construct, task_editor_new): Likewise. * gui/dialogs/meeting-page.c (meeting_page_new, meeting_page_construct): Take a CalClient and call cal_client_get_email_address to find the default organizer address. (Also fix a bug if the default account's name has non-ASCII characters.) * gui/itip-utils.c (comp_from): New. When sending a REQUEST or CANCEL, use the Organizer as the From address. (itip_send_comp): Call comp_from and pass the result to Composer_setHeaders. * gui/comp-editor-factory.c (edit_existing, edit_new): Pass the CalClient to event_editor_new/task_editor_new * gui/e-calendar-table.c (open_task): Likewise. * gui/e-tasks.c (e_tasks_new_task): Likewise. * gui/gnome-cal.c (gnome_calendar_edit_object, gnome_calendar_new_task): Likewise. svn path=/trunk/; revision=18253
* only change the attendee value if it isn't emptyJP Rosevear2002-09-271-0/+5
| | | | | | | | | 2002-09-26 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (set_value_at): only change the attendee value if it isn't empty svn path=/trunk/; revision=18234
* Should fix once for all #24210Rodrigo Moya2002-09-261-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2002-09-26 Rodrigo Moya <rodrigo@ximian.com> Should fix once for all #24210 * idl/evolution-calendar.idl: changed the notifyObjUpdated method of the QueryListener interface accept a list of UIDs. * cal-client/query-listener.[ch] (impl_notifyObjUpdated): likewise for the QueryListener class. * cal-client/cal-query.c (obj_updated_cb): changed to adapt the multiple-id's received in the QueryListener class' signal to the one-by-one update notification of the public CalQuery class, thus keeping the changes needed for this minimal. * pcs/query.c (add_component, start_cached_query_cb): changed to send sequences of UIDs. svn path=/trunk/; revision=18232
* Add "calendar/public" and "tasks/public". (type_is_calendar,Dan Winship2002-09-261-0/+15
| | | | | | | | | | | | | | | | | * gui/component-factory.c (folder_types): Add "calendar/public" and "tasks/public". (type_is_calendar, type_is_tasks): New utility functions (create_view, create_folder, remove_folder, xfer_folder, sc_user_create_new_item_cb): Use type_is_calendar/type_is_tasks * importers/icalendar-importer.c (get_uri_from_folder_path): allow importing into public calendar/task folders too. * gui/e-itip-control.c: Note that it's intentional that we use "calendar" and "tasks" here instead of "calendar/*" and "tasks/*". (31032) svn path=/trunk/; revision=18222
* if the item being sent is not a meeting, send it as a mixed item with aJP Rosevear2002-09-261-0/+8
| | | | | | | | | | | | 2002-09-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): if the item being sent is not a meeting, send it as a mixed item with a description and the calendar text in an attachment Fixes #30638 svn path=/trunk/; revision=18215
* Fixes #27961Rodrigo Moya2002-09-251-0/+7
| | | | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #27961 * pcs/cal-backend-file.c (cal_backend_file_update_object): set the LAST-MODIFIED time of the components when we save them. svn path=/trunk/; revision=18213
* return a builtin timezone if we don't find the timezone in our component.Rodrigo Moya2002-09-251-0/+6
| | | | | | | | | | 2002-09-24 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_get_timezone_object, cal_backend_file_get_timezone): return a builtin timezone if we don't find the timezone in our component. svn path=/trunk/; revision=18202
* make sure the start/end for no time palm events are DATE values, tidy codeJP Rosevear2002-09-241-0/+6
| | | | | | | | | | 2002-09-24 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (comp_from_remote_record): make sure the start/end for no time palm events are DATE values, tidy code slightly svn path=/trunk/; revision=18199
* convert to date values if the original start and end were both datesJP Rosevear2002-09-241-0/+6
| | | | | | | | | | 2002-09-24 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (process_multi_day): convert to date values if the original start and end were both dates svn path=/trunk/; revision=18198
* unref the query since now the query object on the server keeps a copy ofRodrigo Moya2002-09-241-0/+4
| | | | | | | | | | 2002-09-24 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-query.c (cal_query_destroy): unref the query since now the query object on the server keeps a copy of it and must know when the listener is no longer valid. svn path=/trunk/; revision=18196
* unref the QueryListener object. (query_construct): create anRodrigo Moya2002-09-241-0/+6
| | | | | | | | | | 2002-09-24 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (listener_died_cb): unref the QueryListener object. (query_construct): create an EComponentListener for the non-cached queries' listeners also. svn path=/trunk/; revision=18195
* add libeutil to the linkJP Rosevear2002-09-241-0/+8
| | | | | | | | | | 2002-09-23 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: add libeutil to the link * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=18172
* fix non-ANSI switch statements.Dan Winship2002-09-231-0/+10
| | | | | | | | | | | | * pcs/cal.c (imple_Cal_update_objects, impl_Cal_remove_object): fix non-ANSI switch statements. * gui/e-meeting-model.c (is_cell_editable, value_is_empty, process_free_busy_comp): Likewise * gui/itip-utils.c (comp_compliant): Likewise. svn path=/trunk/; revision=18169
* install an idle callback that will start the alarm daemon.Rodrigo Moya2002-09-231-0/+4
| | | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> * gui/main.c (launch_alarm_daemon): install an idle callback that will start the alarm daemon. (launch_alarm_daemon_cb): actually activate the alarm daemon here. svn path=/trunk/; revision=18168
* remove timeout function always and re-add it if the query is in progress.Rodrigo Moya2002-09-231-0/+5
| | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (start_cached_query_cb): remove timeout function always and re-add it if the query is in progress. svn path=/trunk/; revision=18166
* move success notification code to its own code block, since it was beingRodrigo Moya2002-09-231-0/+7
| | | | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (start_cached_query_cb): move success notification code to its own code block, since it was being run for parse errors also. Also, remove all traces of the query from the cache if there is an error. Also, use GINT_TO_POINTER instead of GPOINTER_TO_INT. svn path=/trunk/; revision=18165
* Fixes #28310Rodrigo Moya2002-09-231-0/+2
| | | | | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> Fixes #28310 * gui/alarm-notify/save.c (save_notification_time): only save the new notification time if it is bigger than the already saved one. This should avoid some reminders showing up twice. svn path=/trunk/; revision=18163
* only save the new notification time if it is bigger than the already savedRodrigo Moya2002-09-231-0/+6
| | | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (save_notification_time): only save the new notification time if it is bigger than the already saved one. This should avoid some reminders showing up twice. svn path=/trunk/; revision=18162
* check to see if the component is already on the server or notJP Rosevear2002-09-211-0/+15
| | | | | | | | | | | | | | | | | | | 2002-09-20 JP Rosevear <jpr@ximian.com> * gui/comp-util.c (cal_comp_is_on_server): check to see if the component is already on the server or not * gui/comp-util.h: change proto * gui/e-week-view.c (e_week_view_on_editing_stopped): only delete the event if the summary is empty and the component is not already on the server * gui/e-day-view.c (e_day_view_on_editing_stopped): same Fixes #14111 svn path=/trunk/; revision=18138
* set the deleted attendees array to size 0 after we clean it upJP Rosevear2002-09-201-0/+7
| | | | | | | | | | | 002-09-20 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): set the deleted attendees array to size 0 after we clean it up Fixes #30479 svn path=/trunk/; revision=18135
* remove the query from the cache if it failed. (start_cached_query_cb):Rodrigo Moya2002-09-201-0/+6
| | | | | | | | | | 2002-09-20 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (parse_sexp): remove the query from the cache if it failed. (start_cached_query_cb): notify of errors in the query. svn path=/trunk/; revision=18133
* added a list of EComponentListener's to control the lifetime of theRodrigo Moya2002-09-201-0/+9
| | | | | | | | | | | | | 2002-09-19 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: added a list of EComponentListener's to control the lifetime of the listeners. (query_init): initialize new member. (query_destroy): free new member. (start_cached_query_cb): create a EComponentListener for the new listener being added. svn path=/trunk/; revision=18122
* More fixes for #24210Rodrigo Moya2002-09-201-0/+15
| | | | | | | | | | | | | | | | | | | 2002-09-19 Rodrigo Moya <rodrigo@ximian.com> More fixes for #24210 * pcs/query.c: added list of cached queries and changed the Query class to work with several listeners, not only one. (query_init): initialize new members. (query_destroy): free new members. (add_component, remove_component, parse_sexp, match_component, process_components_cb): notify all listeners. (notify_uid_cb, start_cached_query_cb): implemented integration of cached queries. (query_new): search the query in the cache before creating a new one. And if we create a new one, store it in the cache. svn path=/trunk/; revision=18120
* bump the month_num by 1 because it indexs at 0JP Rosevear2002-09-191-0/+8
| | | | | | | | | | | | 002-09-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the month_num by 1 because it indexs at 0 (recurrence_page_fill_widgets): lower the month_num by one as above Fixes #30381 svn path=/trunk/; revision=18110
* Fixes #26362Rodrigo Moya2002-09-171-0/+7
| | | | | | | | | | | 2002-09-17 Rodrigo Moya <rodrigo@ximian.com> Fixes #26362 * gui/e-itip-control.c (show current): add a default reminder if default reminders are set in the configuration. svn path=/trunk/; revision=18084
* keep the selection if we right click in it (but not on an appointment)JP Rosevear2002-09-121-0/+8
| | | | | | | | | | | | 2002-09-11 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_top_canvas_button_press): keep the selection if we right click in it (but not on an appointment) (e_day_view_on_main_canvas_button_press): ditto * gui/e-week-view.c (e_week_view_on_button_press): sam svn path=/trunk/; revision=18046
* create a new appointment based on the selectionJP Rosevear2002-09-121-0/+8
| | | | | | | | | | | | 2002-09-11 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (e_week_view_new_appointment): create a new appointment based on the selection (e_week_view_on_button_press): use above (e_week_view_on_new_appointment): ditto (e_week_view_on_new_meeting): ditto svn path=/trunk/; revision=18043
* duh, don't blindly increment the hour without adjusting for the dayJP Rosevear2002-09-111-0/+8
| | | | | | | | | | | | 2002-09-10 JP Rosevear <jpr@ximian.com> * gui/comp-editor-factory.c (get_default_event): duh, don't blindly increment the hour without adjusting for the day boundaries Fixes #29983 svn path=/trunk/; revision=18034
* Fixes #24032Rodrigo Moya2002-09-101-0/+9
| | | | | | | | | | | | | 2002-09-10 Rodrigo Moya <rodrigo@ximian.com> Fixes #24032 * gui/e-itip-control.c (init): don't get servers here, since we don't know the type of the component(s) to be loaded. (show_current): get servers here. (destroy): only free stuff that needs to be freed. svn path=/trunk/; revision=18030
* display status messages for all operations we make, so that when usingRodrigo Moya2002-09-101-0/+6
| | | | | | | | | | 2002-09-09 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (client_cal_opened_cb): display status messages for all operations we make, so that when using remote slow backends, so that users have always indication of what's happening. svn path=/trunk/; revision=18028
* kill warningJP Rosevear2002-09-071-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-06 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_edit_object): kill warning * gui/e-week-view.h: new proto * gui/e-week-view.c (e_week_view_set_selected_time_range_visible): select a range of time in the currently visible area, if out side the visible area, select as much as possible (e_week_view_on_text_item_event): call above * gui/e-week-view-event-item.c (e_week_view_event_item_button_press): call above * gui/e-day-view.c (e_day_view_set_selected_time_range_in_top_visible): select a range of time in the currently visible area, if out side the visible area, select as much as possible (e_day_view_set_selected_time_range_visible): the same for the main canvas (e_day_view_on_long_event_button_press): call above (e_day_view_on_event_button_press): ditto svn path=/trunk/; revision=18010
* don't try to send via the server if we are publishing; don't bail out on aJP Rosevear2002-09-061-0/+6
| | | | | | | | | | 2002-09-05 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): don't try to send via the server if we are publishing; don't bail out on a 0 length to list if we are publishing svn path=/trunk/; revision=17992
* Changed the description of the calendar/tasks page of the settings dialog,Anna Marie Dirks2002-09-061-0/+7
| | | | | | | | | | 2002-09-05 Anna Marie Dirks <anna@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: Changed the description of the calendar/tasks page of the settings dialog, to be hopefully more descriptive and less awkwardly worded. svn path=/trunk/; revision=17989
* added support for text/x-calendar targets, in which case a VCALENDARRodrigo Moya2002-09-051-0/+6
| | | | | | | | | | 2002-09-05 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_on_drag_data_get): added support for text/x-calendar targets, in which case a VCALENDAR component, with full timezone information is returned. svn path=/trunk/; revision=17984
* don't listen to client signals after we get destroyedJP Rosevear2002-09-051-0/+7
| | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_destroy): don't listen to client signals after we get destroyed Fixes #17036 svn path=/trunk/; revision=17976
* bail out if we couldn't send the cancelJP Rosevear2002-09-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-editor.c (event_editor_send_comp): bail out if we couldn't send the cancel * gui/dialogs/task-editor.c (task_editor_send_comp): ditto * gui/dialogs/comp-editor.c (save_comp_with_send): indicate send status (real_send_comp): return success/fail, only resave the component a if we successfully sent (comp_editor_send_comp): return success/fail * gui/itip-utils.h: update proto * gui/itip-utils.c (itip_send_comp): return true if we sent the message svn path=/trunk/; revision=17966
* provide error message param, give a dialog with the message if we get aJP Rosevear2002-09-051-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_server_send): provide error message param, give a dialog with the message if we get a busy result; return TRUE if we succeed (itip_send_comp): bail out if we had a problem sending via the server * cal-client/cal-client.c (cal_client_send_object): pass back error message if we get the busy exception in the new param * cal-client/cal-client.h: update proto * pcs/cal.c (impl_Cal_send_object): dump backend error message into Busy exception * pcs/cal-backend.h: update proto * pcs/cal-backend.c (cal_backend_send_object): take/pass new error message parameter * pcs/cal-backend-file.c (cal_backend_file_send_object): take new param * idl/evolution-calendar.idl: add errorMsg to Busy exception svn path=/trunk/; revision=17964
* Pass NULL as @unpopulate_folder_context_menu_fn toEttore Perazzoli2002-09-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * gui/component-factory.c (create_object): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * mail-account-gui.c (mail_account_gui_save): Remove unused variable. * component-factory.c (unpopulate_folder_context_menu): New. (create_component): Pass it to evolution_shell_component_new(). * component-factory.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * e-storage-set-view.c (popup_folder_menu): Remove the context menu items using evolution_shell_component_client_unpopulate_folder_context_menu() instead of doing it ourself, since BonoboUI sucks. * evolution-shell-component-client.c (evolution_shell_component_client_unpopulate_folder_context_menu): New. * evolution-test-component.c (register_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * evolution-shell-component.c: New member unpopulate_folder_context_menu_fn in EvolutionShellComponentPrivate. New member uic in EvolutionShellComponentPrivate. (init): Init new members to NULL. (destroy): bonobo_object_unref() priv->uic if not NULL. (evolution_shell_component_new): New arg @unpopulate_folder_context_menu_fn. (evolution_shell_component_construct): Likewise. (impl_populateFolderContextMenu): Set priv->uic to the newly created UIComponent. (impl_unpopulateFolderContextMenu): New, implementation for the ::unpopulateFolderContextMenu CORBA method. (class_init): Install. * Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New method. (AlreadyPopulated): New exception. (populateFolderContextMenu): Can raise it. (NotPopulated): New exception. svn path=/trunk/; revision=17963
* don't make the reply component minimalJP Rosevear2002-09-041-0/+14
| | | | | | | | | | | 2002-09-03 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_compliant): don't make the reply component minimal Fixes #28956 svn path=/trunk/; revision=17957
* use bonobo_object_release_unref to release the remote SelectNamesMike Kestner2002-08-311-0/+6
| | | | | | | | | | 2002-08-30 Mike Kestner <mkestner@ximian.com> * gui/dialogs/event-page.c: * gui/dialogs/task-page.c: use bonobo_object_release_unref to release the remote SelectNames component, not CORBA_Object_release. svn path=/trunk/; revision=17939
* select the top canvas if the user right-clicks on itJP Rosevear2002-08-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 002-08-29 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_top_canvas_button_press): select the top canvas if the user right-clicks on it (e_day_view_on_main_canvas_button_press): select the row the user is right-clicking on (e_day_view_on_long_event_button_press): select the top canvas if the user right-clicks on an event there (e_day_view_on_event_button_press): select the relevant rows if the user right-clicks on an event (e_day_view_set_selected_time_range_in_top): select a number of days in the top canvas * gui/e-week-view.c (e_week_view_on_button_press): select the day the user is right-clicking on (e_week_view_on_text_item_event): select the corresponding time range when showing the contextual menu for an event * gui/e-week-view-event-item.c (e_week_view_event_item_button_press): select the corresponding time range when showing the contextual menu for an event Fixes #14660 svn path=/trunk/; revision=17924
* added missing header file.Rodrigo Moya2002-08-291-0/+5
| | | | | | | | | 2002-08-28 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c: * gui/e-week-view.c: added missing header file. svn path=/trunk/; revision=17920
* Add an evolution:shell_component_launch_order and renameDan Winship2002-08-291-0/+6
| | | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Add an evolution:shell_component_launch_order and rename evolution:shell_component_icon. svn path=/trunk/; revision=17907
* use EConfigListener instead of direct access to the bonobo-conf database.Rodrigo Moya2002-08-271-0/+16
| | | | | | | | | | | | | | | | | | | | 2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.c: use EConfigListener instead of direct access to the bonobo-conf database. (calendar_config_init): create the EConfigListener here, and install an atexit function to unref the config listener object. (config_read, property_change_cb, calendar_config_write, calendar_config_write_on_exit): removed unneeded functions. (calendar_config_get_*, calendar_config_set_*): changed to make use of EConfigListener directly. * gui/main.c (main): removed call to calendar_config_write_on_exit. * gui/dialogs/cal-prefs-dialog.c (update_config): removed call to calendar_config_write. svn path=/trunk/; revision=17874
* Fixes #12326Rodrigo Moya2002-08-261-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #12326 * gui/alarm-notify/config-data.c (ensure_inited): create a EConfigListener for configuration access. (do_cleanup): g_atexit installed function, to clean up configuration database resources. (config_data_get_timezone): retrieve the configuration for the EConfigListener object. (config_data_get_listener): new function. * gui/alarm-notify/save.c (get_config_db, discard_config_db): removed. Use EConfigListener instead. (save_notification_time, get_saved_notification_time, save_calendars_to_load, get_calendars_to_load, save_blessed_program, is_blessed_program): use EConfigListener. * gui/alarm-notify/notify-main.c (init_alarm_notify_service): removed. (alarm_notify_factory_fn): create here the alarm_notify_service if it hasn't been created yet. (load_calendars): likewise. (main): don't call init_alarm_notify_service. svn path=/trunk/; revision=17859
* if its a non-participant, add it as a resource to match dialog labelJP Rosevear2002-08-231-0/+7
| | | | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (process_section): if its a non-participant, add it as a resource to match dialog label (set_value_at): if the type is set to be a resource, switch the role to non-participant by default svn path=/trunk/; revision=17840
* if the value given is a date, convert to a time in the current zoneJP Rosevear2002-08-221-0/+5
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (set_completed): if the value given is a date, convert to a time in the current zone svn path=/trunk/; revision=17835
* don't set the tasks ui component until the container is set, remove unusedJP Rosevear2002-08-211-0/+6
| | | | | | | | | | 2002-08-20 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (tasks_control_activate): don't set the tasks ui component until the container is set, remove unused pixmaps svn path=/trunk/; revision=17818
* disconnect destroy signal callbacks on tablesJP Rosevear2002-08-201-2/+9
| | | | | | | | | | | 2002-08-19 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (destroy): disconnect destroy signal callbacks on tables Fixes #28231 svn path=/trunk/; revision=17813
* clone the ical component before adding itJP Rosevear2002-08-201-0/+11
| | | | | | | | | | | 2002-08-20 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_toplevel_with_zones): clone the ical component before adding it Fixes #29061 svn path=/trunk/; revision=17810
* make sure to get the date in the current zone, not at UTCJP Rosevear2002-08-201-0/+5
| | | | | | | | | 002-08-20 JP Rosevear <jpr@ximian.com> * gui/comp-editor-factory.c (get_default_event): make sure to get the date in the current zone, not at UTC svn path=/trunk/; revision=17802
* stop adding redundant information for start/end/due/complete timesJP Rosevear2002-08-191-0/+9
| | | | | | | | | | | | | 2002-08-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): stop adding redundant information for start/end/due/complete times (write_html): convert newlines properly and escape characters for summary, location, description; put text information on separate line from bolded title to make it look nicer when there are line breaks svn path=/trunk/; revision=17798
* added internal EComponentListener object, to listen for the activated Cal.Rodrigo Moya2002-08-161-0/+16
| | | | | | | | | | | | | | | | | | | | 2002-08-16 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch]: added internal EComponentListener object, to listen for the activated Cal. (cal_client_class_init): added "backend_died" signal. (cal_client_destroy): clean up component listener. (backend_died_cb): new callback for getting signals from the EComponentListener. (cal_opened_cb): setup component listener. * cal-client/Makefile.am: added libetuil to needed LIBS. * gui/gnome-cal.c (backend_died_cb): new callback. (gnome_calendar_construct): connect to "backend_died" signal on all CalClient's we create. svn path=/trunk/; revision=17787
* listen for the time editors to changeJP Rosevear2002-08-151-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2002-08-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (init_widgets): listen for the time editors to change (cal_prefs_dialog_start_of_day_changed): make sure the start is never after the end (cal_prefs_dialog_end_of_day_changed): make sure the end is never after the start * gui/e-meeting-time-sel.c (e_meeting_time_selector_set_working_hours): make sure to show a minimum of 1 hour for work day * gui/e-day-view-main-item.c (e_day_view_main_item_draw): calculate the work/not working color boxes to the nearest pixel, rather the the nearest time division Fixes #10286, #26285 svn path=/trunk/; revision=17776
* Remove a bunch of old #if 0 code. (update_item): SetDan Winship2002-08-141-0/+11
| | | | | | | | | | | | | * gui/e-itip-control.c: Remove a bunch of old #if 0 code. (update_item): Set X-MICROSOFT-CDO-REPLYTIME here. * gui/itip-utils.c (comp_toplevel_with_zones): Don't set it here. * cal-util/cal-component.c (ensure_mandatory_properties): Use icaltime_current_time_with_zone rather than rolling our own. (cal_component_strip_errors): Remove unused variable. svn path=/trunk/; revision=17770
* set status message on ECalendarTable when opening the tasks.Rodrigo Moya2002-08-131-0/+8
| | | | | | | | | | | | 2002-08-13 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): set status message on ECalendarTable when opening the tasks. (client_cal_opened_cb): set ECalendarTable status message to NULL when we open the tasks folder. Also, clear up calendar status message in all cases, not only if the folder was opened successfully. svn path=/trunk/; revision=17768
* set status message to NULL if there is an error opening the calendar.Rodrigo Moya2002-08-131-0/+7
| | | | | | | | | | | 2002-08-13 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): set status message to NULL if there is an error opening the calendar. (client_cal_opened_cb): set status message to NULL only when we have successfully opened the main CalClient. svn path=/trunk/; revision=17767
* set the editor to changed so the item actually gets savedJP Rosevear2002-08-101-0/+5
| | | | | | | | | 2002-08-09 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (real_send_comp): set the editor to changed so the item actually gets saved svn path=/trunk/; revision=17753
* check for an attendee in the list (comp_to_list): only add the user ifJP Rosevear2002-08-091-0/+14
| | | | | | | | | | | | | | | | | | 2002-08-08 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (users_has_attendee): check for an attendee in the list (comp_to_list): only add the user if they aren't on the list (comp_server_send): don't remove the users, pass back the list (itip_send_comp): send to server before doing comp_minimal * gui/dialogs/comp-editor.c (real_send_comp): edit and save the updated comp * pcs/cal.c (impl_Cal_send_object): copy the correct item to pass back svn path=/trunk/; revision=17747
* Initialize loaded_backends before using it. (Just kills off a harmlessDan Winship2002-08-091-7/+14
| | | | | | | | * pcs/query-backend.c (query_backend_new): Initialize loaded_backends before using it. (Just kills off a harmless g_warning.) svn path=/trunk/; revision=17745
* Fixes #15710Rodrigo Moya2002-08-081-0/+15
| | | | | | | | | | | | | | | | | | | 2002-08-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * cal-util/cal-component.[ch] (cal_component_alarm_get_icalcomponent): new function for getting the icalcomponent from a CalComponentAlarm. * gui/comp-util.c (cal_comp_event_new_with_defaults): added X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder alarm, so that we can identify it when saving the component. * gui/dialogs/alarm-page.c (alarm_page_fill_component): if the alarm has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the description to be the same as of the component. svn path=/trunk/; revision=17744
* just return the object untouched since we don't send anythingJP Rosevear2002-08-081-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-07 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_send_object): just return the object untouched since we don't send anything * pcs/cal-backend.c (cal_backend_remove_object): call virtual method * pcs/cal-backend.h: add send result codes, new proto * pcs/cal.c (impl_Cal_send_object): implement sendObject corba call (cal_class_init): add to epv * gui/itip-utils.c (comp_toplevel_with_zones): utility function to create icalcomponent with necessary timezone info (comp_has_attendee): see if attendee is in the attendee list (comp_server_send): use above and remove attendees if the server sends them * gui/e-itip-control.c (show_current_todo): remove unused var * idl/evolution-calendar.idl: add Busy exception and * cal-client/cal-client.c (cal_client_send_object): send object via the server (if the server can) * cal-client/cal-client.h: add send results and new proto svn path=/trunk/; revision=17734
* new function. (query_backend_get_uids): new function. (query_backend_new):Rodrigo Moya2002-08-061-0/+16
| | | | | | | | | | | | | | | | | | | | 2002-08-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch] (query_backend_get_object_component): new function. (query_backend_get_uids): new function. (query_backend_new): create the static GHashTable if it hasn't been created yet. (query_backend_destroy): destroy the static GHashTable if empty. (foreach_uid_cb): call object_updated_cb, which does everything. * pcs/query.c: make use of the new QueryBackend class. (query_init): initialize new private structure member. (query_destroy): clean up new member, without freeing it, since it is managed internally in query-backend.c. (query_construct): create a QueryBackend for the query. svn path=/trunk/; revision=17713
* Fixes the crash in #19159Rodrigo Moya2002-08-051-0/+7
| | | | | | | | | | | 2002-08-04 Rodrigo Moya <rodrigo@ximian.com> Fixes the crash in #19159 * gui/alarm-notify/alarm-queue.c (create_snooze): check for NULL pointers before using them. svn path=/trunk/; revision=17697
* don't warn if we can't use the small font, just set use_small_font toJP Rosevear2002-08-021-0/+5
| | | | | | | | | 2002-08-02 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (e_week_view_init): don't warn if we can't use the small font, just set use_small_font to FALSE svn path=/trunk/; revision=17689
* new util function to add information to an itip message that might notJP Rosevear2002-08-021-0/+8
| | | | | | | | | | | | 2002-08-02 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (adjust_item): new util function to add information to an itip message that might not already be there for display purposes (summary, location, etc) (show_current_event): use above (show_current_todo): ditto svn path=/trunk/; revision=17688
* initialize value to corba nilJP Rosevear2002-08-021-0/+4
| | | | | | | | 2002-08-02 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (init): initialize value to corba nil svn path=/trunk/; revision=17687
* Use meeting-request-16.png instead of meeting-request.png.Ettore Perazzoli2002-08-021-0/+8
| | | | | | | | | | * gui/component-factory.c (create_object): Use meeting-request-16.png instead of meeting-request.png. * gui/calendar-commands.c (pixmaps): Remove pixmaps in /menu/File/New/NewFirstItem/. svn path=/trunk/; revision=17676
* use get_due_status (get_color): ditto (get_due_status): utility functionJP Rosevear2002-08-021-0/+7
| | | | | | | | | | | 2002-08-01 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (is_overdue): use get_due_status (get_color): ditto (get_due_status): utility function to reduce replicated code, handle the case where the due date is just a date svn path=/trunk/; revision=17671
* new class for implementing a backend cache for the calendar queries.Rodrigo Moya2002-08-011-0/+7
| | | | | | | | | | | 2002-07-31 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch]: new class for implementing a backend cache for the calendar queries. * pcs/Makefile.am: added new files. svn path=/trunk/; revision=17668
* Change the order so that "New Contact" is first and "New Contact List" isEttore Perazzoli2002-08-011-0/+6
| | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (create_component): Change the order so that "New Contact" is first and "New Contact List" is next. * gui/component-factory.c (create_object): Change the order of the user creatable items a bit so that "New Appointment" and "New Meeting" are at the top when in a calendar folder. * component-factory.c (create_component): Put "New Mail Message" before "New Message Post" instead of vice versa. * evolution-mail-global.xml: Remove "New Mail Message" and "Post Message" items. svn path=/trunk/; revision=17661
* Pass "contacts" as the @folder_type toEttore Perazzoli2002-08-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): Pass "contacts" as the @folder_type to evolution_shell_component_add_user_creatable_item(). * gui/component-factory.c (add_creatable_item): New arg @folder_type, pass it to evolution_shell_component_add_user_creatable_item(). (create_object): Set the right folder types for the various user-creatable items. * component-factory.c (create_component): Pass "mail" as @folder_type to evolution_shell_component_add_user_creatable_item(). * evolution-test-component.c (register_component): Pass NULL for @folder_type to evolution_shell_component_add_user_creatable_item(). * e-shell-user-creatable-items-handler.c: New member folder_type in struct MenuItem. (ensure_menu_items): Initialize ->folder_type. (item_is_default): New helper function. (create_menu_xml): New arg @folder_type. Put the items on the top using item_is_default(). (shell_view_view_changed_callback): Pass the folder type to create_menu_xml(). * evolution-shell-component.c: New member folder_type in UserCreatableItemType. (user_creatable_item_type_new): New arg @folder_type. (user_creatable_item_type_free): Free ->folder_type. (evolution_shell_component_add_user_creatable_item): New arg @folder_type. (impl__get_userCreatableItemTypes): Set ->folderType in the returned CORBA structs. * Evolution-ShellComponent.idl: New member folderType in struct UserCreatableItemType. * e-shell-user-creatable-items-handler.c: New member component_id in struct MenuItem. Removed member menu_xml from EShellUserCreatableItemsHandlerPrivate. (init): No need to initialize menu_xml here anymore. (impl_destroy): ...And no need to free here, either. (setup_menu_xml): New, derived from ensure_menu_xml(). This orders the menu so that the items for the current component go at the top. (create_menu_xml): Removed. (e_shell_user_creatable_items_handler_attach_menus): Set up properly for the current component ID, using setup_menu_xml(). svn path=/trunk/; revision=17658
* we no longer need to manually save the state (e_tasks_open): we no longerJP Rosevear2002-08-011-0/+9
| | | | | | | | | | | | | 2002-07-31 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_destroy): we no longer need to manually save the state (e_tasks_open): we no longer need to manually load the state (display_view_cb): attach the gal view to the table Fixes #27894 svn path=/trunk/; revision=17656
* Add bug fix numbers.JP Rosevear2002-07-311-0/+6
| | | | svn path=/trunk/; revision=17654
* make sure that the work week view goes to the current work week if the dayJP Rosevear2002-07-311-0/+6
| | | | | | | | | | 2002-07-29 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_find_work_week_start): make sure that the work week view goes to the current work week if the day selected is before the start of the work week svn path=/trunk/; revision=17645
* fixed mapping of popdown menu to ICAL_STATUS_ values.Rodrigo Moya2002-07-291-0/+12
| | | | | | | | | | | | | | | | 2002-07-28 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-details-page.c: fixed mapping of popdown menu to ICAL_STATUS_ values. (task_details_page_fill_widgets): when we can't set the status, default to ICAL_STATUS_NONE, which maps to 'Not started'. Fixed use of 'percent' variable, which was being used after being freed. (percent_complete_changed): default to ICAL_STATUS_NONE (Not Started). * gui/dialogs/task-details-page.glade: added 'Needs Action' to popdown menu values. svn path=/trunk/; revision=17624
* remove useless debug statementJP Rosevear2002-07-271-0/+7
| | | | | | | | | | | 2002-07-26 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_construct): remove useless debug statement Probably fixes #19333 svn path=/trunk/; revision=17619
* new function for adding VTIMEZONE components to a VCALENDAR component.Rodrigo Moya2002-07-271-0/+17
| | | | | | | | | | | | | | | | | | | | | 2002-07-26 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.[ch] (cal_util_add_timezones_from_component): new function for adding VTIMEZONE components to a VCALENDAR component. * gui/e-calendar-table.c (copy_row_cb): added VTIMEZONE components to resulting VCALENDAR top-level component. * gui/e-week-view.c (e_week_view_copy_clipboard): copy to the clipboard a top-level VCALENDAR component, with all the needed VTIMEZONE components. (e_week_view_on_copy): likewise. * gui/e-day-view.c (e_day_view_copy_clipboard): likewise. (e_day_view_on_copy): likewise. svn path=/trunk/; revision=17604
* focus the editor if it does exist, create a new one if it doesn't (notJP Rosevear2002-07-271-0/+7
| | | | | | | | | 2002-07-26 JP Rosevear <jpr@ximian.com> * gui/comp-editor-factory.c (impl_editExisting): focus the editor if it does exist, create a new one if it doesn't (not vice-versa) svn path=/trunk/; revision=17603
* set large_font to NULL (e_day_view_style_set): calculate large font, fallJP Rosevear2002-07-261-0/+6
| | | | | | | | | | 2002-07-25 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_init): set large_font to NULL (e_day_view_style_set): calculate large font, fall back to the style->font if necessary svn path=/trunk/; revision=17594
* display the location in the itip informationJP Rosevear2002-07-251-0/+5
| | | | | | | | | 2002-07-24 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (write_html): display the location in the itip information svn path=/trunk/; revision=17578
* Touch up changelog.JP Rosevear2002-07-251-0/+2
| | | | svn path=/trunk/; revision=17575
* set status to in progress if the percent is between 0 and 100JP Rosevear2002-07-251-2/+9
| | | | | | | | | | | 2002-07-24 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (set_percent): set status to in progress if the percent is between 0 and 100 (set_status): if the value is set to in process, change the percent to 50 svn path=/trunk/; revision=17574
* add a day for the leap year only if we are currently counting Feb., not if42002-07-251-0/+6
| | | | | | | | | | 2002-07-24 <jpr@ximian.com> * cal-util/timeutil.c (time_day_of_year): add a day for the leap year only if we are currently counting Feb., not if the month passed in is Feb. Fixes #23446. svn path=/trunk/; revision=17571
* use proper meeting icon32002-07-241-0/+4
| | | | | | | | 2002-07-23 <jpr@ximian.com> * gui/e-day-view.c (e_day_view_realize): use proper meeting icon svn path=/trunk/; revision=17553
* Replace a bunch of old gnomecal functions with the functionally identicalDan Winship2002-07-231-0/+3
| | | | | | | * cal-util/timeutil.c: Replace a bunch of old gnomecal functions with the functionally identical ones from Connector. svn path=/trunk/; revision=17548
* Split pcs-backend-file out of libpcs and build it as a separate (noinst)Dan Winship2002-07-231-0/+8
| | | | | | | | | | * pcs/Makefile.am: Split pcs-backend-file out of libpcs and build it as a separate (noinst) library libpcsfile.a. This gets the db3 dependencies out of libpcs, and people trying to create a calendar backend shouldn't be calling functions from the existing backends anyway so there's no reason to install them. svn path=/trunk/; revision=17529
* if there's an exception, continue with the next item.Rodrigo Moya2002-07-191-0/+5
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (get_uri_from_folder_path): if there's an exception, continue with the next item. svn path=/trunk/; revision=17507
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-181-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* use util function to see if the user is the organizer72002-07-181-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-17 <jpr@ximian.com> * gui/calendar-model.c (calendar_model_value_at): use util function to see if the user is the organizer * gui/dialogs/cancel-comp.c (cancel_component_dialog): add deleting proto to indicate whether cancelling or deleting is the primary operation * gui/dialogs/cancel-comp.h: update proto * gui/dialogs/comp-editor.c (delete_cmd): offer to cancel * gui/dialogs/task-editor.c (cancel_task_cmd): call cancel_component_dialog with new param * gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): only update request if user is organizer (e_week_view_show_popup_menu): disable the meeting and meeting organizer mask if appropriate (e_week_view_delete_event_internal): offer to cancel the meeting (e_week_view_on_cut): ditto (selection_received): send request if its a meeting * gui/e-day-view.h: add meeting icon/mask * gui/e-day-view.c (e_day_view_on_event_right_click): disable the meeting and meeting organizer mask if appropriate (e_day_view_delete_event_internal): offer to cancel meeting (e_day_view_on_cut): ditto (e_day_view_finish_long_event_resize): only update request if user is organizer (e_day_view_reshape_long_event): add meeting icon to count (e_day_view_reshape_day_event): ditto (e_day_view_on_top_canvas_drag_data_received): only update request if user is organizer (e_day_view_on_main_canvas_drag_data_received): ditto (selection_received): offer to send meeting info * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): draw meeting icon if appropriate (using dummy icon atm) svn path=/trunk/; revision=17491
* Fixes #8001Rodrigo Moya2002-07-161-0/+15
| | | | | | | | | | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #8001 * importers/icalendar-importer.c (connect_to_shell): new function for connecting the importers (both iCal and vCal) to the shell, needed for some information retrieval about the folders we're importing to. (ical_importer_new, vcal_importer_new): call connect_to_shell. (importer_destroy_cb): unref the shell client object. (get_uri_from_folder_path): retrieve the uri from the storage registry. (check_folder_type): removed. * importers/Makefile.am: included libeshell to LIBS. svn path=/trunk/; revision=17463
* Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. AtPeter Williams2002-07-131-0/+6
| | | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * pcs/cal.c: Sigh, fix for the wombat.idl -> Evolution-Wombat.idl rename here too. At least grep indicates that's all that needs to be fixed. svn path=/trunk/; revision=17443
* Add include lines to get ebook headers relative to <ebook/foo.h>, notPeter Williams2002-07-111-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * tools/Makefile.am (INCLUDES): Add include lines to get ebook headers relative to <ebook/foo.h>, not "foo.h". addressbook: 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so that the installed headers will work sanely. * backend/ebook/e-card-cursor.h: * backend/ebook/e-book-view.h: * backend/ebook/e-card-simple.h: * backend/ebook/e-card.h: * backend/ebook/e-destination.h: Same. * printing/Makefile.am (INCLUDES): add -Iaddressbook/backend to access the ebook headers. Also the builddir version to get the generated addressbook.h * gui/widgets/Makefile.am (INCLUDES): Same builddir fix. * gui/merging/e-card-merging.c: Fix an ebook #include. * gui/merging/Makefile.am (INCLUDES): Same idea. * gui/contact-list-editor/Makefile.am (INCLUDES): Same. * gui/contact-editor/Makefile.am (INCLUDES): Same builddir change. calendar: 2002-07-08 Peter Williams <peterw@ximian.com> * gui/Makefile.am (INCLUDES): Change the -I flags to get it to play nicely with the new Ebook header paradigm. * gui/dialogs/Makefile.am: Same. * gui/e-meeting-model.c: More of the same. * gui/dialogs/e-delegate-dialog.c: * gui/dialogs/e-meeting-model.c: * gui/dialogs/comp-editor-util.c: Fix include lines to get ebook headers. * pcs/Makefile.am: Same. composer: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Fix cflags for ebook header namespacing. importers: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Fix cflags to get at ebook headers correctly. * pine-importer.c: Fix include lines to get ebook headers the "right" way. * evolution-gnomecard-importer.c: Same. mail: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I flags to get the ebook headers. svn path=/trunk/; revision=17411
* Fixes #16034Rodrigo Moya2002-07-031-0/+12
| | | | | | | | | | | | | | | | 2002-07-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #16034 * gui/e-day-view.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-week-view.c (e_week_view_reshape_event_span): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): Don't assume all categories have icons when allocating space for the icons. svn path=/trunk/; revision=17357
* New arg @tooltip; pass it toEttore Perazzoli2002-07-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): New arg @tooltip; pass it to evolution_shell_component_add_user_creatable_item() [which now has a @tooltip arg]. * gui/component-factory.c (add_creatable_item): New arg @tooltip. Pass it to evolution_shell_component_add_user_creatable_item(), which now has a @tooltip arg. (create_object): Added tooltips. * component-factory.c (create_component): Pass a tooltip to evolution_shell_component_add_user_creatable_item. * e-shell-user-creatable-items-handler.c: New member tooltip in struct MenuItem. (ensure_menu_items): Initialize the tooltip member. (shell_view_view_changed_callback): Set the tooltip for the "New" button. (ensure_menu_xml): Set up the tooltip here as well. * evolution-shell-component.c: Add tooltip member to struct UserCreatableItemType. (user_creatable_item_type_new): New arg @tooltip. (evolution_shell_component_add_user_creatable_item): New arg @tooltip. (impl__get_userCreatableItemTypes): Put the tooltip in the struct as well. * e-shell-user-creatable-items-handler.c (setup_toolbar_button): Create a GtkTooltips object and attach it to the combo_button using gtk_object_set_data(). (shell_view_view_changed_callback): Set up a tooltip for the button, according to the default. * Evolution-ShellComponent.idl: Add a tooltip member to struct UserCreatableItemType. svn path=/trunk/; revision=17343
* listen for timezone config change (property_change_cb): set the timezoneJP Rosevear2002-07-011-2/+11
| | | | | | | | | | | | | 2002-07-01 JP Rosevear <jpr@ximian.com> * gui/calendar-config.c (config_read): listen for timezone config change (property_change_cb): set the timezone if it changed elsewhere * gui/main.c (init_bonobo): call bonobo_activate because we make bonobo related calls before the bonobo_main call svn path=/trunk/; revision=17335
* Fixes #25410Rodrigo Moya2002-06-261-0/+8
| | | | | | | | | | | | 2002-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #25410 * gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper cleanup on removal of clients. (alarm_notify_add_calendar): ditto. svn path=/trunk/; revision=17287
* plug leak and actually use the minimal comp we createJP Rosevear2002-06-251-0/+5
| | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_compliant): plug leak and actually use the minimal comp we create svn path=/trunk/; revision=17275
* add back protoJP Rosevear2002-06-251-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.h: add back proto * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_needs_send): add page needs_send signal * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17274
* update for new zonesJP Rosevear2002-06-191-77/+0
| | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * zones.h: update for new zones svn path=/trunk/; revision=17231
* Reverse unintended changeJP Rosevear2002-06-191-0/+6
| | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: Reverse unintended change * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=17229
* update for new zonesJP Rosevear2002-06-191-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> * zones.h: update for new zones 2002-06-18 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17226
* Fixes wombat crash (for JP and myself)Rodrigo Moya2002-06-181-0/+9
| | | | | | | | | | | | | 2002-06-17 Rodrigo Moya <rodrigo@ximian.com> Fixes wombat crash (for JP and myself) * gui/gnome-cal.c (gnome_calendar_open): don't call add_alarms here, since the client is not yet attached to the backend, and the alarm daemon does unref the client before creating a new one. (client_cal_opened_cb): call add_alarms here. svn path=/trunk/; revision=17215
* added timeout_id to LoadedClient structure, to keep track of the timeoutRodrigo Moya2002-06-131-0/+10
| | | | | | | | | | | | | | 2002-06-12 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify.c: added timeout_id to LoadedClient structure, to keep track of the timeout function. (retry_timeout_cb): don't use RetryData, but the LoadedClient. (cal_opened_cb): ditto, and assigned lc->timeout_id to the return value of g_timeout_add(). (alarm_notify_add_calendar): destroy the timeout callback when destroying the LoadedClient structure. svn path=/trunk/; revision=17178
* Free the uri_string once we're done with it.Jeffrey Stedfast2002-06-131-0/+5
| | | | | | | | | 2002-06-12 Jeffrey Stedfast <fejj@ximian.com> * pcs/cal-factory.c (open_fn): Free the uri_string once we're done with it. svn path=/trunk/; revision=17176
* Fix a typo.Kjartan Maraas2002-06-131-0/+4
| | | | | | | | 2002-06-12 Kjartan Maraas <kmaraas@gnome.org> * gui/dialogs/cal-prefs-dialog.glade: Fix a typo. svn path=/trunk/; revision=17174
* removed already loaded client when asked to be opened again, and *really*Rodrigo Moya2002-06-121-0/+6
| | | | | | | | | | 2002-06-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed already loaded client when asked to be opened again, and *really* re-open it again. svn path=/trunk/; revision=17167
* gal_view_menus_set_show_define_views (..., FALSE);Christopher James Lahey2002-06-051-0/+5
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): gal_view_menus_set_show_define_views (..., FALSE); svn path=/trunk/; revision=17112
* Set the title of our GalViewCollection.Christopher James Lahey2002-06-041-0/+6
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Set the title of our GalViewCollection. svn path=/trunk/; revision=17103
* In an attempt to clean up the config dialog (and to reduce its overallAnna Marie Dirks2002-06-041-0/+7
| | | | | | | | | | | 2002-06-03 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: In an attempt to clean up the config dialog (and to reduce its overall girth), I have re-laid-out the calendar preferences dialog. It now conforms to standard Evolution spacing and padding guidelines, and exhibits proper alignment, etc. svn path=/trunk/; revision=17087
* keep a reference to the Query object, to avoid crashes when the queriesRodrigo Moya2002-06-041-0/+6
| | | | | | | | | | 2002-06-03 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: keep a reference to the Query object, to avoid crashes when the queries are destroyed before finishing processing. Fixes #25056. svn path=/trunk/; revision=17080
* update protoJP Rosevear2002-05-271-0/+15
| | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.h: update proto * gui/dialogs/comp-editor.c (comp_editor_get_comp): new function to get base comp * gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get the base comp, not the current comp, don't unref it (foreach_close_cb): block the signal, unblock it if the editor could not be closed (e_comp_editor_registry_close_all): fix preconditions (editor_destroy_cb): get the base comp, not the current comp, don't unref it svn path=/trunk/; revision=17020
* if there are remaining items, return false (foreach_close_cb): don'tJP Rosevear2002-05-271-0/+16
| | | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all): if there are remaining items, return false (foreach_close_cb): don't remove the item if it couldn't be closed * gui/e-comp-editor-registry.h: update proto * gui/component-factory.c (request_quit): return a boolean indicating if everything was closed * gui/dialogs/comp-editor.h: update proto * gui/dialogs/comp-editor.c (comp_editor_close): return true if the editor was closed, false otherwise svn path=/trunk/; revision=17019
* a registry of comp editors so we can close them all centrallyJP Rosevear2002-05-271-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.[hc]: a registry of comp editors so we can close them all centrally * gui/gnome-cal.c (gnome_calendar_init): there is no editor hash now (gnome_calendar_destroy): ditto (gnome_calendar_edit_object): look for the event editor in the registry, if it isn't there, create it and add it to the registry * gui/e-calendar-table.c (open_task): look for the task editor in the registry, if it isn't there, create it and add it to the registry * gui/component-factory.c (request_quit): close all open editors (create_object): add a request_quit function to the shell component * gui/comp-editor-factory.c (free_client): there is no uid_comp_hash to free any more (editor_destroy_cb): we get an OpenClient as callback data now, reduce the editor count and destroy it if it is 0 (edit_existing): don't create the Component, add the new editor to the registry, increase the editor count (edit_new): ditto (open_client): set the editor count to 0 (impl_editExisting): look in the registry for the editor * gui/Makefile.am: Build new sources * gui/main.c (main): create the registry * gui/dialogs/comp-editor.c (comp_editor_close): prompt to save and then close dialog * gui/dialogs/comp-editor.h: new proto * gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff svn path=/trunk/; revision=17018
* check the value returned by gnome_vfs_uri_to_string before using it.Rodrigo Moya2002-05-251-0/+6
| | | | | | | | | | 2002-05-24 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (save): check the value returned by gnome_vfs_uri_to_string before using it. (cal_backend_file_open): ditto. svn path=/trunk/; revision=17008
* Pass the @component_pixmaps in so we give the new "Meeting" button anEttore Perazzoli2002-05-211-0/+8
| | | | | | | | | | * gui/dialogs/event-editor.c (event_editor_init): Pass the @component_pixmaps in so we give the new "Meeting" button an icon. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg @component_pixmaps to pass in custom pixmaps. svn path=/trunk/; revision=16955
* ported changes from evolution-1-0 to make it work with reminders on remoteRodrigo Moya2002-05-211-0/+4
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: ported changes from evolution-1-0 to make it work with reminders on remote backends. svn path=/trunk/; revision=16944
* check the string returned by gnome_vfs_uri_to_string, which can be empty.Rodrigo Moya2002-05-201-0/+6
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_open): check the string returned by gnome_vfs_uri_to_string, which can be empty. If so, return an error. svn path=/trunk/; revision=16940
* set the view to the current viewJP Rosevear2002-05-171-0/+5
| | | | | | | | | 2002-05-17 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_menus): set the view to the current view svn path=/trunk/; revision=16939
* added support for CAL_CLIENT_OPEN_PERMISSION_DENIED error code.Rodrigo Moya2002-05-171-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (client_cal_opened_cb): added support for CAL_CLIENT_OPEN_PERMISSION_DENIED error code. (permission_error): new function to display 'Permission Denied' error message when opening the calendar. * gui/e-tasks.c: likewise. * idl/evolution-calendar.idl: added PERMISSION_DENIED to Listener's OpenStatus enumeration. * cal-client/cal-client.c (cal_opened_cb): added code for retrieving 'Permission Denied' errors, and convert it to CalClientOpenStatus values. * pcs/cal-factory.c (open_backend): added code for informing of 'Permission Denied' errors. svn path=/trunk/; revision=16933
* added PermissionDenied exception and make it be raised in open,Rodrigo Moya2002-05-171-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* set the working hours for the meeting time selectorJP Rosevear2002-05-151-0/+5
| | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_construct): set the working hours for the meeting time selector svn path=/trunk/; revision=16786
* make the range datetime member a struct not a pointerJP Rosevear2002-05-151-0/+12
| | | | | | | | | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.h: make the range datetime member a struct not a pointer * cal-util/cal-component.c (cal_component_get_recurid): take a pointer to a range (cal_component_set_recurid): ditto * gui/itip-utils.c (comp_minimal): get/set the recurrence id properly svn path=/trunk/; revision=16785
* Rename NotPrepared to notPrepared and NotSyncing to notSyncing.Ettore Perazzoli2002-05-091-0/+7
| | | | | | | | | | | | | | | | | | * Evolution-Offline.idl: Rename NotPrepared to notPrepared and NotSyncing to notSyncing. * evolution-storage.c (impl_Storage__get_folder_list): Renamed from impl_Storage_get_folder_list(). * Evolution-Storage.idl: Don't typedef FolderList here. Replace `getFolderList' method with a readonly attribute. * gui/e-itip-control.c (get_servers): use GNOME_Evolution_Storage__get_folderList instead of GNOME_Evolution_Storage_getFolderList since I have now changed that to be an attribute instead of a method. svn path=/trunk/; revision=16732
* start a server a uri (start_default_server): start a default serverJP Rosevear2002-05-081-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (start_calendar_server): start a server a uri (start_default_server): start a default server (get_servers): get all clients for all folders of the given type(s) (find_server): locate a server for a particular uid (init): get_servers, listen for object_requested signal (destroy): destroy all clients (write_html): put options is there own cell (get_publish_options): place selector in if param is true (get_request_options): ditto (get_real_item): only try and look up the item if we know its in the server (show_current_event): find the server (if any) for the current comp (show_current_todo): ditto (update_attendee_status): if there is no server for the comp, it doesn't exist (remove_item): ditto (button_selected_cb): get a client for the selected folder (object_requested_cb): draw the folder button in * gui/calendar-config.h: new protos * gui/calendar-config.c (calendar_config_default_tasks_folder): get default tasks uri (calendar_config_default_calendar_folder): get default calendar uri * cal-client/cal-client.c (get_default_uri): use cal_util_expand_uri * cal-util/cal-util.h: new proto * cal-util/cal-util.c (cal_util_expand_uri): tack on the file name if its a file uri svn path=/trunk/; revision=16709
* show progress messages on the status bar.Rodrigo Moya2002-05-031-0/+6
| | | | | | | | | | 2002-05-03 Rodrigo Moya <rodrigo@ximian.com> * gui/e-tasks.c (e_tasks_delete_selected): (e_tasks_complete_selected): show progress messages on the status bar. svn path=/trunk/; revision=16675
* #include <gtk/gtkmain.h> to avoid warnings.Rodrigo Moya2002-05-031-0/+4
| | | | | | | | 2002-05-02 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: #include <gtk/gtkmain.h> to avoid warnings. svn path=/trunk/; revision=16669
* only discard the popup if we created oneJP Rosevear2002-05-021-0/+5
| | | | | | | | | 2002-05-02 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (free_view_popup): only discard the popup if we created one svn path=/trunk/; revision=16663
* refactored a bit, to not do things in idle loops.Rodrigo Moya2002-05-021-0/+4
| | | | | | | | 2002-05-02 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c: refactored a bit, to not do things in idle loops. svn path=/trunk/; revision=16662
* modify the start and end hours to accomodate all the events in the dayJP Rosevear2002-05-021-0/+8
| | | | | | | | | | | | 2002-05-01 JP Rosevear <jpr@ximian.com> * gui/print.c (print_day_details): modify the start and end hours to accomodate all the events in the day * gui/e-day-view.c (free_view_popup): only discard the popup if we created one svn path=/trunk/; revision=16655
* remove setup_widgets from here (gnome_calendar_init): move setup_widgetsJP Rosevear2002-05-011-0/+6
| | | | | | | | | | 2002-04-30 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_construct): remove setup_widgets from here (gnome_calendar_init): move setup_widgets back here svn path=/trunk/; revision=16650
* can't even spell my own name right!!Jeffrey Stedfast2002-04-271-1/+1
| | | | | | Oh the humanity! svn path=/trunk/; revision=16619
* Don't link to libibex anymore!!Jeffrey Stefdast2002-04-271-0/+4
| | | | | | | | 2002-04-26 Jeffrey Stefdast <fejj@ximian.com> * gui/Makefile.am: Don't link to libibex anymore!! svn path=/trunk/; revision=16616
* launch pilot settings cappletJP Rosevear2002-04-241-0/+7
| | | | | | | | | | | 2002-04-24 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_pilot_settings): launch pilot settings capplet * gui/e-week-view.c (e_week_view_on_pilot_settings): ditto svn path=/trunk/; revision=16573
* free the view popup (e_week_view_show_popup_menu): add the view popup toJP Rosevear2002-04-241-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2002-04-24 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (free_view_popup): free the view popup (e_week_view_show_popup_menu): add the view popup to the "main_item" menu and listen for destruction * gui/e-day-view.c (free_view_popup): as above (e_day_view_on_event_right_click): as above * gui/e-week-view.h: add class member * gui/e-day-view.h: add a class member * gui/gnome-cal.h: new protos * gui/gnome-cal.c (set_view): set the instance view id properly when switching views (gnome_calendar_setup_view_popup): generate a view popup (gnome_calendar_discard_view_popup): destroy a view popup svn path=/trunk/; revision=16572
* raise an exception if the backend's method returns NULL, since we can'tRodrigo Moya2002-04-221-0/+6
| | | | | | | | | | 2002-04-22 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal.c (impl_Cal_get_alarms_in_range): raise an exception if the backend's method returns NULL, since we can't send a NULL pointer to ORBit. svn path=/trunk/; revision=16554
* Collapsed notebook into two pages and added accelerators for everything,Anna Marie Dirks2002-04-201-0/+6
| | | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages and added accelerators for everything, as part of my config dialog polishing project svn path=/trunk/; revision=16540
* properly handle -ve recurrence valuesJP Rosevear2002-04-191-0/+17
| | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly handle -ve recurrence values (month_num_submenu_selection_done_cb): track the current date in use (make_recur_month_num_submenu): make a submenu of dates (make_recur_month_num_menu): make the date/relation option menu (month_num_menu_selection_done_cb): update the date properly and keep both option menus consistent (month_day_menu_selection_done_cb): keep both option menus consistent (make_monthly_special): listen for selection done signal (make_recurrence_special): destroy old month_num_menu (recurrence_page_fill_widgets): properly handle -ve recurrence values svn path=/trunk/; revision=16526
* show the settingsJP Rosevear2002-04-191-0/+14
| | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_settings): show the settings * gui/e-week-view.c (e_week_view_on_settings): ditto * gui/calendar-commands.c (control_util_show_settings): show the settings dialog * gui/calendar-commands.h: new proto * gui/control-factory.c (control_factory_new_control): set the control as object data on the calendar svn path=/trunk/; revision=16511
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* new method.Rodrigo Moya2002-04-121-0/+11
| | | | | | | | | | | | | | | 2002-04-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.[ch] (cal_backend_get_query): new method. * pcs/cal-backend-file.c (cal_backend_file_get_query): new method. * pcs/cal.c (impl_Cal_get_query): call the CalBackend's implementation instead of calling query_new directly. * pcs/query.[ch]: fixed headers. svn path=/trunk/; revision=16443
* Fix this: Rodrigo's patch used one of the functions I just removed. :)Dan Winship2002-04-111-0/+5
| | | | | | | * gui/gnome-cal.c (gnome_calendar_open): Fix this: Rodrigo's patch used one of the functions I just removed. :) svn path=/trunk/; revision=16433
* use the default uri for tasks (as stored in the configuration) when theRodrigo Moya2002-04-111-0/+6
| | | | | | | | | | 2002-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): use the default uri for tasks (as stored in the configuration) when the calendar URI is not a local one (connector, etc). svn path=/trunk/; revision=16427
* Use new-and-improved default folder URI config paths.Dan Winship2002-04-111-0/+12
| | | | | | | | | | | | | | * cal-client/cal-client.c (get_default_uri): Use new-and-improved default folder URI config paths. * gui/calendar-config.c (calendar_config_{get,set}_default_uri, calendar_config_{get,set}_default_tasks_uri): Remove these. The shell owns this information now. (Weren't being used anyway.) * gui/component-factory.c (get_data_uri): Fix another place that hardcoded tacking foo.ics on to the end of URLs. svn path=/trunk/; revision=16421
* Add view_info arg. If the view_info is non-empty and this is a calendarDan Winship2002-04-091-0/+17
| | | | | | | | | | | | | | | | | | | * gui/component-factory.c (create_view): Add view_info arg. If the view_info is non-empty and this is a calendar folder, set the "view" property on the control's propertybag. * gui/control-factory.c (calendar_properties_init): Set up the "view" property. (get_prop, set_prop): handle the "view" property by getting/setting the GnomeCalendar's view. Unfortunately, this doesn't actually work. See #23208. * gui/calendar-commands.c (calendar_control_activate): Set the UI component's container before calling gnome_calendar_set_ui_component so that the search bar initialization will work. svn path=/trunk/; revision=16400
* Oops.JP Rosevear2002-04-071-0/+4
| | | | svn path=/trunk/; revision=16382
* add config_item:typeJP Rosevear2002-04-071-0/+4
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: add config_item:type svn path=/trunk/; revision=16380
* Fix a string.Kjartan Maraas2002-04-021-0/+4
| | | | | | | | 2002-04-01 Kjartan Maraas <kmaraas@gnome.org> * gui/e-itip-control.c: Fix a string. svn path=/trunk/; revision=16310
* simple fix for DB3 header inclusion in Mac OS X, by Max HornRodrigo Moya2002-04-021-0/+5
| | | | | | | | | 2002-04-01 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in Mac OS X, by Max Horn <max@quendi.de> svn path=/trunk/; revision=16309
* free the my_address member (find_my_address): fall back on a CN match ifJP Rosevear2002-04-011-0/+12
| | | | | | | | | | | | | | | | 2002-03-31 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (clean_up): free the my_address member (find_my_address): fall back on a CN match if possible (change_status): handle changing the status of a non-existent address by adding a new attendee (update_attendee_status): if the attendee response is not from a user on the list of attendees, ask the user if they want to add the attendee any how (as an optional participant) (ok_clicked_cb): if we are suppose to rsvp and the status was ok, but the attendee address is not known, find it svn path=/trunk/; revision=16303
* Set a priority for the config item. Rename to "Calendar and Tasks".Ettore Perazzoli2002-03-301-0/+5
| | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Set a priority for the config item. Rename to "Calendar and Tasks". svn path=/trunk/; revision=16293
* s/libversit.la/libversit.a/JP Rosevear2002-03-301-0/+6
| | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/Makefile.am: s/libversit.la/libversit.a/ * conduits/todo/Makefile.am: ditto svn path=/trunk/; revision=16288
* implement new pop up menu items for "Save as", "Print", "Assign Task",JP Rosevear2002-03-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * gui/e-calendar-table.c: implement new pop up menu items for "Save as", "Print", "Assign Task", "Forward as iCalendar" * gui/e-day-view.c: similarly, also "Publish Free/Busy Information" and "New Meeting" and "New Task" * gui/e-week-view.c: ditto * gui/dialogs/task-editor.c (show_assignment): move the assignment page stuff here (task_editor_show_assignment): use it (assign_task_cmd): ditto * gui/dialogs/task-editor.h: new proto * gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file selector function svn path=/trunk/; revision=16287
* more fixes for libversit.la -> libversit.aDan Winship2002-03-201-0/+8
| | | | svn path=/trunk/; revision=16211
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-161-0/+8
| | | | | | | | | | | | 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
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-161-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* use bonobo exception macros to tidyJP Rosevear2002-03-151-0/+12
| | | | | | | | | | | | | | | | 2002-03-15 JP Rosevear <jpr@ximian.com> * gui/main.c: use bonobo exception macros to tidy * gui/itip-control-factory.c: ditto * gui/gnome-cal.c: ditto * gui/comp-editor-factory.c: ditto * gui/calendar-commands.c: ditto svn path=/trunk/; revision=16172
* add all day event editor modeJP Rosevear2002-03-151-0/+15
| | | | | | | | | | | | | | | | | | | 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
* Add an "evolution:config_item:icon_path" attribute so we get an icon forEttore Perazzoli2002-03-141-0/+6
| | | | | | | | * 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
* Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shownEttore Perazzoli2002-03-131-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Should fix #21240Rodrigo Moya2002-03-071-0/+7
| | | | | | | | | | | 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
* reverted my last change of adding the METHOD property to the incomingRodrigo Moya2002-03-061-0/+9
| | | | | | | | | | | | | 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
* [pullup from evolution-1-0-branch]Dan Winship2002-03-061-0/+7
| | | | | | | | | * 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
* remove unneeded parameter from print_text_size everywhereJP Rosevear2002-03-061-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added support for printing the Tasks table. I hacked it a bit so the userDamon Chaplin2002-03-051-0/+7
| | | | | | | | | | | 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
* [pullup from evolution-1-0-branch]Dan Winship2002-03-041-0/+7
| | | | | | | | | * 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
* added the METHOD property to the top level component we create.Rodrigo Moya2002-03-011-0/+5
| | | | | | | | | 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
* display an error message if the call to gnome_calendar_open orRodrigo Moya2002-02-271-0/+7
| | | | | | | | | | | 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
* [pullup from evolution-1-0-branch]Dan Winship2002-02-261-0/+9
| | | | | | | | | | | * 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
* change query_changed to search_activated.Chris Toshok2002-02-251-0/+7
| | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * gui/cal-search-bar.c (cal_search_bar_class_init): change query_changed to search_activated. (cal_search_bar_search_activated): rename cal_search_bar_query_changed to this. svn path=/trunk/; revision=15830
* New helper function. (create_object): Add icons for the various userEttore Perazzoli2002-02-221-2/+8
| | | | | | | | * 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
* pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb):JP Rosevear2002-02-201-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use new column enums (set_value_at): emit pre-change/cell change signalsJP Rosevear2002-02-161-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* don't append 'calendar.ics' to the URI. (get_prop): finished.Rodrigo Moya2002-02-141-0/+14
| | | | | | | | | | | | | | | | | | 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
* check if the CalComponentDateTime values are set before trying to useDamon Chaplin2002-02-091-0/+4
| | | | | | | | | | 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
* added vCalendar importer and intelligent GnomeCalendar importer code here,Damon Chaplin2002-02-091-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* change custom widget creator to e_url_entry_newJP Rosevear2002-02-091-0/+8
| | | | | | | | | | | | 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
* add a custom widget created with e_url_button_newJP Rosevear2002-02-091-0/+12
| | | | | | | | | | | | | | | | 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
* pass meeting boolean for gnome_calendar_edit_object andJP Rosevear2002-02-081-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bumped the required version of gal.Christopher James Lahey2002-02-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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