aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* dittoJP Rosevear2003-04-304-2/+23
| | | | | | | | | | | | | | 2003-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): ditto * gui/dialogs/event-editor.c (event_editor_finalize): don't unref the model here * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null up the display_top and display_main for re-entrancy purposes svn path=/trunk/; revision=21018
* kill warningsJP Rosevear2003-04-302-1/+5
| | | | | | | | 2003-04-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): kill warnings svn path=/trunk/; revision=21000
* Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221.Anna Marie Dirks2003-04-292-3/+9
| | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/alarm-options.glade: Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221. svn path=/trunk/; revision=20991
* Added appropriate spacing and padding to the calendar/tasks page of theAnna Marie Dirks2003-04-292-6/+14
| | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing and padding to the calendar/tasks page of the settings dialog. Fixes bug #41129 svn path=/trunk/; revision=20990
* Finishes up fixing #41256 by adding appropriate spacing/padding to theAnna Marie Dirks2003-04-293-6/+17
| | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/task-page.glade: Finishes up fixing #41256 by adding appropriate spacing/padding to the main task page. * gui/dialogs/task-details-page.glade: Added appropriate spacing and padding to the task-details page. Partially fixes #41256. svn path=/trunk/; revision=20989
* Added padding/spacing to this page as specified by the HIG. PartiallyAnna Marie Dirks2003-04-294-17/+30
| | | | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/recurrence-page.glade: Added padding/spacing to this page as specified by the HIG. Partially fixes #41215. * gui/dialogs/alarm-page.glade: Added padding/spacing/stock buttons to the alarm page. Partially fixes #41215. * gui/dialogs/event-page.glade: Added padding/spacing to the event-page (partially fixes #41215) svn path=/trunk/; revision=20988
* Fixes #35814Rodney Dawes2003-04-292-2/+9
| | | | | | | | | | | | | 2003-04-27 Rodney Dawes <dobey@ximian.com> Fixes #35814 * calendar/gui/calendar-component.c: Change mnemonic/keybinding for New Meeting to not conflict with other items in the File->New menu * ui/evolution.xml: Changed the New Folder keybinding to C-S-f svn path=/trunk/; revision=20984
* Fixes #41661Rodrigo Moya2003-04-279-12/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 Rodrigo Moya <rodrigo@ximian.com> Fixes #41661 * idl/evolution-calendar.idl: added discardAlarm method to GNOME:Evolution:Calendar:Cal interface. * pcs/cal.c (cal_class_init): set new epv's method. (impl_Cal_discardAlarm): implementation of new CORBA method. * pcs/cal-backend.[ch]: added 'discard_alarm' virtual method, and CAL_BACKEND_RESULT_NOT_IMPLEMENTED to CalBackendResult enum. (cal_backend_class_init): initialize new class method. (cal_backend_discard_alarm): new method. (cal_backend_update_objects, cal_backend_remove_object): return proper CalBackendResult values. * pcs/cal-backend-file.c (cal_backend_file_class_init): initialize new class method. (cal_backend_file_discard_alarm): implementation of new method. * pcs/cal-client.[ch] (cal_client_discard_alarm): new function. * gui/alarm-notify/alarm-queue.c (remove_qeueud_alarm): don't remove the alarm directly from the component, call cal_client_discard_alarm and let the backend deal with it. svn path=/trunk/; revision=20973
* set the hpane default to 32000 so we never see a pane no matter the startJP Rosevear2003-04-252-1/+7
| | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> * gui/apps_evolution_calendar.schemas: set the hpane default to 32000 so we never see a pane no matter the start up window size unless the user changes it svn path=/trunk/; revision=20963
* Remove change that shouldn't have been committed.JP Rosevear2003-04-252-2/+2
| | | | svn path=/trunk/; revision=20962
* Fixes #37552JP Rosevear2003-04-2511-29/+187
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> Fixes #37552 * gui/dialogs/Makefile.am: build delete-error.[hc] * gui/e-tasks.c: wrap calls to cal_client_remove_object with delete_error_dialog * gui/e-itip-control.c: ditto * gui/e-calendar-table.c: ditto * gui/e-week-view.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/delete-error.[hc]: gemerate an error message based on result svn path=/trunk/; revision=20961
* removed unused variable..Rodrigo Moya2003-04-252-1/+5
| | | | | | | | | 2003-04-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_on_delete_occurrence): removed unused variable.. svn path=/trunk/; revision=20958
* Fixed typoRodrigo Moya2003-04-241-1/+1
| | | | svn path=/trunk/; revision=20948
* Fixes #41641Hans Petter Jansson2003-04-243-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-23 Hans Petter Jansson <hpj@ximian.com> Fixes #41641 * gui/e-day-view.c (e_day_view_focus_in): Remove assert an old input method code. (e_day_view_focus_out): Ditto. (e_day_view_reshape_long_event): Set input method context. (e_day_view_reshape_day_event): Ditto. (e_day_view_on_editing_started): Let EText handle the context popup. (e_day_view_on_editing_stopped): Turn off EText's handling of context popup. * gui/e-week-view.c (e_week_view_reshape_event_span): Set input method context. (e_week_view_on_text_item_event): Let the EText item handle right-click context popup if we're editing it. (e_week_view_on_editing_started): Let the EText item handle the context popup. (e_weeK_view_on_editing_stopped): Turn off EText's handling of context popup. svn path=/trunk/; revision=20947
* Fixes #41671Rodrigo Moya2003-04-243-3/+16
| | | | | | | | | | | | | | 2003-04-23 Rodrigo Moya <rodrigo@ximian.com> Fixes #41671 * gui/alarm-notify/notify-main.c (main): added calls to gnome_sound_init and gnome_sound_shutdown. * gui/alarm-notify/alarm-queue.c (audio_notification): check that the sound file exists, and gdk_beep if not. svn path=/trunk/; revision=20946
* Fixes part of #41148, #41216 and #41235Rodrigo Moya2003-04-2312-31/+52
| | | | | | | | | | | | | | | | | | | | | | 2003-04-22 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #41148, #41216 and #41235 * gui/e-itip-control.c (init): * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct, e_meeting_time_selector_add_key_color): * gui/e-timezone-entry.c (e_timezone_entry_init): * gui/gnome-cal.c (setup_widgets): * gui/tasks-control.c (confirm_expunge): * gui/dialogs/comp-editor.c (setup_widgets): * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): * gui/dialogs/meeting-page.c (meeting_page_construct): * gui/dialogs/recurrence-page.c (make_weekly_special, make_monthly_special, make_ending_count_special): * gui/dialogs/schedule-page.c (schedule_page_construct): use HIG-suggested spacing. svn path=/trunk/; revision=20927
* Fixes #22444Rodrigo Moya2003-04-238-74/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #22444 * gui/calendar-commands.c: added new verbs for occurrence-related menu items. (delete_occurrence_cmd): added callback for "Delete this occurrence" menu item. "Delete all occurrences" is just the same as "Delete". (sensitize_calendar_commands): sensitive ocurrence-related menu items. * gui/gnome-cal.[ch] (gnome_calendar_delete_selected_occurrence): new function. (gnome_calendar_get_current_view_widget): made this public. * gui/e-week-view.[ch] (e_week_view_get_selected_event): (e_week_view_delete_occurrence): new functions. (e_week_view_delete_occurrence_internal): real implementation of the 'Delete Occurrence' logic. (e_week_view_on_delete_occurrence): call delete_instance_internal. * gui/e-day-view.[ch] (e_day_view_get_selected_event): (e_day_view_delete_occurrence): new functions. (e_week_view_delete_occurrence_internal): real implementation of the 'Delete Occurrence' logic. (e_week_view_on_delete_occurrence): call delete_occurrence_internal. svn path=/trunk/; revision=20917
* removed 'heading' and 'message' labels.Rodrigo Moya2003-04-193-47/+9
| | | | | | | | | | | | 2003-04-18 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.glade: removed 'heading' and 'message' labels. * gui/alarm-notify/alarm-notify-dialog.c: removed deleted widgets. (alarm_notify_dialog): don't load the removed widgets. svn path=/trunk/; revision=20895
* [ fixes #21499 ]Rodney Dawes2003-04-196-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* Fixes #41459JP Rosevear2003-04-173-10/+19
| | | | | | | | | | 2003-04-17 JP Rosevear <jpr@ximian.com> Fixes #41459 * gui/dialogs/meeting-page.c: comment out delegation stuff svn path=/trunk/; revision=20880
* Fixes #34498Rodrigo Moya2003-04-172-4/+19
| | | | | | | | | | | | | | | 2003-04-17 Rodrigo Moya <rodrigo@ximian.com> Fixes #34498 * gui/alarm-notify/alarm-queue.c: added a 'uid' field to the CompQueuedAlarms structure. (remove_queued_alarm): free the 'uid' field when freeing the structure. (add_component_alarms): g_strdup the component's UID and use that as the key for the hash table. svn path=/trunk/; revision=20879
* Fixes #41129, #41215, #41221, #41256Rodrigo Moya2003-04-1712-2759/+3019
| | | | | | | | | | | | | | | | | | | | | 2003-04-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #41129, #41215, #41221, #41256 * gui/alarm-notify/alarm-notify.glade: * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/meeting-page.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/schedule-page.glade: * gui/dialogs/task-details-dialog.glade: * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: set spacing to 6 pixels everywhere. svn path=/trunk/; revision=20869
* Fixes #41230JP Rosevear2003-04-172-10/+24
| | | | | | | | | | | | | | 2003-04-16 JP Rosevear <jpr@ximian.com> Fixes #41230 * gui/e-itip-control.c (show_current): make sure to pass TRUE for tasks (start_calendar_server): make sure we don't gtk_main_quit if we haven't gtk_main'ed (start_calendar_server_cb): ditto svn path=/trunk/; revision=20868
* Fixes #39735 and 40257JP Rosevear2003-04-176-162/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 JP Rosevear <jpr@ximian.com> Fixes #39735 and 40257 * gui/gnome-cal.c: convert float pane positions to ints (setup_widgets): set the initial position after realization and track the drags to get the new position, pack the panes slightly differently (gnome_calendar_set_pane_positions): set purely pixel oriented positions (gnome_calendar_update_config_settings): no need to update quanta setting (gnome_calendar_hpane_realized): realization callback (gnome_calendar_vpane_realized): ditto (gnome_calendar_vpane_resized): resize callback, store new size (gnome_calendar_hpane_resized): ditto * gui/calendar-model.c (get_due_status): handle an error getting the timezone * gui/calendar-config.c (calendar_config_get_hpane_pos): return an int (calendar_config_set_hpane_pos): take an int (calendar_config_get_vpane_pos): return an int (calendar_config_set_vpane_pos): take an int * gui/calendar-config.h: update protos * gui/apps_evolution_calendar.schemas: update defaults for pane positions svn path=/trunk/; revision=20863
* If we already have an evolution_dir, free the old one before setting itHans Petter Jansson2003-04-1610-18/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (owner_set_cb): If we already have an evolution_dir, free the old one before setting it anew. * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the metrics. * gui/e-day-view.c (e_day_view_style_set): Unref the metrics. (e_day_view_recalc_cell_sizes): We don't need font metrics here. (e_day_view_reshape_long_event): Ditto. * gui/e-meeting-model.c (init): Don't dup the string passed to e_table_without_hide(). * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): Unref the metrics. (e_meeting_time_selector_recalc_date_form): Doesn't need metrics. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Unref the metrics. * gui/e-week-view.c (e_week_view_style_set): Unref metrics. (e_week_view_recalc_cell_sizes): Ditto. (e_week_view_reshape_event_span): Move Pango stuff to where it can't be leaked due to an early return. Unref metrics. * gui/weekday-picker.c (weekday_picker_style_set): Unref metrics. * gui/dialogs/meeting-page.c (meeting_page_finalize): Free default address. svn path=/trunk/; revision=20857
* Oops. Add this back. Turns out it's still needed by other parts.Dan Winship2003-04-123-1/+21
| | | | | | | * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Oops. Add this back. Turns out it's still needed by other parts. svn path=/trunk/; revision=20821
* Remove the "Contacts" button and entry from here too. Supposed to haveDan Winship2003-04-117-424/+14
| | | | | | | | | | | | | | | | * gui/dialogs/task-page.glade: Remove the "Contacts" button and entry from here too. Supposed to have been part of #35926 * gui/dialogs/task-page.c: Remove all code pertaining to the contacts button * gui/dialogs/comp-editor-util.c: * gui/dialogs/comp-editor-util.h: Likewise * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove select-names stuff, which is no longe rused. svn path=/trunk/; revision=20816
* added missing capabilities.Rodrigo Moya2003-04-119-14/+39
| | | | | | | | | | | | | | | | | | | 2003-04-11 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added missing capabilities. * cal-client/cal-client.c (cal_client_get_one_alarm_only, cal_client_get_organizer_must_attend, cal_client_get_save_schedules): * gui/itip-utils.c (itip_organizer_is_user): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/dialogs/task-editor.c (set_menu_sens): * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros defined in cal-util.h for static capabilities. svn path=/trunk/; revision=20815
* load the default book to look for additional free/busy info in (init):JP Rosevear2003-04-112-16/+29
| | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (start_addressbook_server): load the default book to look for additional free/busy info in (init): ugly hack to make sure we get destroyed, set idle id to 0 (process_callbacks): unref the im because we are now done with it (refresh_busy_periods): set idle id to 0, ref the model and handle e_book_get_cursor error svn path=/trunk/; revision=20814
* guard against multiple destroy callsJP Rosevear2003-04-112-3/+15
| | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_destroy): guard against multiple destroy calls svn path=/trunk/; revision=20813
* only print a message if the exception isn't the reasonable NotFoundJP Rosevear2003-04-112-1/+7
| | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_get_free_busy): only print a message if the exception isn't the reasonable NotFound svn path=/trunk/; revision=20812
* unref the main widget since we ref it when we un-parent itJP Rosevear2003-04-118-1/+40
| | | | | | | | | | | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the main widget since we ref it when we un-parent it * gui/dialogs/alarm-page.c (alarm_page_finalize): ditto * gui/dialogs/task-page.c (task_page_finalize): ditto * gui/dialogs/event-page.c (event_page_finalize): ditto * gui/dialogs/task-details-page.c (task_details_page_finalize): ditto * gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto * gui/dialogs/meeting-page.c (meeting_page_finalize): ditto svn path=/trunk/; revision=20811
* added the allocation's X and Y position to the calculated coordinates.Rodrigo Moya2003-04-112-4/+31
| | | | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): (e_meeting_time_selector_autopick_menu_position_callback): added the allocation's X and Y position to the calculated coordinates. svn path=/trunk/; revision=20809
* Fixes #41127JP Rosevear2003-04-113-5/+16
| | | | | | | | | | | | | | | 2003-04-10 JP Rosevear <jpr@ximian.com> Fixes #41127 * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb): unref here, when the callback is done (e_meeting_time_selector_refresh_free_busy): don't unref here * gui/e-meeting-model.c (process_free_busy): if the type is unexpected, make sure we cleanup properly svn path=/trunk/; revision=20807
* only remove the alarm for backends that want it (Exchange).Rodrigo Moya2003-04-102-1/+8
| | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): only remove the alarm for backends that want it (Exchange). svn path=/trunk/; revision=20801
* added #define's for static capabilities.Rodrigo Moya2003-04-103-1/+19
| | | | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added #define's for static capabilities. * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): use the #define's above. svn path=/trunk/; revision=20800
* Fixes #40133Chris Toshok2003-04-102-1/+9
| | | | | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> Fixes #40133 * pcs/cal-backend.c (cal_backend_class_init): use G_TYPE_INT instead of G_TYPE_ENUM as a parameter type for the signal to get rid of runtime warning. svn path=/trunk/; revision=20786
* Fixes #40915JP Rosevear2003-04-092-1/+11
| | | | | | | | | | | 2003-04-09 JP Rosevear <jpr@ximian.com> Fixes #40915 * gui/calendar-model.c (get_due_status): when getting the current time for date values, use a timezone aware function svn path=/trunk/; revision=20785
* Fixes #40952JP Rosevear2003-04-092-1/+8
| | | | | | | | | | | 2003-04-09 JP Rosevear <jpr@ximian.com> Fixes #40952 * pcs/cal-backend-file.c (cal_backend_file_open): check for file method instead of is_local svn path=/trunk/; revision=20783
* kill an old e_utf8_gtk usageMike Kestner2003-04-091-1/+0
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-search-bar.c (set_option): kill an old e_utf8_gtk usage and remove some straggling e-font.h includes. svn path=/trunk/; revision=20769
* Fixes #40894JP Rosevear2003-04-081-0/+8
| | | | | | | | | | | | 2003-04-08 JP Rosevear <jpr@ximian.com> Fixes #40894 * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): update the selection for all view types svn path=/trunk/; revision=20754
* update the selection for all view typesJP Rosevear2003-04-081-25/+11
| | | | | | | | | | 2003-04-08 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): update the selection for all view types svn path=/trunk/; revision=20753
* Remove button_ok, button_cancel, canceled members from struct Dialog.Ettore Perazzoli2003-04-083-482/+452
| | | | | | | | | | | | | | | | | | | | | * gui/dialogs/alarm-options.c: Remove button_ok, button_cancel, canceled members from struct Dialog. (get_widgets): Do not initialize. (close_dialog): Destroy the toplevel. (toplevel_delete_event_cb): Removed. (button_cancel_clicked_cb): Removed. (button_ok_clicked_cb): Removed. (close_dialog): Removed. (alarm_options_dialog_run): Use gtk_dialog_run. (init_widgets): Do not init ->canceled, do not connect OK/Cancel buttons. (alarm_to_dialog): No need to make the file entry modal from here anymore. * gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set the "modal" property to True for the file entry. svn path=/trunk/; revision=20749
* Fixes #35926.Hans Petter Jansson2003-04-083-130/+16
| | | | | | | | | | | | | | | | | | | | 2003-04-07 Hans Petter Jansson <hpj@ximian.com> Fixes #35926. * gui/dialogs/event-page.glade: Remove contacts entry/chooser. * gui/dialogs/event-page.c: Remove contacts entry/chooser. (event_page_init): Remove references. (event_page_finalize): Ditto. (event_page_fill_widgets): Ditto. (event_page_fill_component): Ditto. (get_widgets): Ditto. (init_widgets): Ditto. (contacts_clicked_cb): Remove wholesale. (contacts_changed_cb): Ditto. svn path=/trunk/; revision=20731
* Fixes #40876JP Rosevear2003-04-082-3/+20
| | | | | | | | | | | | | 2003-04-07 JP Rosevear <jpr@ximian.com> Fixes #40876 * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_free_busy): guard against callbacks after destruction (e_meeting_time_selector_refresh_cb): ditto svn path=/trunk/; revision=20727
* create button properlyJP Rosevear2003-04-084-36/+17
| | | | | | | | | | | | | | | 2003-04-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.glade: create button properly * gui/itip-utils.c (comp_server_send): for errors other than busy, we want to email the results * pcs/cal-backend.c (cal_backend_ref_categories): insert the new category in the category list as well (idle_notify_categories_changed): reset idle id svn path=/trunk/; revision=20726
* Fixes #40252Not Zed2003-04-083-92/+99
| | | | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> Fixes #40252 * conduits/todo/todo-conduit.c: Same as below. * conduits/calendar/calendar-conduit.c: Change the LOG macro to a single arg macro which copies its arg. Fix all callers. Change WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN before including anything. svn path=/trunk/; revision=20714
* Clean up server namesDan Winship2003-04-084-25/+38
| | | | | | | | | | | | * gui/GNOME_Evolution_Calendar.server.in.in: Clean up server names * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Likewise * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Likewise. Also mark the evolution:menu_name for i18n svn path=/trunk/; revision=20705
* Slight correction to previous commit; use G_ cast checks.Hans Petter2003-04-071-4/+4
| | | | svn path=/trunk/; revision=20696
* GObjectify. Eliminates ref/sink warnings from the meeting editor.Hans Petter Jansson2003-04-073-21/+26
| | | | | | | | | 2003-04-07 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-attendee.[ch]: GObjectify. Eliminates ref/sink warnings from the meeting editor. svn path=/trunk/; revision=20695
* Week view part of fix for #39895.Hans Petter Jansson2003-04-074-3/+23
| | | | | | | | | | | | | | | | 2003-04-06 Hans Petter Jansson <hpj@ximian.com> Week view part of fix for #39895. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Use the UNFOCUSSED colour if we're not focused, rather than not drawing anything. * gui/e-week-view.c: Set up the UNFOCUSSED colour. * gui/e-week-view.h: Add the UNFOCUSSED colour. svn path=/trunk/; revision=20689
* Fixes #40790JP Rosevear2003-04-052-5/+14
| | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> Fixes #40790 * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog): return based on the response code (not old button stuff) svn path=/trunk/; revision=20679
* (alarm_to_dialog): Make the fileEttore Perazzoli2003-04-052-0/+11
| | | | | | entry modal. [#40792] svn path=/trunk/; revision=20678
* description is a text buffer (alarm_to_malarm_widgets): dittoJP Rosevear2003-04-052-6/+34
| | | | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-options.c (alarm_to_dalarm_widgets): description is a text buffer (alarm_to_malarm_widgets): ditto (dalarm_widgets_to_alarm): ditto (malarm_widgets_to_alarm): ditto (alarm_to_repeat_widgets): check repeat status correctly svn path=/trunk/; revision=20677
* guard against multiple destroy callsJP Rosevear2003-04-052-7/+14
| | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/cal-search-bar.c (cal_search_bar_destroy): guard against multiple destroy calls svn path=/trunk/; revision=20672
* Don't free static string.Dan Winship2003-04-052-1/+6
| | | | | | * gui/e-itip-control.c (write_html): Don't free static string. svn path=/trunk/; revision=20670
* guard against empty uri as wellJP Rosevear2003-04-052-1/+6
| | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (get_default_uri): guard against empty uri as well svn path=/trunk/; revision=20669
* Fixes #40722JP Rosevear2003-04-042-5/+17
| | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> Fixes #40722 * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): guard against multiple destroy calls svn path=/trunk/; revision=20667
* Add a check to see if the view should be the day-view and change theJeffrey Stedfast2003-04-033-6/+20
| | | | | | | | | | | | | | | | | | 2003-04-02 Jeffrey Stedfast <fejj@ximian.com> * gui/control-factory.c (set_prop): Add a check to see if the view should be the day-view and change the default to be whatever calendar_config_get_default_view() returns. Should fix bug #39735. * gui/calendar-config.h: calendar_config_write() and calendar_config_write_on_exit() no longer exist. Removed prototypes. * gui/control-factory.c (set_prop): g_strcasecmp() is deprecated. Since the values can never be anything other than all lowercase anyway, just use strcmp. svn path=/trunk/; revision=20649
* Fixes #39262Rodrigo Moya2003-04-032-7/+40
| | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #39262 * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): use folder_type argument to determine what to import. svn path=/trunk/; revision=20647
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-032-0/+7
| | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20646
* Fixes #39955JP Rosevear2003-04-022-2/+6
| | | | | | | | | | 2003-04-02 JP Rosevear <jpr@ximian.com> Fixes #39955 * gui/itip-utils.c (comp_sentby): don't unref the the account svn path=/trunk/; revision=20641
* Fixes #40661Rodrigo Moya2003-04-022-0/+7
| | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #40661 * gui/itip-utils.c: added missing header for Forte compilation. svn path=/trunk/; revision=20637
* Nuke GdkFont and use Pango's font measuring.Hans Petter Jansson2003-04-0211-172/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw): Nuke GdkFont and use Pango's font measuring. * gui/e-day-view-time-itme.c (e_day_view_time_item_get_column_width) (e_day_view_time_item_draw): Ditto. * gui/e-day-view-top-item.c (e_day_view_top_item_draw) (e_day_view_top_item_draw_long_event): Ditto. * gui/e-day-view.c (e_day_view_style_set) (e_day_view_recalc_cell_sizes) (e_day_view_reshape_long_event) (e_day_view_update_top_canvas_drag) (e_day_view_update_main_canvas_drag): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set) (e_meeting_time_selector_recalc_date_form): Ditto. * gui/e-week-view-event-item.c (e_week_view_draw_time): Ditto. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Ditto. * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw): Ditto. * gui/e-week-view.c (e_week_view_style_set) (e_week_view_recalc_cell_sizes) (e_week_view_reshape_event_span): Ditto. * gui/weekday-picker.c (weekday_picker_style_set): Ditto. svn path=/trunk/; revision=20627
* Fix for #17231 (Evo portion)JP Rosevear2003-04-023-2/+12
| | | | | | | | | | | | | | | | 2003-04-01 JP Rosevear <jpr@ximian.com> Fix for #17231 (Evo portion) * conduits/todo/todo-conduit.c (comp_from_remote_record): test for secret flag properly * conduits/calendar/calendar-conduit.c (comp_from_remote_record): ditto svn path=/trunk/; revision=20612
* added filename (tasks.ics/calendar.ics) to the URI if it does not containRodrigo Moya2003-04-022-2/+30
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): added filename (tasks.ics/calendar.ics) to the URI if it does not contain it. svn path=/trunk/; revision=20611
* Fixes #39961Rodrigo Moya2003-04-012-22/+13
| | | | | | | | | | | | | 2003-03-31 Rodrigo Moya <rodrigo@ximian.com> Fixes #39961 * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): (e_meeting_time_selector_autopick_menu_position_callback): use the button's allocation to position the popup menu. svn path=/trunk/; revision=20599
* Fixes #39895Not Zed2003-03-304-3/+25
| | | | | | | | | | | | | | | | | | | 2003-03-29 Not Zed <NotZed@Ximian.com> Fixes #39895 * gui/e-day-view.h (EDayViewColors): add an unfocussed colour to draw the selection in when we're not focussed. * gui/e-day-view.c (e_day_view_realize): Initialise E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED to be 1/2 saturation of the focussed colour. * gui/e-day-view-main-item.c (e_day_view_main_item_draw): Use the UFOCUSSED colour if we aren't focussed, rather than just not drawing anything. svn path=/trunk/; revision=20579
* the shell client is a g_object now, ref appropriatelyJP Rosevear2003-03-292-2/+7
| | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (get_servers): the shell client is a g_object now, ref appropriately svn path=/trunk/; revision=20569
* Hold weak references to the CalComponent instead of connecting to theHans Petter Jansson2003-03-293-29/+30
| | | | | | | | | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (comp_destroy_cb) (e_day_view_on_long_event_button_press) (e_day_view_on_event_button_press) (e_day_view_on_long_event_click) (e_day_view_on_event_click) (e_day_view_on_event_double_click) (e_day_view_on_delete_appointment): Hold weak references to the CalComponent instead of connecting to the "destroy" signal. * gui/e-week-view.c (comp_destroy_cb) (e_week_view_on_text_item_event): Ditto. svn path=/trunk/; revision=20566
* Fixes #39954Hans Petter Jansson2003-03-292-4/+11
| | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> Fixes #39954 * gui/dialogs/recurrence-page.c (make_recurrence_special): Destroy would-be children of the container before the container. svn path=/trunk/; revision=20559
* init new members (get_current_account): get a matching account for theJP Rosevear2003-03-284-59/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_init): init new members (get_current_account): get a matching account for the currently selected user in the combo (meeting_page_finalize): unref the meeting attendee if there is one (meeting_page_fill_widgets): don't set the combo list here (clear_widgets): set the default organizer here and if we don't have an organizer, add the default organizer as an attendee (meeting_page_fill_component): use get_current_account (org_changed_cb): if this is a new meeting and the organizer changes, change the attendee (change_clicked_cb): no need to set the default here (init_widgets): reflect changed callback name (meeting_page_construct): set the combo strings here (popup_delete_cb): remove the organizer attendee if the user explicitly deletes it * gui/e-meeting-model.c (attendee_changed_cb): set row properly * gui/itip-utils.c (comp_to_list): skip the user themselves if cancelling or requesting svn path=/trunk/; revision=20557
* use g_object_unref for CalClient's. (create_checkboxes_control): useRodrigo Moya2003-03-272-8/+12
| | | | | | | | | | 2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (gnome_calendar_import_data_fn): use g_object_unref for CalClient's. (create_checkboxes_control): use g_signal_connect. svn path=/trunk/; revision=20519
* return correct values in g_return_val_if_fail.Rodrigo Moya2003-03-273-3/+8
| | | | | | | | | 2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_get_load_state): return correct values in g_return_val_if_fail. svn path=/trunk/; revision=20516
* add a parameter(TC_CORBA_string) to the bonobo_widget_get_property.Jack Jia2003-03-262-1/+7
| | | | | | | | | | 2003-03-26 Jack Jia <jack.jia@sun.com> * calendar/gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): add a parameter(TC_CORBA_string) to the bonobo_widget_get_property. svn path=/trunk/; revision=20515
* Update for e_notice moveDan Winship2003-03-255-15/+38
| | | | | | | | | | | | | | | | | | * gui/itip-utils.c: Update for e_notice move * gui/tasks-control.c (confirm_expunge): Move the code that used to be e_gnome_dialog_set_parent here, since it was marked deprecated and this was the only place using it. * gui/dialogs/comp-editor.c: Update for e_notice move (page_changed_cb, page_summary_changed_cb, page_dates_changed_cb): Pass a parent_window to e_notice. * gui/dialogs/meeting-page.c: Update for e_notice move. (meeting_page_fill_component, meeting_page_fill_component, popup_delegate_cb): Pass a parent_window to e_notice svn path=/trunk/; revision=20503
* Utility wrapper around icalparser.Dan Winship2003-03-256-85/+54
| | | | | | | | | | | | | | | | | * cal-util/cal-util.c (cal_util_parse_ics_file): Utility wrapper around icalparser. * cal-util/test-recur.c (main): Use it * pcs/cal-backend-file.c (open_cal): Likewise * gui/comp-editor-factory.c (open_client): Add the OpenClient to the hash before calling cal_client_open_calendar, since in some failure cases, that will call cal_opened_cb (which will free the oc) with a failure immediately, causing a crash if we then try to deref it. svn path=/trunk/; revision=20492
* Fixes #32248JP Rosevear2003-03-222-1/+10
| | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #32248 * conduits/todo/todo-conduit.c (comp_from_remote_record): make sure the due date is actually a date svn path=/trunk/; revision=20459
* Fixes #31660JP Rosevear2003-03-222-11/+88
| | | | | | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #31660 * conduits/calendar/calendar-conduit.c (rrules_mostly_equal): check if the rrules are equal other than until/count (find_last_cb): update the data with the start timet (local_record_from_comp): handle the case where the recurrence rule ends after a certain number occurrences (comp_from_remote_record): same svn path=/trunk/; revision=20458
* calcomponents are gobjects now (calconduit_load_configuration): ref andJP Rosevear2003-03-213-2/+20
| | | | | | | | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (e_calendar_context_destroy): calcomponents are gobjects now (calconduit_load_configuration): ref and sink to avoid warnings * conduits/todo/todo-conduit.c (todoconduit_load_configuration): ref and sink to avoid warnings (e_todo_context_destroy): calcomponents are gobjects now svn path=/trunk/; revision=20437
* use a GtkMessageDialog and deal correctly with the dialog's reponses.Rodrigo Moya2003-03-212-4/+14
| | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/cancel-comp.c (cancel_component_dialog): use a GtkMessageDialog and deal correctly with the dialog's reponses. svn path=/trunk/; revision=20434
* Fixes #39770Rodrigo Moya2003-03-202-5/+15
| | | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> Fixes #39770 * gui/itip-utils.c (itip_Send_comp): check the CORBA exception instead of the g_return_val_if_fail. Also, use a CORBA_Object for the value returned from bonobo_activation_activate_from_id. svn path=/trunk/; revision=20382
* removed activation of shell_client. (importer_destroy_cb): no need toRodrigo Moya2003-03-202-28/+7
| | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c: removed activation of shell_client. (importer_destroy_cb): no need to unref shell_client. (connect_to_shell): removed. (ical_importer_new, vcal_importer_new): don't call connect_to_shell. svn path=/trunk/; revision=20381
* removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead ofRodrigo Moya2003-03-203-92/+14
| | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c (get_uri_from_folder_path): removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead of folderpath. svn path=/trunk/; revision=20380
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-202-2/+8
| | | | | | | Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] svn path=/trunk/; revision=20368
* use GtkMessageDialog instead of gnome_question_dialog, and deal correctlyRodrigo Moya2003-03-192-4/+15
| | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog instead of gnome_question_dialog, and deal correctly with the dialog's response. svn path=/trunk/; revision=20342
* Fixes #34505Rodrigo Moya2003-03-182-7/+34
| | | | | | | | | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> Fixes #34505 * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added removal of the alarm itself in the calendar if the (new) argument says so. Also, set expecting_update flag to TRUE. (add_component_alarms): initialize expecting_update to FALSE. (remove_alarms): don't remove the component if expecting_update is TRUE. (obj_updated_cb, notify_dialog_cb, procedure_notification): adapted to changes in remove_queued_alarm. svn path=/trunk/; revision=20335
* Fixes #34095Hans Petter Jansson2003-03-189-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #34095 * gui/e-meeting-model.c (append_row): Don't leak meeting attendees; unref the attendee after it's assigned to model. * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual array of deleted attendees. * gui/dialogs/event-editor.c (event_editor_destroy): Free the private structure. * gui/itip-utils.c (comp_description): Rework free/busy information composer so we can free date/time information after use. Then free it. (itip_send_comp): Free the allocated CORBA buffer for attachment data. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component): Free the destination contacts string once we're done with it. * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible. * gui/e-day-view.c (invisible_destroyed): Ditto. * gui/e-week-view.c (invisible_destroyed): Ditto. svn path=/trunk/; revision=20329
* Fixes #39757Hans Petter Jansson2003-03-182-6/+18
| | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39757 * gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code reverted to thinking it was dealing with a GtkCList, when in reality it's a GtkTreeView. Fix that, so the buttons are sensitized correctly. svn path=/trunk/; revision=20328
* Fixes #39736Hans Petter Jansson2003-03-182-1/+8
| | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39736 * gui/e-day-view.c: Reduce the size of the large-digits font so it's en par with the one in 1.2. svn path=/trunk/; revision=20327
* Fixes #39740Rodrigo Moya2003-03-156-342/+18
| | | | | | | | | | | | | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #39740 * gui/e-meeting-model.c (is_cell_editable): check row number is valid before using it as index for the GPtrArray. 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #39356 * gui/Makefile.am: * gui/tasks-migrate.[ch]: removed tasks migration obsolete stuff. * gui/calendar-component.c (owner_set_cb): don't call tasks_migrate. svn path=/trunk/; revision=20301
* set_release on the sequence we create.Rodrigo Moya2003-03-152-0/+4
| | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (impl_CalFactory_uriList): set_release on the sequence we create. svn path=/trunk/; revision=20288
* don't leak the string sequence returned by CalFactory_uriList.Rodrigo Moya2003-03-142-1/+8
| | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_uri_list): don't leak the string sequence returned by CalFactory_uriList. svn path=/trunk/; revision=20285
* use a weak ref instead of connecting to backend's "destroy" signal.Rodrigo Moya2003-03-132-9/+12
| | | | | | | | | | | 2003-03-13 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.c (query_backend_new): use a weak ref instead of connecting to backend's "destroy" signal. (backend_destroyed_cb, query_destroyed_cb): changed to be weak reference callbacks. svn path=/trunk/; revision=20271
* don't use GNOME_STOCK_* defines, but GTK_STOCK_*.Rodrigo Moya2003-03-132-3/+8
| | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): don't use GNOME_STOCK_* defines, but GTK_STOCK_*. svn path=/trunk/; revision=20262
* corrected button ordering and changed the return type to be aRodrigo Moya2003-03-134-10/+25
| | | | | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.[ch] (save_component_dialog): corrected button ordering and changed the return type to be a GtkResponseType. * gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to changes in save_component_dialog. svn path=/trunk/; revision=20261
* Update for timezone dialog API changes.Dan Winship2003-03-123-102/+38
| | | | | | | | | * gui/calendar-config.c (on_timezone_set): Update for timezone dialog API changes. * gui/e-timezone-entry.c: Likewise svn path=/trunk/; revision=20256
* issue more descriptive warnings.Rodrigo Moya2003-03-122-2/+7
| | | | | | | | | 2003-03-11 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): issue more descriptive warnings. svn path=/trunk/; revision=20250
* if we already have the client loaded, don't remove it, just increment itsRodrigo Moya2003-03-103-50/+72
| | | | | | | | | | | | | | | | | | | | 2003-03-09 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we already have the client loaded, don't remove it, just increment its reference count. * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new argument to specify whether we want the component's structure removed if no more alarms exist, and only free the structure if TRUE. (remove_alarms): added same new argument and pass it over to remove_queued_alarm. (remove_comp, obj_updated_cb): passed new argument to remove_alarms. (procedure_notification): passed new argument to remove_queued_alarm. (obj_removed_cb): set all freed pointers to NULL. (notify_dialog_cb): only remove the alarm if the pointers are not NULL. svn path=/trunk/; revision=20232
* create the array to be returned only once.Rodrigo Moya2003-03-072-3/+8
| | | | | | | | | 2003-03-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): create the array to be returned only once. svn path=/trunk/; revision=20217
* ref the CalClient. (notify_dialog_cb): unref the CalClient.Rodrigo Moya2003-03-062-0/+7
| | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-queue.c (display_notification): ref the CalClient. (notify_dialog_cb): unref the CalClient. svn path=/trunk/; revision=20186
* new function. (alarm_notify_dialog): made it return a pointer to theRodrigo Moya2003-03-064-37/+144
| | | | | | | | | | | | | | | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog_disable_buttons): new function. (alarm_notify_dialog): made it return a pointer to the dialog structure. * gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted alarm removal out of remove_comp. (obj_updated_cb): remove the component only when needed. In normal updates, just update the internal structure. (edit_component): don't get a CompQueuedAlarms as argument, since it might be removed. (on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for modifications during dialog display. (notify_dialog_cb): disconnect from "obj_*ed" signals and call edit_component with the new set of arguments. (display_notification): added more data to the closure structure. svn path=/trunk/; revision=20185
* Fixes #31382Rodrigo Moya2003-03-062-2/+10
| | | | | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> Fixes #31382 * gui/e-meeting-model.c (async_read): don't assume the buffer is always full, but use GNOME_VFS_ERROR_EOF instead for knowing when the read has finished. svn path=/trunk/; revision=20183
* fix defaults and descriptions to match what calendar-config wants them toJP Rosevear2003-03-062-30/+35
| | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/apps_evolution_calendar.schemas: fix defaults and descriptions to match what calendar-config wants them to be svn path=/trunk/; revision=20173
* g_objectify ref/unrefJP Rosevear2003-03-054-7/+16
| | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): g_objectify ref/unref * gui/itip-bonobo-control.c (set_data_idle_cb): as above (pstream_load): ditto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above svn path=/trunk/; revision=20172
* override finalize, not destroy (start_calendar_server): take itip as aJP Rosevear2003-03-052-46/+138
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (class_init): override finalize, not destroy (start_calendar_server): take itip as a param and gtk_main_quit if it gets destroyed while we are waiting for the cal client to load (start_default_server): ditto (get_servers): take itip as a param and don't load if we've been destroyed, check for an except when retrieving the folder list (init): ref the html control (destroy): mark ourselves as destroyed (finalize): clean up, unref html control (write_html): if the html widget has been destroyed, don't write anything out (show_current_todo): pass extra param (show_current): ref/unref the itip control to avoid finalization while we are working, pass extra param (button_selected_cb): pass extra param (object_requested_cb): ditto svn path=/trunk/; revision=20171
* cast CalClient's to GObject, not GtkObject.Rodrigo Moya2003-03-052-4/+9
| | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online): cast CalClient's to GObject, not GtkObject. svn path=/trunk/; revision=20166
* don't let the user change to an email organizer if the back end is not anJP Rosevear2003-03-052-3/+11
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't let the user change to an email organizer if the back end is not an email addres svn path=/trunk/; revision=20162
* Fixes #37881JP Rosevear2003-03-052-2/+52
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20161
* Fixes #37881JP Rosevear2003-03-052-1/+8
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20160
* Fixes #37883JP Rosevear2003-03-052-1/+8
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37883 * idl/evolution-calendar.idl: getLdapAttribute can raise NotFound svn path=/trunk/; revision=20158
* Fixes #37806, #37697JP Rosevear2003-03-052-4/+14
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37806, #37697 * gui/e-itip-control.c (e_itip_control_set_data): if the text is null or the empty string, just clear the widget (init): set the html widget to initially be blank svn path=/trunk/; revision=20155
* implementJP Rosevear2003-03-059-20/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * pcs/cal.c (impl_Cal_get_ldap_attribute): implement * pcs/cal-backend.h: add virtual method * pcs/cal-backend.c (cal_backend_get_ldap_attribute): call get_ldap_attribute_method * pcs/cal-backend-file.c (cal_backend_file_class_init): overrid get_ldap_attribute method * idl/evolution-calendar.idl: add getLdapAttribute method * gui/e-meeting-model.c (process_section): take simple card list as arg and try to use the ldap attribute (if any) as the attendee, else use the email address (select_names_ok_cb): get the simple card list * cal-client/cal-client.h: add proto * cal-client/cal-client.c (cal_client_init): init ldap_attribute to NULL (cal_client_destroy): free ldap_attribute svn path=/trunk/; revision=20154
* call cal_client_get_cal_address instead of cal_client_get_email_addressJP Rosevear2003-03-0510-44/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_organizer_is_user): call cal_client_get_cal_address instead of cal_client_get_email_address * gui/dialogs/meeting-page.c (meeting_page_construct): ditto * pcs/cal.c (impl_Cal_get_cal_address): implement updated method name (cal_class_init): set method implementation * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address virtual function (cal_backend_get_cal_address): call proper function * pcs/cal-backend.h: update proto, rename get_email_address virtual function to get_cal_address virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): match get_cal_address call (cal_backend_file_get_cal_address): rename from cal_backend_file_get_email_address * cal-client/cal-client.c: rename email_address private member to cal_address (cal_client_init): init cal_address (cal_client_destroy): free cal_address and properly free alarm_email_address (cal_client_get_cal_address): rename from cal_client_get_email_address and call proper corba function svn path=/trunk/; revision=20151
* fix commentJP Rosevear2003-03-052-1/+5
| | | | | | | | 2003-02-05 JP Rosevear <jpr@ximian.com> * idl/evolution-calendar.idl: fix comment svn path=/trunk/; revision=20149
* update FIXME noteJP Rosevear2003-03-052-3/+6
| | | | | | | | | 2003-02-05 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (calendar_model_append_row): update FIXME note svn path=/trunk/; revision=20148
* fix copyrightJP Rosevear2003-03-053-7/+15
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recur-comp.h: fix copyright * gui/dialogs/recur-comp.c: fix copyright (recur_component_dialog): say "recurring journal entry" instead of just "recurring journal" svn path=/trunk/; revision=20147
* Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)JP Rosevear2003-03-053-2/+22
| | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>) * gui/dialogs/schedule-page.c (update_time): handle no end date if the start is date only * gui/dialogs/event-page.c (update_time): ditto svn path=/trunk/; revision=20146
* Shush.JP Rosevear2003-03-051-1/+3
| | | | svn path=/trunk/; revision=20145
* Commit missed files.JP Rosevear2003-03-052-0/+126
| | | | svn path=/trunk/; revision=20144
* If only the pipe wouldn't break.JP Rosevear2003-03-0551-2399/+3298
| | | | svn path=/trunk/; revision=20143
* Merging in 1.2 stuffJP Rosevear2003-03-053-32/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Merging in 1.2 stuff Fixes #35598 * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): count a status of needs action as a status of none (not started) (date_changed_cb): set the option menu to a status of none (status_changed): no need to handle needs action status now * gui/dialogs/task-details-page.glade: remove needs-action menu item Fixes #36763 * gui/dialogs/alarm-page.c (add_clicked_cb): if no address was set for an email alarm, set the default (button_options_clicked_cb): pass the default email address * gui/dialogs/alarm-options.h (alarm_options_dialog_run): update proto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): if there are no email attendees, default to the passed in value (alarm_options_dialog_run): take and track an email param * pcs/cal.c (impl_Cal_get_alarm_email_address): implement by calling backend method (cal_class_init): set alarm email address method implementation * pcs/cal-backend.h: add new virtual proto * pcs/cal-backend.c (cal_backend_class_init): set alarm email address virtual method to NULL (cal_backend_get_alarm_email_address): call backend method * pcs/cal-backend-file.c (cal_backend_file_class_init): set alarm email address method (cal_backend_file_get_alarm_email_address): implement by returning NULL * idl/evolution-calendar.idl: add getAlarmEmailAddress method Fixes #37102 * gui/dialogs/task-editor.c (set_menu_sens): don't allow task assignment if the backend says not to * gui/dialogs/recurrence-page.c (fill_component): kill warning (preview_recur): display the recurrences in the dtstart timezone if possible * gui/gnome-cal.c (dn_query_obj_updated_cb): pass NULL to use default tag zone * gui/tag-calendar.c (tag_calendar_by_comp): allow display zone for the tagged calendar to be passed in (prepare_tag): use the passed in timezone for display if non-null * gui/tag-calendar.h (tag_calendar_by_comp): update proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): make sure we always update the preview * conduits/todo/todo-conduit.c (add_record): make sure to create a unique uid for the record * conduits/calendar/calendar-conduit.c (add_record): ditto * conduits/todo/todo-conduit.c (e_todo_context_new): init default comp and timezone to NULL (e_todo_context_destroy): unref default comp (pre_sync): et the default comp via the client and set the default timezone (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (e_calendar_context_new): init default comp to NULL (e_calendar_context_destroy): unref default comp (pre_sync): get the default comp via the client (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (local_record_from_comp): only add the recurrence rule if its not an instance * gui/itip-control-factory.c (set_data_idle_cb): idle call back to set control data (pstream_load): set the data in an idle callback to avoid deadlock (get_prop): handle view_only (set_prop): ditto (itip_control_factory): add view_only * gui/e-itip-control.h: add protos * gui/e-itip-control.c (write_html): only write out the options if we aren't in view_only mode (e_itip_control_set_view_only): accessor (e_itip_control_get_view_only): ditto Fixes #36909 * gui/dialogs/alarm-page.c (button_options_clicked_cb): indicate whether the options dialog should allow repeating * gui/dialogs/alarm-options.h: update proto * gui/dialogs/alarm-options.c (alarm_to_repeat_widgets): if repeating is not allowed, sensitize the widgets appropriately (alarm_options_dialog_run): store the repeat param * gui/calendar-model.c (calendar_model_append_row): guard against saving before the calendar is open * gui/e-day-view.c (e_day_view_key_press): ditto * gui/dialogs/comp-editor.c (page_changed_cb): change warning dialog to not mention email (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/itip-utils.c (itip_organizer_is_user): make the compare case insensitive * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't allow the organizer to be changed if its not an email address * gui/e-day-view.c, calendar-model.c, e-week-view.c, task-editor.c, event-editor.c, comp-editor.c, meeting-page.c: pass additional param * gui/itip-utils.c (itip_organizer_is_user): take client as param, and if organizer-not-email-address and email address and organizer match, assume the user is the organizer * gui/itip-utils.h: update proto * pcs/cal.c (build_fb_seq): set the max * gui/e-meeting-model.c (e_meeting_model_add_attendee_with_defaults): correct typo and set rsvp appropriately * gui/dialogs/send-comp.c (send_component_dialog): if save schedules, return FALSE for now * gui/dialogs/recurrence-page.c (sensitize_recur_widgets): de-sensitize the preview widget if we are viewing an instance (preview_recur): return if the comp is an instance * gui/dialogs/event-page.glade: name the show time frame * gui/dialogs/event-page.c (event_page_fill_widgets) (event_page_init): init show time frame (event_page_fill_widgets): hide/show frame as needed (get_widgets): get the frame * gui/alarm-notify/alarm-queue.c (mail_notification): kill mail notification code * cal-client/cal-client.c (load_static_capabilities): grab static capabilities string (check_capability): see if a capability is in the string (cal_client_get_one_alarm_only): accessor (cal_client_get_organizer_must_attend): use check_capability (cal_client_get_static_capability): ditto * cal-client/cal-client.h: new, changed protos * idl/evolution-calendar.idl: change over getSchedulingInformation to a more general getStaticCapabilities call * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): return "no-email-alarms" * pcs/cal-backend.c (cal_backend_get_static_capabilities): ditto * pcs/cal-backend.h: ditto * pcs/cal.c (impl_Cal_get_static_capabilities): ditto * gui/alarm-notify/alarm-queue.c (get_default_address): utility routine to snag address info * gui/alarm-notify/Makefile.am: build composer idl * *.c: pass client param for send an cancel params * gui/dialogs/send-comp.c (send_component_dialog): take client as a parm and if save schedules return true right away * gui/dialogs/send-comp.h: update proto * gui/dialogs/cancel-comp.c (cancel_component_dialog): take client as a param and if we are deleting and schedule saves, return true right away * gui/dialogs/cancel-comp.h (cancel_component_dialog): update proto * gui/dialogs/alarm-options.glade: add Send To: button * gui/dialogs/alarm-options.c (addressbook_clicked_cb): display dialog (setup_select_names): attach above to Send To: button clicked signal * gui/dialogs/alarm-options.c (get_widgets): get mail alarm widgets (setup_select_names): add the select names widget (alarm_to_malarm_widgets): show the attendees and description (alarm_to_dialog): set the title for mail alarms properly (malarm_widgets_to_alarm): save attendees and descriptions in alarm (alarm_options_dialog_run): call setup_select_names * gui/dialogs/alarm-page.c: add email to alarm types * gui/dialogs/alarm-options.glade: add mail alarm widgets * gui/dialogs/alarm-page.glade: add email to alarm types * cal-util/cal-component.c (scan_attendee): kill unnecessary CalComponent param (scan_property): don't pass same (set_attendee_list): take an icalcomp instead of a CalComponent (cal_component_set_attendee_list): pass same (scan_alarm_property): if its an attendee, scan it (make_alarm): set attendee_list member to null (cal_component_alarm_new): ditto (cal_component_alarm_free): free attendee list (cal_component_alarm_get_attendee_list): return attendee list (cal_component_alarm_set_attendee_list): set attendee list (cal_component_alarm_has_attendees): return true if alarm has attendees * cal-util/cal-component.h: new protos * gui/calendar-model.c (calendar_model_append_row): use cal_comp_task_new_with_defaults * gui/comp-editor-factory.c (get_default_task): ditto * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_new_task): ditto * gui/comp-util.h (cal_comp_task_new_with_defaults): new proto * gui/comp-util.c (cal_comp_task_new_with_defaults): new utility routine * cal-util/cal-util.c (generate_absolute_triggers): skip omitted alarm types (add_alarm_occurrences_cb): ditto (cal_util_generate_alarms_for_list): take/pass omit param (cal_util_generate_alarms_for_comp): ditto * cal-util/cal-util.h: update protos * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): add omit param (cal_backend_file_get_alarms_in_range): ditto * pcs/cal-backend.c (cal_backend_get_scheduling_information): remove dead param * gui/dialogs/meeting-page.h: delete proto * gui/dialogs/meeting-page.c: remove dead routine * gui/dialogs/event-editor.c (event_editor_edit_comp): we don't need to add the organizer as an attendee ourselves, just set the edit level properly * gui/dialogs/task-editor.c (task_editor_edit_comp): ditto * gui/comp-util.c (cal_comp_event_new_with_defaults): take client as arg so we can obtain the default from the backend * gui/comp-editor-factory.c (get_default_event): pass cal_comp_event_new_with_defaults the new param * gui/gnome-cal.c (gnome_calendar_new_appointment_for): ditto * gui/e-week-view.c (e_week_view_key_press): ditto * gui/e-day-view.c (e_day_view_key_press): ditto * gui/calendar-model.c (calendar_model_append_row): ditto * gui/comp-util.h (cal_comp_event_new_with_defaults): update proto * pcs/cal-backend-file.c (cal_backend_file_get_default_object): return appropriate default object * pcs/cal-backend.c (cal_backend_get_default_object): call get_default_backend class method * pcs/cal-backend.h: add proto * pcs/cal.c (impl_Cal_get_default_object): implement (cal_class_init): set handler for getDefaultObject call * idl/evolution-calendar.idl: remove always schedule from SchedulingInformation and add getDefaultObject call * cal-client/cal-client.c (cal_client_get_default_object): gets a default object from the server (cal_client_init): remove always_schedule (load_scheduling_info): ditto * cal-client/cal-client.h: add a proto, delete a proto * gui/dialogs/meeting-page.c (right_click_cb): if the attendee is not fully editable, don't allow deletion (meeting_page_construct): keep the default organizer as an itip address (meeting_page_get_default_organizer): return the default organizer * gui/dialogs/meeting-page.h: new proto * gui/dialogs/event-editor.c (event_editor_edit_comp): we set appropriate edit levels now for users and if the backend always schedules we always show the meeting pages and add the organizer as an attendee * gui/dialogs/task-editor.c (task_editor_edit_comp): same * gui/e-meeting-model.c (is_cell_editable): use the edit level of the attendee to determine if cell is editable (init): we no longer keep the attendee list of restricted * gui/e-meeting-attendee.c (e_meeting_attendee_get_edit_level): accessor (e_meeting_attendee_set_edit_level): ditto * gui/e-meeting-attendee.h: new protos and edit level enum * cal-client/cal-client.c (load_scheduling_info): load the scheduling info (cal_client_get_always_schedule): accessor (cal_client_get_organizer_must_attend): ditto (cal_client_get_save_schedules): ditto (cal_client_init): init scheduling data members * cal-client/cal-client.h: accessors for scheduling information * pcs/cal-backend-file.c (cal_backend_file_get_scheduling_information): implement the new virtual method * pcs/cal-backend.c (cal_backend_get_scheduling_information): call the class specific method * pcs/cal-backend.h: add virtual method * idl/evolution-calendar.idl: add a getSchedulingInformation call which describes how the backend does its scheduling * pcs/cal.c (impl_Cal_get_scheduling_information): implement above * gui/e-day-view.c: pass NULL as parent to recur dialog * gui/e-week-view.c: ditto * gui/dialogs/comp-editor.c (prompt_to_save_changes): show recur dialog after prompting, not before (save_cmd): ditto (save_close_cmd): ditto (real_edit_comp): don't show recur dialog before opening * gui/dialogs/recur-comp.h (recur_component_dialog): update proto * gui/dialogs/recur-comp.c (recur_component_dialog): take a parent argument and set the dialog parent if non-null * gui/e-week-view.c (e_day_view_on_editing_stopped): Don't update appointment if both the old and the new summary texts are empty. * gui/e-week-view.c (e_week_view_show_popup_menu): mask out "make moveable" if its an instance * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) * gui/e-day-view.c (e_day_view_finish_long_event_resize): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/dialogs/comp-editor.c (real_edit_comp): reflect changes in proto of recur_component_dialog * gui/dialogs/recur-comp.c (recur_component_dialog): use ok/cancel instead and radio buttons for the mod type * gui/dialogs/recur-comp.h: update proto * gui/e-day-view.c (e_day_view_on_long_event_click): allow dragging if its an instance (e_day_view_on_event_click): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto * gui/dialogs/comp-editor.c (save_comp): if its an instance, update with the mod type (real_edit_comp): ask the user what instances they want to change * gui/dialogs/recur-comp.[hc]: new dialog to ask user what recurrences to modify * gui/dialogs/Makefile.am: Compile new files * gui/e-day-view.c (e_day_view_on_delete_occurrence): if its an instance, just remove with THIS mod * gui/e-week-view.c (e_week_view_on_delete_occurrence): ditto * cal-client/cal-client.c (cal_client_remove_object_with_mod): send the mod parameter to the backend (cal_client_remove_object): implement with above (cal_client_update_object_with_mod): send the mod parameter to the backend (cal_client_update_object): implement with above * cal-client/cal-client.h: new protos * cal-client/cal-client.c (cal_client_is_read_only): return booleans in the pre conditions (cal_client_update_object): pass mod param (cal_client_update_objects): ditto (cal_client_remove_object): ditto (cal_client_ensure_timezone_on_server): ditto * pcs/cal.c (impl_Cal_update_objects): take mod param (impl_Cal_remove_object): ditto * pcs/cal-backend.h: fix protos * pcs/cal-backend.c (cal_backend_update_objects): take mod param (cal_backend_remove_object): ditto * pcs/cal-backend-file.c (cal_backend_file_update_objects): take mod param (cal_backend_file_remove_object): ditto * cal-util/cal-util.h: add mod enum * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): if its an instance, just report the instance * cal-util/cal-component.h: new protos * cal-util/cal-component.c (cal_component_is_instance): indicate whether the component is an instance or not (cal_component_free_range): free a range * idl/evolution-calendar.idl: get remove and update to take mod type svn path=/trunk/; revision=20142
* Fixes #35598JP Rosevear2003-03-051-0/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #35598 * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): count a status of needs action as a status of none (not started) (date_changed_cb): set the option menu to a status of none (status_changed): no need to handle needs action status now * gui/dialogs/task-details-page.glade: remove needs-action menu item Fixes #36763 * gui/dialogs/alarm-page.c (add_clicked_cb): if no address was set for an email alarm, set the default (button_options_clicked_cb): pass the default email address * gui/dialogs/alarm-options.h (alarm_options_dialog_run): update proto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): if there are no email attendees, default to the passed in value (alarm_options_dialog_run): take and track an email param * pcs/cal.c (impl_Cal_get_alarm_email_address): implement by calling backend method (cal_class_init): set alarm email address method implementation * pcs/cal-backend.h: add new virtual proto * pcs/cal-backend.c (cal_backend_class_init): set alarm email address virtual method to NULL (cal_backend_get_alarm_email_address): call backend method * pcs/cal-backend-file.c (cal_backend_file_class_init): set alarm email address method (cal_backend_file_get_alarm_email_address): implement by returning NULL * idl/evolution-calendar.idl: add getAlarmEmailAddress method Fixes #37102 * gui/dialogs/task-editor.c (set_menu_sens): don't allow task assignment if the backend says not to * gui/dialogs/recurrence-page.c (fill_component): kill warning (preview_recur): display the recurrences in the dtstart timezone if possible * gui/gnome-cal.c (dn_query_obj_updated_cb): pass NULL to use default tag zone * gui/tag-calendar.c (tag_calendar_by_comp): allow display zone for the tagged calendar to be passed in (prepare_tag): use the passed in timezone for display if non-null * gui/tag-calendar.h (tag_calendar_by_comp): update proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): make sure we always update the preview * conduits/todo/todo-conduit.c (add_record): make sure to create a unique uid for the record * conduits/calendar/calendar-conduit.c (add_record): ditto * conduits/todo/todo-conduit.c (e_todo_context_new): init default comp and timezone to NULL (e_todo_context_destroy): unref default comp (pre_sync): et the default comp via the client and set the default timezone (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (e_calendar_context_new): init default comp to NULL (e_calendar_context_destroy): unref default comp (pre_sync): get the default comp via the client (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (local_record_from_comp): only add the recurrence rule if its not an instance * gui/itip-control-factory.c (set_data_idle_cb): idle call back to set control data (pstream_load): set the data in an idle callback to avoid deadlock (get_prop): handle view_only (set_prop): ditto (itip_control_factory): add view_only * gui/e-itip-control.h: add protos * gui/e-itip-control.c (write_html): only write out the options if we aren't in view_only mode (e_itip_control_set_view_only): accessor (e_itip_control_get_view_only): ditto Fixes #36909 * gui/dialogs/alarm-page.c (button_options_clicked_cb): indicate whether the options dialog should allow repeating * gui/dialogs/alarm-options.h: update proto * gui/dialogs/alarm-options.c (alarm_to_repeat_widgets): if repeating is not allowed, sensitize the widgets appropriately (alarm_options_dialog_run): store the repeat param * gui/calendar-model.c (calendar_model_append_row): guard against saving before the calendar is open * gui/e-day-view.c (e_day_view_key_press): ditto * gui/dialogs/comp-editor.c (page_changed_cb): change warning dialog to not mention email (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/itip-utils.c (itip_organizer_is_user): make the compare case insensitive * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't allow the organizer to be changed if its not an email address * gui/e-day-view.c, calendar-model.c, e-week-view.c, task-editor.c, event-editor.c, comp-editor.c, meeting-page.c: pass additional param * gui/itip-utils.c (itip_organizer_is_user): take client as param, and if organizer-not-email-address and email address and organizer match, assume the user is the organizer * gui/itip-utils.h: update proto * pcs/cal.c (build_fb_seq): set the max * gui/e-meeting-model.c (e_meeting_model_add_attendee_with_defaults): correct typo and set rsvp appropriately * gui/dialogs/send-comp.c (send_component_dialog): if save schedules, return FALSE for now * gui/dialogs/recurrence-page.c (sensitize_recur_widgets): de-sensitize the preview widget if we are viewing an instance (preview_recur): return if the comp is an instance * gui/dialogs/event-page.glade: name the show time frame * gui/dialogs/event-page.c (event_page_fill_widgets) (event_page_init): init show time frame (event_page_fill_widgets): hide/show frame as needed (get_widgets): get the frame * gui/alarm-notify/alarm-queue.c (mail_notification): kill mail notification code * cal-client/cal-client.c (load_static_capabilities): grab static capabilities string (check_capability): see if a capability is in the string (cal_client_get_one_alarm_only): accessor (cal_client_get_organizer_must_attend): use check_capability (cal_client_get_static_capability): ditto * cal-client/cal-client.h: new, changed protos * idl/evolution-calendar.idl: change over getSchedulingInformation to a more general getStaticCapabilities call * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): return "no-email-alarms" * pcs/cal-backend.c (cal_backend_get_static_capabilities): ditto * pcs/cal-backend.h: ditto * pcs/cal.c (impl_Cal_get_static_capabilities): ditto * gui/alarm-notify/alarm-queue.c (get_default_address): utility routine to snag address info * gui/alarm-notify/Makefile.am: build composer idl * *.c: pass client param for send an cancel params * gui/dialogs/send-comp.c (send_component_dialog): take client as a parm and if save schedules return true right away * gui/dialogs/send-comp.h: update proto * gui/dialogs/cancel-comp.c (cancel_component_dialog): take client as a param and if we are deleting and schedule saves, return true right away * gui/dialogs/cancel-comp.h (cancel_component_dialog): update proto * gui/dialogs/alarm-options.glade: add Send To: button * gui/dialogs/alarm-options.c (addressbook_clicked_cb): display dialog (setup_select_names): attach above to Send To: button clicked signal * gui/dialogs/alarm-options.c (get_widgets): get mail alarm widgets (setup_select_names): add the select names widget (alarm_to_malarm_widgets): show the attendees and description (alarm_to_dialog): set the title for mail alarms properly (malarm_widgets_to_alarm): save attendees and descriptions in alarm (alarm_options_dialog_run): call setup_select_names * gui/dialogs/alarm-page.c: add email to alarm types * gui/dialogs/alarm-options.glade: add mail alarm widgets * gui/dialogs/alarm-page.glade: add email to alarm types * cal-util/cal-component.c (scan_attendee): kill unnecessary CalComponent param (scan_property): don't pass same (set_attendee_list): take an icalcomp instead of a CalComponent (cal_component_set_attendee_list): pass same (scan_alarm_property): if its an attendee, scan it (make_alarm): set attendee_list member to null (cal_component_alarm_new): ditto (cal_component_alarm_free): free attendee list (cal_component_alarm_get_attendee_list): return attendee list (cal_component_alarm_set_attendee_list): set attendee list (cal_component_alarm_has_attendees): return true if alarm has attendees * cal-util/cal-component.h: new protos * gui/calendar-model.c (calendar_model_append_row): use cal_comp_task_new_with_defaults * gui/comp-editor-factory.c (get_default_task): ditto * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_new_task): ditto * gui/comp-util.h (cal_comp_task_new_with_defaults): new proto * gui/comp-util.c (cal_comp_task_new_with_defaults): new utility routine * cal-util/cal-util.c (generate_absolute_triggers): skip omitted alarm types (add_alarm_occurrences_cb): ditto (cal_util_generate_alarms_for_list): take/pass omit param (cal_util_generate_alarms_for_comp): ditto * cal-util/cal-util.h: update protos * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): add omit param (cal_backend_file_get_alarms_in_range): ditto * pcs/cal-backend.c (cal_backend_get_scheduling_information): remove dead param * gui/dialogs/meeting-page.h: delete proto * gui/dialogs/meeting-page.c: remove dead routine * gui/dialogs/event-editor.c (event_editor_edit_comp): we don't need to add the organizer as an attendee ourselves, just set the edit level properly * gui/dialogs/task-editor.c (task_editor_edit_comp): ditto * gui/comp-util.c (cal_comp_event_new_with_defaults): take client as arg so we can obtain the default from the backend * gui/comp-editor-factory.c (get_default_event): pass cal_comp_event_new_with_defaults the new param * gui/gnome-cal.c (gnome_calendar_new_appointment_for): ditto * gui/e-week-view.c (e_week_view_key_press): ditto * gui/e-day-view.c (e_day_view_key_press): ditto * gui/calendar-model.c (calendar_model_append_row): ditto * gui/comp-util.h (cal_comp_event_new_with_defaults): update proto * pcs/cal-backend-file.c (cal_backend_file_get_default_object): return appropriate default object * pcs/cal-backend.c (cal_backend_get_default_object): call get_default_backend class method * pcs/cal-backend.h: add proto * pcs/cal.c (impl_Cal_get_default_object): implement (cal_class_init): set handler for getDefaultObject call * idl/evolution-calendar.idl: remove always schedule from SchedulingInformation and add getDefaultObject call * cal-client/cal-client.c (cal_client_get_default_object): gets a default object from the server (cal_client_init): remove always_schedule (load_scheduling_info): ditto * cal-client/cal-client.h: add a proto, delete a proto * gui/dialogs/meeting-page.c (right_click_cb): if the attendee is not fully editable, don't allow deletion (meeting_page_construct): keep the default organizer as an itip address (meeting_page_get_default_organizer): return the default organizer * gui/dialogs/meeting-page.h: new proto * gui/dialogs/event-editor.c (event_editor_edit_comp): we set appropriate edit levels now for users and if the backend always schedules we always show the meeting pages and add the organizer as an attendee * gui/dialogs/task-editor.c (task_editor_edit_comp): same * gui/e-meeting-model.c (is_cell_editable): use the edit level of the attendee to determine if cell is editable (init): we no longer keep the attendee list of restricted * gui/e-meeting-attendee.c (e_meeting_attendee_get_edit_level): accessor (e_meeting_attendee_set_edit_level): ditto * gui/e-meeting-attendee.h: new protos and edit level enum * cal-client/cal-client.c (load_scheduling_info): load the scheduling info (cal_client_get_always_schedule): accessor (cal_client_get_organizer_must_attend): ditto (cal_client_get_save_schedules): ditto (cal_client_init): init scheduling data members * cal-client/cal-client.h: accessors for scheduling information * pcs/cal-backend-file.c (cal_backend_file_get_scheduling_information): implement the new virtual method * pcs/cal-backend.c (cal_backend_get_scheduling_information): call the class specific method * pcs/cal-backend.h: add virtual method * idl/evolution-calendar.idl: add a getSchedulingInformation call which describes how the backend does its scheduling * pcs/cal.c (impl_Cal_get_scheduling_information): implement above * gui/e-day-view.c: pass NULL as parent to recur dialog * gui/e-week-view.c: ditto * gui/dialogs/comp-editor.c (prompt_to_save_changes): show recur dialog after prompting, not before (save_cmd): ditto (save_close_cmd): ditto (real_edit_comp): don't show recur dialog before opening * gui/dialogs/recur-comp.h (recur_component_dialog): update proto * gui/dialogs/recur-comp.c (recur_component_dialog): take a parent argument and set the dialog parent if non-null * gui/e-week-view.c (e_day_view_on_editing_stopped): Don't update appointment if both the old and the new summary texts are empty. * gui/e-week-view.c (e_week_view_show_popup_menu): mask out "make moveable" if its an instance * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) * gui/e-day-view.c (e_day_view_finish_long_event_resize): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/dialogs/comp-editor.c (real_edit_comp): reflect changes in proto of recur_component_dialog * gui/dialogs/recur-comp.c (recur_component_dialog): use ok/cancel instead and radio buttons for the mod type * gui/dialogs/recur-comp.h: update proto * gui/e-day-view.c (e_day_view_on_long_event_click): allow dragging if its an instance (e_day_view_on_event_click): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto * gui/dialogs/comp-editor.c (save_comp): if its an instance, update with the mod type (real_edit_comp): ask the user what instances they want to change * gui/dialogs/recur-comp.[hc]: new dialog to ask user what recurrences to modify * gui/dialogs/Makefile.am: Compile new files * gui/e-day-view.c (e_day_view_on_delete_occurrence): if its an instance, just remove with THIS mod * gui/e-week-view.c (e_week_view_on_delete_occurrence): ditto * cal-client/cal-client.c (cal_client_remove_object_with_mod): send the mod parameter to the backend (cal_client_remove_object): implement with above (cal_client_update_object_with_mod): send the mod parameter to the backend (cal_client_update_object): implement with above * cal-client/cal-client.h: new protos * cal-client/cal-client.c (cal_client_is_read_only): return booleans in the pre conditions (cal_client_update_object): pass mod param (cal_client_update_objects): ditto (cal_client_remove_object): ditto (cal_client_ensure_timezone_on_server): ditto * pcs/cal.c (impl_Cal_update_objects): take mod param (impl_Cal_remove_object): ditto * pcs/cal-backend.h: fix protos * pcs/cal-backend.c (cal_backend_update_objects): take mod param (cal_backend_remove_object): ditto * pcs/cal-backend-file.c (cal_backend_file_update_objects): take mod param (cal_backend_file_remove_object): ditto * cal-util/cal-util.h: add mod enum * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): if its an instance, just report the instance * cal-util/cal-component.h: new protos * cal-util/cal-component.c (cal_component_is_instance): indicate whether the component is an instance or not (cal_component_free_range): free a range * idl/evolution-calendar.idl: get remove and update to take mod type svn path=/trunk/; revision=20141
* gui/dialogs/alarm-page.c gui/dialogs/event-page.cHans Petter Jansson2003-03-048-7/+19
| | | | | | | | | | | | | | | | 2003-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/alarm-page.c * gui/dialogs/event-page.c * gui/dialogs/meeting-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() -> gtk_container_remove(). The former caused crashes in the addressbook's name-selector. svn path=/trunk/; revision=20130
* Do importers after the other dirs, as it relies on generated files fromHans Petter Jansson2003-03-022-1/+7
| | | | | | | | | | 2003-03-01 Hans Petter Jansson <hpj@ximian.com> * Makefile.am: Do importers after the other dirs, as it relies on generated files from there. This is still not optimal... Should probably introduce dependencies. svn path=/trunk/; revision=20116
* Shlibify.Hans Petter Jansson2003-03-015-60/+59
| | | | | | | | | | | | | | | | | | | 2003-02-28 Hans Petter Jansson <hpj@ximian.com> * importers/Makefile.am: Shlibify. * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Shlibify. * importers/icalendar-importer.c: Add necessary includes. (importer_destroy_cb): This is now a GWeakNotify func. gtk_ -> g_. (ical_importer_new) (vcal_importer_new) (gnome_calendar_importer_destroy_cb): Destroy signal -> weak ref. * importers/main.c: Add necessary includes. Shlibify. svn path=/trunk/; revision=20115
* build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H),Dan Winship2003-03-014-13/+19
| | | | | | | | | | | | | | * gui/dialogs/Makefile.am: build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H), etc): Only generate Evolution-Addressbook-SelectNames.h, not the corresponding .c files, or we'll get duplicate symbol errors trying to link this into libevolution_calendar.la * gui/Makefile.am (libevolution_calendar_la_LIBADD): Update for that (and eliminate libtool portability warnings) svn path=/trunk/; revision=20114
* Forgot to mention server file move.Hans Petter2003-03-011-0/+3
| | | | svn path=/trunk/; revision=20110
* Add calendar/importers/Makefile to output.Hans Petter Jansson2003-03-015-6/+20
| | | | | | | | | | | | | | | | | 2003-02-28 Hans Petter Jansson <hpj@ximian.com> * configure.in: Add calendar/importers/Makefile to output. * calendar/Makefile.am (SUBDIRS): Add importers/. * calendar/importers/Makefile.am (server_in_files) (server_DATA): Insert $(libexecdir). * calendar/importers/icalendar-importer.c (connect_to_shell): oaf_activate_from_id() -> bonobo_activation_activate_from_id(). (load_vcalendar_file): U_() -> _(). svn path=/trunk/; revision=20109
* Remove libalarm.a, which was not being used by the calendar.Dan Winship2003-03-014-17/+23
| | | | | | | | | | | | | | * gui/Makefile.am (libevolution_calendar_la_LIBADD): Remove libalarm.a, which was not being used by the calendar. * gui/main.c: Remove unneeded alarm.h include. * gui/alarm-notify/Makefile.am (noinst_LIBRARIES): Stop building libalarm.a (evolution_alarm_notify_SOURCES): Add alarm.c, alarm.h (evolution_alarm_notify_LDADD): Remove libalarm.a svn path=/trunk/; revision=20107
* link to versist libtool objectJP Rosevear2003-02-283-2/+8
| | | | | | | | | | 2003-02-27 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: link to versist libtool object * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=20094
* This makes alarm notification work.Hans Petter Jansson2003-02-272-1/+8
| | | | | | | | | | | 2003-02-26 Hans Petter Jansson <hpj@ximian.com> This makes alarm notification work. * gui/alarm-notify/notify-main.c (main): Initialize GTK. Don't initialize bonobo activation - bonobo_init() does that for us. svn path=/trunk/; revision=20085
* This makes creating appointments and tasks from the "New" button work.Hans Petter Jansson2003-02-272-6/+16
| | | | | | | | | | | 2003-02-26 Hans Petter Jansson <hpj@ximian.com> This makes creating appointments and tasks from the "New" button work. * gui/main.c (comp_editor_factory_fn): Doesn't need to take any args. (factory): Add a handler for CompEditorFactory. svn path=/trunk/; revision=20082
* Fixes Ximian #37895.Hans Petter Jansson2003-02-273-3/+13
| | | | | | | | | | | | | | 2003-02-26 Hans Petter Jansson <hpj@ximian.com> Fixes Ximian #37895. * gui/e-day-view.c (e_day_view_destroy): g_object_unref () -> pango_font_description_free (). (e_day_view_style_set): Ditto. * gui/e-week-view.c (e_week_view_destroy): Ditto. svn path=/trunk/; revision=20078
* Fixes Ximian #38306.Hans Petter Jansson2003-02-272-19/+44
| | | | | | | | | | | | | 2003-02-26 Hans Petter Jansson <hpj@ximian.com> Fixes Ximian #38306. * gui/e-itip-control.c (clean_up): Do nothing if the private structure has been freed. Don't call non-g_free() freers with NULL pointers. (destroy): Do nothing if the private structure has been freed. Clear pointers to freed blocks. svn path=/trunk/; revision=20077
* Use fixed margins of 5% of page width/height. This is the same cheat asHans Petter Jansson2003-02-262-12/+43
| | | | | | | | | | | | | 2003-02-25 Hans Petter Jansson <hpj@ximian.com> * gui/print.c (print_calendar): Use fixed margins of 5% of page width/height. This is the same cheat as gtkhtml employs to get around the fact that GNOME_PRINT_KEY_PAGE_MARGIN_* don't return useful values (I think). It sort of sucks, but is better than no margins at all. (print_comp): Ditto. svn path=/trunk/; revision=20066
* Get default view from correct key.Hans Petter Jansson2003-02-262-1/+6
| | | | | | | | | 2003-02-25 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-config.c (calendar_config_get_default_view): Get default view from correct key. svn path=/trunk/; revision=20064
* Show start/end-of-day widgets.Hans Petter Jansson2003-02-262-0/+7
| | | | | | | | | 2003-02-25 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/cal-prefs-dialog.c (get_widgets): Show start/end-of-day widgets. svn path=/trunk/; revision=20062
* Don't warn if calendar isn't loaded... Doesn't seem to hurt, but thisHans Petter Jansson2003-02-245-5/+28
| | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-client.c (cal_client_is_read_only): Don't warn if calendar isn't loaded... Doesn't seem to hurt, but this should probably be investigated further. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): If we have no contacts, don't bother trying to set them in the widget. Used to pass a NULL list, which would lead to much anxiety in callees. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): If we have no potential organizers, emit a sensible warning. * gui/dialogs/task-page.c (init_widgets): Don't try to connect to the "changed" signal of the GtkTextView -- we listen to the GtkTextBuffer now. svn path=/trunk/; revision=20019
* gconf settings upgradesMichael Zucci2003-02-2413-419/+224
| | | | svn path=/trunk/; revision=20018
* dont unref accounts anymore. (change_status): itipAddress -> EAccount.Not Zed2003-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (destroy): dont unref accounts anymore. (change_status): itipAddress -> EAccount. * gui/calendar-model.c (calendar_model_destroy): dont unref accounts anymore. (calendar_model_value_at): simplify logic using account_list_find. * gui/dialogs/task-editor.c (task_editor_edit_comp): use new itip_addresses interfaces. * gui/dialogs/meeting-page.c (meeting_page_construct): use new itip_addresses_* interfaces. Should probably be using e_account directly. (meeting_page_finalize): dont unref the accounts list. * gui/dialogs/event-editor.c (event_editor_edit_comp): dont unref accounts anymore. * gui/itip-utils.c (itip_addresses_get_default): Just use e_account_list_get_default. (itip_addresses_get): dont ref the account object, just keep 1 ref to it. (find_account): remove. (itip_organizer_is_user): use e_account_list_find now. (itip_sentby_is_user): " (comp_limit_attendees): " 2003-02-19 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c: addresses->accounts (meeting_page_finalize): unref accounts. * gui/dialogs/event-editor.c: Use EAccountList api's * pcs/cal-backend-util.c (cal_backend_mail_account_get): Removed, use a global EAccountList instead. (cal_backend_mail_account_get_default): Use the global EAccountList directly. (cal_backend_mail_account_is_valid): And here too. * gui/itip-utils.h: Removed ItipAddress structure. * gui/itip-utils.c (itip_addresses_get): Change it to return a global account object, so we dont need to duplicate all account info in the calendar. (itip_addresses_free, itip_address_free): Removed, use g_object_unref. (itip_addresses_get_default): Return an EAccount. (find_account): helper to lookup accounts based on name/address. (itip_organizer_is_user): Use helper to find account. (itip_sentby_is_user): " (comp_limit_attendees): " (comp_sentby): Update to use an EAccount direclty. (get_address): Removed, now redundant. * gui/e-itip-control.c: Changed priv->addresses to be accounts EAccountList. (destroy): unref accounts. (find_my_address): Change to use accounts list directly, also fix a small potential memleak. * gui/calendar-model.c: Change priv->addresses to be a direct reference to an EAccountList, renamed priv->accounts. (calendar_model_destroy): unref accounts. (calendar_model_value_at): Use EAccountList directly to lookup members. * gui/calendar-config.c (calendar_config_get_timezone) (calendar_config_set_timezone): Fix timezone key. (calendar_config_get_24_hour_format): Same for 24 hour format key. (calendar_config_set_24_hour_format): And here. (calendar_config_get_week_start_day): " (calendar_config_set_week_start_day): " (calendar_config_get_day_start_hour): " (calendar_config_set_day_start_hour): " (calendar_config_get_day_start_minute): " (calendar_config_set_day_start_minute): " (calendar_config_get_day_end_hour): " (calendar_config_set_day_end_hour): " (calendar_config_get_day_end_minute) (calendar_config_set_day_end_minute) (calendar_config_get_time_divisions) (calendar_config_set_time_divisions) (calendar_config_get_dnav_show_week_no) (calendar_config_set_dnav_show_week_no) (calendar_config_get_default_view) (calendar_config_set_default_view) (calendar_config_get_hpane_pos, calendar_config_set_hpane_pos) (calendar_config_get_vpane_pos, calendar_config_set_vpane_pos) (calendar_config_get_month_hpane_pos) (calendar_config_set_month_hpane_pos) (calendar_config_get_month_vpane_pos) (calendar_config_set_month_vpane_pos) (calendar_config_get_compress_weekend) (calendar_config_set_compress_weekend) (calendar_config_get_show_event_end) (calendar_config_set_show_event_end) (calendar_config_get_working_days) (calendar_config_set_working_days) (calendar_config_get_hide_completed_tasks) (calendar_config_set_hide_completed_tasks) (calendar_config_get_hide_completed_tasks_units) (calendar_config_set_hide_completed_tasks_units) (calendar_config_get_hide_completed_tasks_value) (calendar_config_set_hide_completed_tasks_value) (calendar_config_get_confirm_delete) (calendar_config_set_confirm_delete) (calendar_config_get_confirm_expunge) (calendar_config_set_confirm_expunge) (calendar_config_get_tasks_due_today_color) (calendar_config_set_tasks_due_today_color) (calendar_config_get_tasks_overdue_color) (calendar_config_set_tasks_overdue_color) (calendar_config_get_use_default_reminder) (calendar_config_set_use_default_reminder) (calendar_config_get_default_reminder_interval) (calendar_config_set_default_reminder_interval) (calendar_config_get_default_reminder_units) (calendar_config_set_default_reminder_units) (calendar_config_default_calendar_folder) (calendar_config_default_tasks_folder): Update config paths for new config convention, etc. * gui/alarm-notify/save.c (KEY_LAST_NOTIFICATION_TIME, etc): Updated keys to lowercase/proper path. (save_calendars_to_load): Store the calendars list as a gconf list. (get_calendars_to_load): Load the calendars list as a gconf list. (save_blessed_program): Similar, for the blessed program list. (is_blessed_program): Same here. * gui/alarm-notify/config-data.c (config_data_get_timezone): Update the path to the timezone key. (config_data_get_24_hour_format): Fix path to config option. * conduits/todo/todo-conduit.c (get_default_timezone): lower-case the timezone key. * conduits/calendar/calendar-conduit.c (get_default_timezone): lower-case the timezone key. * cal-client/cal-client.c (get_default_uri): Use the proper path to get the default folder uri's. svn path=/trunk/; revision=20017
* dont unref accounts anymore. (change_status): itipAddress -> EAccount.Not Zed2003-02-242-2/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (destroy): dont unref accounts anymore. (change_status): itipAddress -> EAccount. * gui/calendar-model.c (calendar_model_destroy): dont unref accounts anymore. (calendar_model_value_at): simplify logic using account_list_find. * gui/dialogs/task-editor.c (task_editor_edit_comp): use new itip_addresses interfaces. * gui/dialogs/meeting-page.c (meeting_page_construct): use new itip_addresses_* interfaces. Should probably be using e_account directly. (meeting_page_finalize): dont unref the accounts list. * gui/dialogs/event-editor.c (event_editor_edit_comp): dont unref accounts anymore. * gui/itip-utils.c (itip_addresses_get_default): Just use e_account_list_get_default. (itip_addresses_get): dont ref the account object, just keep 1 ref to it. (find_account): remove. (itip_organizer_is_user): use e_account_list_find now. (itip_sentby_is_user): " (comp_limit_attendees): " 2003-02-19 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c: addresses->accounts (meeting_page_finalize): unref accounts. * gui/dialogs/event-editor.c: Use EAccountList api's * pcs/cal-backend-util.c (cal_backend_mail_account_get): Removed, use a global EAccountList instead. (cal_backend_mail_account_get_default): Use the global EAccountList directly. (cal_backend_mail_account_is_valid): And here too. * gui/itip-utils.h: Removed ItipAddress structure. * gui/itip-utils.c (itip_addresses_get): Change it to return a global account object, so we dont need to duplicate all account info in the calendar. (itip_addresses_free, itip_address_free): Removed, use g_object_unref. (itip_addresses_get_default): Return an EAccount. (find_account): helper to lookup accounts based on name/address. (itip_organizer_is_user): Use helper to find account. (itip_sentby_is_user): " (comp_limit_attendees): " (comp_sentby): Update to use an EAccount direclty. (get_address): Removed, now redundant. * gui/e-itip-control.c: Changed priv->addresses to be accounts EAccountList. (destroy): unref accounts. (find_my_address): Change to use accounts list directly, also fix a small potential memleak. * gui/calendar-model.c: Change priv->addresses to be a direct reference to an EAccountList, renamed priv->accounts. (calendar_model_destroy): unref accounts. (calendar_model_value_at): Use EAccountList directly to lookup members. * gui/calendar-config.c (calendar_config_get_timezone) (calendar_config_set_timezone): Fix timezone key. (calendar_config_get_24_hour_format): Same for 24 hour format key. (calendar_config_set_24_hour_format): And here. (calendar_config_get_week_start_day): " (calendar_config_set_week_start_day): " (calendar_config_get_day_start_hour): " (calendar_config_set_day_start_hour): " (calendar_config_get_day_start_minute): " (calendar_config_set_day_start_minute): " (calendar_config_get_day_end_hour): " (calendar_config_set_day_end_hour): " (calendar_config_get_day_end_minute) (calendar_config_set_day_end_minute) (calendar_config_get_time_divisions) (calendar_config_set_time_divisions) (calendar_config_get_dnav_show_week_no) (calendar_config_set_dnav_show_week_no) (calendar_config_get_default_view) (calendar_config_set_default_view) (calendar_config_get_hpane_pos, calendar_config_set_hpane_pos) (calendar_config_get_vpane_pos, calendar_config_set_vpane_pos) (calendar_config_get_month_hpane_pos) (calendar_config_set_month_hpane_pos) (calendar_config_get_month_vpane_pos) (calendar_config_set_month_vpane_pos) (calendar_config_get_compress_weekend) (calendar_config_set_compress_weekend) (calendar_config_get_show_event_end) (calendar_config_set_show_event_end) (calendar_config_get_working_days) (calendar_config_set_working_days) (calendar_config_get_hide_completed_tasks) (calendar_config_set_hide_completed_tasks) (calendar_config_get_hide_completed_tasks_units) (calendar_config_set_hide_completed_tasks_units) (calendar_config_get_hide_completed_tasks_value) (calendar_config_set_hide_completed_tasks_value) (calendar_config_get_confirm_delete) (calendar_config_set_confirm_delete) (calendar_config_get_confirm_expunge) (calendar_config_set_confirm_expunge) (calendar_config_get_tasks_due_today_color) (calendar_config_set_tasks_due_today_color) (calendar_config_get_tasks_overdue_color) (calendar_config_set_tasks_overdue_color) (calendar_config_get_use_default_reminder) (calendar_config_set_use_default_reminder) (calendar_config_get_default_reminder_interval) (calendar_config_set_default_reminder_interval) (calendar_config_get_default_reminder_units) (calendar_config_set_default_reminder_units) (calendar_config_default_calendar_folder) (calendar_config_default_tasks_folder): Update config paths for new config convention, etc. * gui/alarm-notify/save.c (KEY_LAST_NOTIFICATION_TIME, etc): Updated keys to lowercase/proper path. (save_calendars_to_load): Store the calendars list as a gconf list. (get_calendars_to_load): Load the calendars list as a gconf list. (save_blessed_program): Similar, for the blessed program list. (is_blessed_program): Same here. * gui/alarm-notify/config-data.c (config_data_get_timezone): Update the path to the timezone key. (config_data_get_24_hour_format): Fix path to config option. * conduits/todo/todo-conduit.c (get_default_timezone): lower-case the timezone key. * conduits/calendar/calendar-conduit.c (get_default_timezone): lower-case the timezone key. * cal-client/cal-client.c (get_default_uri): Use the proper path to get the default folder uri's. svn path=/trunk/; revision=20016
* Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actuallyHans Petter Jansson2003-02-244-2/+34
| | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximan.com> * gui/gnome-cal.c (backend_died_cb): Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actually try to set the quantum properties. The quantum code should probably go away entirely now that the panes update during resize, but let's keep it around for a bit more. * gui/dialogs/event-editor.c (event_editor_construct): Ref & sink the pages. * gui/dialogs/task-editor.c (task_editor_construct): Ref & sink the pages. svn path=/trunk/; revision=20011
* CVS server broke again. Here's the rest...Hans Petter Jansson2003-02-231-2/+2
| | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximian.com> CVS server broke again. Here's the rest... * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Ditto. svn path=/trunk/; revision=20009
* Eliminate e_utf8_to_gtk_string ().Hans Petter Jansson2003-02-237-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximian.com> * gui/cal-search-bar.c (make_suboptions): Eliminate e_utf8_to_gtk_string (). * gui/e-timezone-entry.c (e_timezone_entry_get_display_name): Ditto. * gui/calendar-model.c (date_value_to_string): e_utf8_from_locale_string () -> g_locale_to_utf8 (). (calendar_model_value_to_string): Ditto. * gui/e-cell-date-edit-text.c (ecd_get_text): Ditto. * gui/e-itip-control.c (write_label_piece): Ditto. * gui/print.c (format_date): Ditto. (print_week_view_background): Ditto. (print_month_summary): Ditto. (print_date_label): Ditto. (print_comp_item): Ditto. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Ditto. svn path=/trunk/; revision=20008
* Show the custom widgets, since libglade appears to not want to do that.Hans Petter Jansson2003-02-233-10/+44
| | | | | | | | | | | | | | | | 2003-02-22 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/task-details-page.c (get_widgets): Show the custom widgets, since libglade appears to not want to do that. * gui/dialogs/task-page.c (clear_widgets): Make the description field use a GtkTextView. (task_page_fill_widgets): Ditto. (task_page_fill_component): Ditto. (init_widgets): Ditto. (get_widgets): Show the custom widgets, since libglade doesn't do it. svn path=/trunk/; revision=20003
* Add an iteration statement. Fixes hang in wombat.Hans Petter Jansson2003-02-232-0/+7
| | | | | | | | | 2003-02-22 Hans Petter Jansson <hpj@ximian.com> * pcs/cal-backend.c (cal_backend_unref_categories): Add an iteration statement. Fixes hang in wombat. svn path=/trunk/; revision=20002
* Commit fixes from Grzegorz Goawski <grzegol@pld.org.pl>.Hans Petter Jansson2003-02-232-28/+35
| | | | | | | | | 2003-02-22 Hans Petter Jansson <hpj@ximian.com> * gui/apps_evolution_calendar.schemas: Commit fixes from Grzegorz Goawski <grzegol@pld.org.pl>. svn path=/trunk/; revision=19999
* GObject, not GtkObject. (calendar_model_destroy): ->Hans Petter Jansson2003-02-227-30/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-21 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-model.c (calendar_model_class_init): GObject, not GtkObject. (calendar_model_destroy): -> calendar_model_finalize (). * gui/calendar-view.c (calendar_view_class_init): GObject, not GtkObject. (calendar_view_destroy): -> calendar_view_finalize (). * gui/comp-editor-factory.c (comp_editor_factory_class_init): GObject, not GtkObject. (comp_editor_factory_destroy): -> comp_editor_factory_finalize (). * gui/e-day-view.c (e_day_view_long_event_button_press): gtk_signal_disconnect () -> g_signal_handler_disconnect (). (e_day_view_on_event_button_press): Ditto. (e_day_view_on_long_event_click): Ditto. (e_day_view_on_event_click): Ditto. (e_day_view_on_event_double_click): Ditto. (e_day_view_on_delete_appointment): Ditto. * gui/e-week-view.c (e_week_view_on_text_item_event): gtk_signal_disconnect () -> g_signal_handler_disconnect (). * gui/alarm-notify/alarm-notify.c (AlarmNotify_RemoveCalendar): Don't cast to GtkObject. svn path=/trunk/; revision=19995
* Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-225-20/+27
| | | | | | some LDADDs in the process svn path=/trunk/; revision=19994
* Add GConf schemas.Hans Petter Jansson2003-02-213-2/+365
| | | | | | | | | | | 2003-02-20 Hans Petter Jansson <hpj@ximian.com> * gui/apps_evolution_calendar.schemas: Add GConf schemas. * gui/Makefile.am (EXTRA_DIST): Dist GConf schemas. (install-data-local): Install GConf schemas. svn path=/trunk/; revision=19987
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-212-2/+8
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* revert previous changeDan Winship2003-02-206-22/+9
| | | | svn path=/trunk/; revision=19968
* Remove libversit. We haven't depended on that in forever.Dan Winship2003-02-206-9/+22
| | | | | | | | | | | | | | | | | * cal-client/Makefile.am (client_test_LDADD): Remove libversit. We haven't depended on that in forever. * cal-util/Makefile.am (test_recur_LDADD): Likewise * gui/alarm-notify/Makefile.am: build libalarm as a shared library instead of static. * gui/dialogs/Makefile.am: likewise for libcal-dialogs * gui/Makefile.am (libevolution_calendar_la_LIBADD): update for that. svn path=/trunk/; revision=19965
* Split $(CORBA_GENERATED_H) rule from the $(CORBA_GENERATED_C) rule to thatEttore Perazzoli2003-02-204-10/+23
| | | | | | | | | | | | | * pcs/Makefile.am: Split $(CORBA_GENERATED_H) rule from the $(CORBA_GENERATED_C) rule to that it autogens properly when using parallel makes. * cal-client/Makefile.am: Likewise. * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Fix path to the calendar's GAL Views directory. [Pointed out by Grzegorz Goawski.] svn path=/trunk/; revision=19947
* add .server.in filesDan Winship2003-02-201-0/+1
| | | | svn path=/trunk/; revision=19944
* Enable printing for calendar and tasks.Hans Petter Jansson2003-02-123-217/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-11 Hans Petter Jansson <hpj@ximian.com> Enable printing for calendar and tasks. * gui/print.c: Set default font to be "Sans". Store the PrintConfig globally instead of PaperInfo (which doesn't exist anymore). (get_font_for_size): Don't use gnome_font_face_find_closest_from_weight_slant() anymore, since it's broken. Instead, use gnome_font_face_find() and put bold- and italicness in the name to look for. Descenders can now be negative, so have to take the absolute value to get font height. (print_comp): Use global, persistent print configuration. GnomePrintDialog is now a GtkDialog. Remove manual configuration parameter shuffling. Set up page using new methods. (print_calendar): Like print_comp(). For month view, force landscape mode by temporarily setting it in the config, and remove the old hack. (print_setup): Port. I'm not sure this works, but at least it compiles now. How do I test this code path? (print_day_view): Pass NULL for page denominator. (print_week_view): Ditto. (print_month_view): Ditto. (print_year_view): Ditto. (print_comp_item): Add missing gnome_print_beginpage(). How did this work before? * gui/tasks-control.c: Store the PrintConfig globally instead of passing individual parameters every time. Persistent too. (print_title): Look for "Sans Bold" instead of "Times" with GNOME_FONT_BOLD property. Don't use find_closest_from_weight_slant(). (print_tasks): Set up page using new methods. GnomePrintMaster -> GnomePrintJob. Get params from global config instead of args. (tasks_control_print_cmd): Use global, persistent print configuration. Remove manual portrait/landscape hack. GnomePrintDialog is now a GtkDialog. Set params in global config instead of passing them to print_tasks(). (tasks_control_print_preview_cmd): print_tasks() now takes fewer args. svn path=/trunk/; revision=19889
* Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore.Hans Petter Jansson2003-02-122-1/+5
| | | | | | | | | 2003-02-11 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Don't use gtk_scrolled_window_set_scrollbar_spacing() anymore. svn path=/trunk/; revision=19888
* Don't try to make an error string from an uninitialized GnomeVFSResult.Hans Petter Jansson2003-02-112-4/+15
| | | | | | | | | 2003-02-10 Hans Petter Jansson <hpj@ximian.com> * pcs/cal-backend-file.c (save): Don't try to make an error string from an uninitialized GnomeVFSResult. svn path=/trunk/; revision=19880
* Make the CORBA IDL compilation work with parallel makes. Likewise.Ettore Perazzoli2003-02-114-19/+61
| | | | | | | | | * gui/Makefile.am: Make the CORBA IDL compilation work with parallel makes. * gui/dialogs/Makefile.am: Likewise. * gui/alarm-notify/Makefile.am: Likewise. svn path=/trunk/; revision=19872
* remove this file, as it's generated now Add this file to generate theRodney Dawes2003-02-083-3/+13
| | | | | | | | | | | | 2003-02-07 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in: remove this file, as it's generated now * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Add this file to generate the .server.in from, with hardcoded path * gui/alarm-notify/Makefile.am: Hardcode path in server file svn path=/trunk/; revision=19851
* Fixes #37706Rodrigo Moya2003-02-082-2/+25
| | | | | | | | | | | 2003-02-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #37706 * gui/comp-editor-factory.c (cal_opened_cb): added PERMISSION_DENIED case for not ending process on g_assert_not_reached. svn path=/trunk/; revision=19845
* Use e_auto_kill_popup_menu_on_selection_done() instead ofEttore Perazzoli2003-02-073-2/+10
| | | | | | | | | | * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu): Use e_auto_kill_popup_menu_on_selection_done() instead of e_auto_kill_popup_menu_on_hide(). * gui/dialogs/meeting-page.c (right_click_cb): Likewise. svn path=/trunk/; revision=19835
* show the widget before returning it.Dan Winship2003-02-072-1/+8
| | | | | | | * gui/dialogs/event-page.c (make_timezone_entry): show the widget before returning it. svn path=/trunk/; revision=19826
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-072-2/+7
| | | | svn path=/trunk/; revision=19818
* makefile and warnings fixesDan Winship2003-02-061-0/+105
| | | | svn path=/trunk/; revision=19796
* Update this some although it's not currently being builtDan Winship2003-02-061-6/+4
| | | | | | | * importers/Makefile.am: Update this some although it's not currently being built svn path=/trunk/; revision=19795
* Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir,Dan Winship2003-02-0613-41/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/Makefile.am (INCLUDES): Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir, serverdir): Remove definitions (libevolution_calendar_la_LDFLAGS): Remove -export-dynamic, add -module. * gui/calendar-config.c: #include <string.h> * gui/calendar-component.c (add_creatable_item): s/ICONSDIR/IMAGESDIR/ * gui/comp-util.c: #include <string.h> * gui/e-alarm-list.c: #include e-time-utils.h (row_deleted): Remove unused variable. (e_alarm_list_append): Likewise. * gui/e-date-time-list.c: #include e-time-utils.h, timeutil.h, calendar-config.h (row_deleted): Remove unused variable (e_date_time_list_append): Likewise. * gui/e-day-view.c (e_day_view_unrealize): Remove unused var (e_day_view_style_set): Likewise. (e_day_view_set_event_font_cb): Likewise. * gui/e-day-view-time-item.c: #include <string.h> (e_day_view_time_item_get_column_width): Remove unused variable. * gui/e-itip-control.c: #include <unistd.h> (url_requested_cb): s/ICONSDIR/IMAGESDIR/ * gui/e-week-view.c (e_week_view_unrealize): Remove unused variable (e_week_view_style_set): Likewise * gui/e-week-view-titles-item.c: #include string.h * gui/itip-bonobo-control.c: Likewise * gui/print.c: Likewise svn path=/trunk/; revision=19794
* Use privlibexecdir. (INCLUDES): Remove cruft. (gladedir, serversdir):Dan Winship2003-02-063-19/+11
| | | | | | | | | | | | | | | | * gui/alarm-notify/Makefile.am: Use privlibexecdir. (INCLUDES): Remove cruft. (gladedir, serversdir): Remove definitions (evolution_alarm_notify_LDFLAGS): Remove no-longer-needed -export-dynamic. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): s/ICONSDIR/IMAGESDIR * gui/alarm-notify/notify-main.c (main): Fix up gettext initialization svn path=/trunk/; revision=19793
* Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): RemoveDan Winship2003-02-066-20/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/dialogs/Makefile.am (INCLUDES): Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): Remove definitions * gui/dialogs/alarm-page.c: #include gtktreeselection.h and gtkcellrenderertext.h (append_reminder): Remove unused variable. (alarm_page_fill_component): Likewise. (alarm_page_set_summary): Likewise. (delete_clicked_cb): Likewise. * gui/dialogs/comp-editor.c (make_icon_from_comp): s/ICONSDIR/IMAGESDIR/ * gui/dialogs/event-page.c: #include <string.h> * gui/dialogs/meeting-page.c (meeting_page_construct): Remove unused variable. (meeting_page_fill_widgets): Likewise * gui/dialogs/recurrence-page.c: #include gtktreeselection.h and gtkcellrenderertext.h (append_exception): Remove unused variable (fill_component): Likewise (recurrence_page_set_summary): Likewise. (exception_delete_cb): Likewise svn path=/trunk/; revision=19792
* Define in terms of privincludedirDan Winship2003-02-063-8/+4
| | | | | | | | | | | * cal-client/Makefile.am (libcal_clientincludedir): Define in terms of privincludedir * cal-client/client-test.c (main): Fix up gettext initialization * cal-client/cal-client.c (cal_client_construct): Likewise svn path=/trunk/; revision=19791
* Remove cruft. (libcal_utilincludedir): Define in terms of privincludedirDan Winship2003-02-061-2/+1
| | | | | | | * cal-util/Makefile.am (INCLUDES): Remove cruft. (libcal_utilincludedir): Define in terms of privincludedir svn path=/trunk/; revision=19790
* Remove cruft. (pcsincludedir): Define in terms of privincludedirDan Winship2003-02-062-3/+1
| | | | | | | | | | * pcs/Makefile.am (INCLUDES): Remove cruft. (pcsincludedir): Define in terms of privincludedir * pcs/cal-backend-file.c (cal_backend_file_finalize): Remove unused variable svn path=/trunk/; revision=19789
* s/BonoboXObject/BonoboObject/Dan Winship2003-02-065-18/+24
| | | | | | | | * gui/calendar-offline-handler.c: s/BonoboXObject/BonoboObject/ * gui/comp-editor-factory.c: Likewise svn path=/trunk/; revision=19764
* array of localized month day names ("1st" - "31st")Dan Winship2003-02-067-75/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-recur.c (cal_recur_nth): array of localized month day names ("1st" - "31st") * gui/dialogs/recurrence-page.c (make_recur_month_num_submenu, make_recur_month_num_menu, month_num_menu_selection_done_cb): Use the new cal_recur_nth[] array. The way this was done before didn't localize properly. * gui/alarm-notify/notify-main.c (main): s/glade_gnome_init/glade_init/ From evolution-1-2-branch: * gui/e-itip-control.c (write_recurrence_piece): Describe recurrences, if we can. #30993 (set_date_label): If the meeting has recurrences, call write_recurrence_piece after writing the start and end dates. (write_label_piece): Wrap the timezone in <font size=-1> to de-emphasize it a bit and try to keep the timestamp on a single line even with big Outlook timezone names. Add an option to show just the date, for describing the end of recurrences (since the time in the UNTIL is the *beginning* of the last instance, which would confuse people). (update_item): Set the VCALENDAR's METHOD. (ok_clicked_cb): Use update_item, not remove_item, to process a cancelation. Part of #33875. * pcs/cal-backend-file.c (cal_backend_file_cancel_object): New, handle an ICAL_METHOD_CANCEL update. (cal_backend_file_update_objects): Call cal_backend_file_update_object or cal_backend_file_cancel_object as appropriate. svn path=/trunk/; revision=19763
* The CVS server exited after applying everything from my last commit,Hans Petter2003-02-051-10/+22
| | | | | | except for the changes made to this file. Why? svn path=/trunk/; revision=19750
* Rename to e_meeting_time_selector_on_invite_others_button_expose() andHans Petter Jansson2003-02-052-9/+26
| | | | | | | | | | | | | | | | | | | | 2003-02-04 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): Rename to e_meeting_time_selector_on_invite_others_button_expose() and handle "expose-event" instead of "draw". (e_meeting_time_selector_construct): The "draw" signal doesn't exist anymore - connect to "expose-event" instead. * gui/dialogs/event-page.c (clear_widgets): Clear the GtkTextBuffer for the description. (event_page_fill_widgets): Use the GtkTextBuffer. (event_page_fill_component): Use the GtkTextBuffer. (init_widgets): Create a GtkTextBuffer for the GtkTextView. Set word wrap. Connect to the "changed" signal of the model instead of the view. svn path=/trunk/; revision=19749
* Fix badly formatted ChangeLog entry. This has been bothering me since itHans Petter2003-02-051-2/+2
| | | | | | first appeared there. svn path=/trunk/; revision=19744
* Use PangoLayout to draw text.Hans Petter Jansson2003-02-052-12/+23
| | | | | | | | | | 2003-02-04 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_paint_day_top): Use PangoLayout to draw text. svn path=/trunk/; revision=19743
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-052-18/+18
| | | | svn path=/trunk/; revision=19736
* Skip setting the "font_gdk" arg for now.Hans Petter Jansson2003-02-026-0/+29
| | | | | | | | | | | | | | | | | | | | 2003-02-02 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the "font_gdk" arg for now. (e_day_view_update_main_canvas_drag): Ditto. * gui/e-week-view.c (e_week_view_style_set): Ditto. * gui/weekday-picker.c (configure_items): Ditto. * gui/dialogs/event-page.c (get_widgets): Show custom widgets manually, since the visibility specified in the Glade XML appears to not have any effect. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. svn path=/trunk/; revision=19706
* Fixes #35572Ronald Kuetemeier2003-01-312-0/+9
| | | | | | | | | | | | 2003-30-01 Ronald Kuetemeier <ronald@kuetemeier.com> Fixes #35572 * gui/alarm-notify/alarm-queue.c: set saved_notification_time to last notification time when we update the config to last notification, so alarms will not get trigged again if a new calendar window is opened. svn path=/trunk/; revision=19690
* CalClient and CalComponent are GObjects.Chris Toshok2003-01-273-19/+26
| | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * conduits/todo/todo-conduit.c: CalClient and CalComponent are GObjects. * conduits/calendar/calendar-conduit.c: same. svn path=/trunk/; revision=19645
* fix warning. (get_default_timezone): BonoboConfigDatabase ->Chris Toshok2003-01-274-94/+36
| | | | | | | | | | | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * conduits/calendar/calendar-conduit.c (start_calendar_server): fix warning. (get_default_timezone): BonoboConfigDatabase -> e_config_listener. (accept_all_cookies): remove. (conduit_get_gpilot_conduit): remove the oaf initialization stuff. * conduits/todo/todo-conduit.c (start_calendar_server): fix warning. (get_default_timezone): BonoboConfigDatabase -> e_config_listener. (accept_all_cookies): remove. (conduit_get_gpilot_conduit): remove the oaf initialization stuff. * Makefile.am (CONDUIT_DIR): uncomment the conduit stuff. svn path=/trunk/; revision=19642
* Make clicks, drags and resizes work, and pangoize remaining strings. FixHans Petter Jansson2003-01-274-50/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-26 Hans Petter Jansson <hpj@ximian.com> Make clicks, drags and resizes work, and pangoize remaining strings. Fix EText placement. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): Use Pango. * gui/e-day-view.c (e_day_view_on_top_canvas_button_press): Don't add scroll offset, it's already factored in. (e_day_view_on_main_canvas_button_press): Ditto. (e_day_view_on_top_canvas_motion): Ditto. (e_day_view_on_main_canvas_motion): Ditto. (e_day_view_reshape_long_event): Don't set the "font_gdk" property. Its non-existence will prevent the other properties from being set as well. (e_day_view_reshape_day_event): Ditto. (e_day_view_update_top_canvas_drag): Ditto. (e_day_view_start_editing_event): ETextEventProcessor is a GObject now. So use g_signal_stuff. (e_day_view_check_auto_scroll): Factor out scroll offset before checking the pointer's position relative to widget. (e_day_view_auto_scroll_handler): Don't freeze the canvas when scrolling - it will fail to update the canvas. If this is not intended behaviour, it's a bug in the canvas, I think. (e_day_view_on_main_canvas_drag_motion): Factor in the scroll offset before checking for auto-scroll, since the function requires this. * gui/e-week-view.c (e_week_view_reshape_event_span): Don't set the "font_gdk" property. Its non-existence will prevent the other properties from being set as well. (e_week_view_start_editing_event): ETextEventProcessor is a GObject now. So use g_signal_stuff. svn path=/trunk/; revision=19641
* Mainly making all views use PangoLayouts for text. When drawing aHans Petter Jansson2003-01-2617-125/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-25 Hans Petter Jansson <hpj@ximian.com> Mainly making all views use PangoLayouts for text. When drawing a PangoLayout, the draw offset is the top left corner of the layout, not the text's baseline. Keep this in mind when viewing the changes. I'll be brief about the exact changes, since they speak better for themselves. * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): Use Pango. (e_day_view_time_item_draw): Use Pango. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango. (e_day_view_top_item_draw_long_event): Add some FIXME text so we can see when this is being used. Is it in use at all? * gui/e-day-view.c: No longer specify an explicit X font string for the large font. Use the main font, and change the point size. (e_day_view_init): Use Pango. (e_day_view_style_set): Use Pango. Comment out the gdk_font setting for the drag text items for now. * gui/e-day-view.h: Use Pango. * gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Use Pango. * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw): Use Pango. * gui/e-week-view.c: No longer specify an explicit X font string for the small font. Use the main font, and change the point size. (e_week_view_init): Use Pango. (e_week_view_destroy): Use Pango. (get_string_width): Implemented for convenience. (get_digit_width): Implemented for convenience. (e_week_view_style_set): Use Pango. (e_week_view_recalc_cell_sizes): Use Pango. (e_week_view_get_time_string_width): Use Pango. * gui/e-week-view.h: Use Pango. Following are some random UTF-8 fixes and a crash fix. * gui/itip-utils.c (comp_description): Use g_locale_to_utf8 (). * gui/dialogs/comp-editor.c (make_title_from_comp): Return a UTF-8 string. * gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8 directly to GTK. * gui/dialogs/delete-comp.c (delete_component_dialog): Ditto. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto. (meeting_page_construct): Ditto. * gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto. * gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused by gtk_object_destroy()-ing a non-GtkObject. svn path=/trunk/; revision=19628
* Don't insist appointment is updated if both old and new summary are blank.Hans Petter Jansson2003-01-2510-324/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-24 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): Don't insist appointment is updated if both old and new summary are blank. * gui/e-week-view.c (e_week_view_on_editing_stopped): Ditto. * gui/e-timezone-entry.c (on_button_clicked): Timezone dialog is now a GtkDialog. Treat it as such. * gui/goto.c (ecal_event): Goto dialog is now a GtkDialog. Treat it as such. (goto_dialog): Ditto. * gui/goto-dialog.glade: Set the return IDs from the dialog buttons. * gui/dialogs/meeting-page.c (popup_delegate_cb): Enable the delegate dialog. It's now a GtkDialog, so treat it like one. (right_click_cb): Use GTK stock item, not GNOME (that doesn't work anymore). * gui/e-delegate-dialog.glade: Set the return IDs from dialog buttons. * gui/print.c (print_calendar): Correct the print dialog init. Code is still not enabled, though. * gui/tasks-control.c (print_tasks): Add a warning about printing being disabled. svn path=/trunk/; revision=19624
* Remove, this is now defined in configure.in.Ettore Perazzoli2003-01-254-5/+11
| | | | | | | | | | | | | * gui/dialogs/Makefile.am (iconsdir): Remove, this is now defined in configure.in. * gui/Makefile.am (iconsdir): Remove; this is now defined in configure.in. * gui/alarm-notify/Makefile.am (iconsdir): Remove; this is now defined in configure.in. svn path=/trunk/; revision=19620
* Add a terminating NULL to the concatenation.Hans Petter Jansson2003-01-242-1/+4
| | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_merge_ui): Add a terminating NULL to the concatenation. svn path=/trunk/; revision=19612
* GTK_OBJECT -> G_OBJECT cast.Hans Petter Jansson2003-01-249-8/+28
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/event-page.c (get_widgets): GTK_OBJECT -> G_OBJECT cast. * gui/dialogs/alarm-page.c (get_widgets): Ditto. * gui/dialogs/meeting-page.c (get_widgets): Ditto. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. * gui/dialogs/schedule-page.c (get_widget): Ditto. * gui/dialogs/task-details-page.c (get_widget): Ditto. * gui/dialogs/task-page.c (get_widget): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Add a FIXME comment to think about. svn path=/trunk/; revision=19610
* Fixes some trivial, but distracting, warnings.Hans Petter Jansson2003-01-2412-20/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> Fixes some trivial, but distracting, warnings. * gui/calendar-config.c (on_timezone_set): Fix constness. * gui/e-timezone-entry.c (on_button_clicked): Fix constness. * gui/dialogs/event-page.c (contacts_changed_cb): Fix constness. * gui/dialogs/task-page.c (contacts_changed_cb): Fix constness. * gui/e-itip-control.c (start_default_server): Cast callback with G_CALLBACK (). * gui/dialogs/schedule-page.c (init_widgets): Cast callback with G_CALLBACK (). * gui/calendar-offline-handler.c (impl_dispose): Takes GObject, not GtkObject. (impl_finalize): Ditto. * gui/calendar-view.c (calendar_view_edit): Now takes parent window as second arg. * gui/e-meeting-model.c (select_names_ok_cb): Fix constness. (get_select_name_dialog): Cast callback to BonoboListenerCallbackFn. * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): Add the push_in arg to arg list. This was crash-prone before. (e_meeting_time_selector_autopick_menu_position_callback): Ditto. * gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h. svn path=/trunk/; revision=19605
* Define componentdir instead of COMPONENT_DIR. Set it toEttore Perazzoli2003-01-242-1/+5
| | | | | | | | | | | | | | | | | | | | | | * configure.in (idldir): Define componentdir instead of COMPONENT_DIR. Set it to $privlibdir/components instead of $libdir/evolution-$(BASE_VERSION)/components. * gui/component/select-names/Makefile.am (componentdir): Remove definition; no need to set it here since it's now defined in configure.in * gui/component/Makefile.am (componentdir): Likewise. * gui/Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. svn path=/trunk/; revision=19588
* (cal_backend_ref_categories): Do not put theEttore Perazzoli2003-01-232-1/+6
| | | | | | | | category in both the changed_categories and the categories hashes; fixes a double-free when finalizing the CalBackend. [Hopefully this is the right fix.] svn path=/trunk/; revision=19572
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-2314-49/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * gui/e-tasks.c (e_tasks_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install libcal-util.la in $(privlibdir) instead of $(libdir). * gui/dialogs/comp-editor.c (setup_widgets): Get evolution-comp-editor.xml from EVOLUTION_UIDIR. (comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR. * gui/tasks-control.c (tasks_control_activate): Get evolution-tasks.xml from EVOLUTION_UI_DIRECTORY. * gui/calendar-commands.c (calendar_control_activate): Get evolution-calendar.xml from EVOLUTION_UI_DIRECTORY. * pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION). * importers/Makefile.am: Install evolution-calendar-importer in $(libexecdir)/evolution/$(BASE_VERSION). (sounddir): Remove. * gui/dialogs/Makefile.am (iconsdir): Version using $(BASE_VERSION). (gladedir): Likewise. (etspecdir): Likewise. * gui/Makefile.am (help_base): Remove. (install-data-local): Do not make the $(help_base)/C directory. (etspecdir): Version using $(BASE_VERSION). (gladedir): Likewise. (iconsdir): Likewise. (INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned, and add a -DEVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install evolution-alarm-notify in $(libexecdir)/evolution/$(BASE_VERSION). * cal-util/Makefile.am (libcal_utilincludedir): Version using $(BASE_VERSION). * gui/alarm-notify/Makefile.am (iconsdir): Likewise. (gladedir): Likewise. * cal-client/Makefile.am: Install libcal-client.la in privlibdir instead of libdir. (libcal_clientincludedir): Version using $(BASE_VERSION). svn path=/trunk/; revision=19553
* Create a GnomePrintDialog, not a GnomePrinterDialog. They're differentHans Petter Jansson2003-01-222-1/+7
| | | | | | | | | | 2003-01-18 Hans Petter Jansson <hpj@ximian.com> * gui/print.c (print_calendar): Create a GnomePrintDialog, not a GnomePrinterDialog. They're different things. Patch from Chema. svn path=/trunk/; revision=19544
* applied patch from Frederic Crozat <fcrozat@mandrakesoft.com>Radek Doulik2003-01-222-27/+26
| | | | svn path=/trunk/; revision=19540
* Move some non-file-backend-specific stuff from cal-backend-file here so itDan Winship2003-01-204-364/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pcs/cal-backend.c: Move some non-file-backend-specific stuff from cal-backend-file here so it can be shared with other backends. (CalBackendPrivate): add this, containing the categories hashes and the (formerly public) clients list. (cal_backend_init, cal_backend_finalize): Handle backend->priv. (cal_destroy_cb): Simplify this (and redo it as a weak notify func) (cal_backend_add_cal): Keep a weak ref on the cal rather than connecting to its "destroy" signal. Call notify_categories_changed to let the new cal know about them. (get_object): Default implementation of cal_backend_get_object. that calls cal_component_get_as_string on the return value of cal_backend_get_object_component. (cal_backend_notify_mode, cal_backend_notify_update, cal_backend_notify_remove, cal_backend_notify_error): Notify each Cal about something. (cal_backend_ref_categories, cal_backend_unref_categories): Maintain a list of categories that are used by components in the backend, and trigger categories_changed notifications as needed. * pcs/cal-backend-file.c: Remove stuff that was moved to CalBackend (notify funcs, category handling, get_object implementation) svn path=/trunk/; revision=19524
* Implement EAlarmList as CalComponentAlarm list with a GtkTreeModelHans Petter Jansson2003-01-178-60/+880
| | | | | | | | | | | | | | | | | | 2003-01-16 Hans Petter Jansson <hpj@ximian.com> * gui/e-alarm-list.[ch]: Implement EAlarmList as CalComponentAlarm list with a GtkTreeModel interface. * gui/Makefile.am: Add e-alarm-list.[ch]. * gui/dialogs/alarm-page.[ch]: Use GtkTreeView with the new EAlarmList as model for the alarm list. Update copyright. * gui/dialogs/recurrence-page.[ch]: Update copyright. (free_exception_date_time): Removed. (fill_exception_widgets): Kill a lingering clist operation. svn path=/trunk/; revision=19499
* Silence warnings caused by missing casts.Hans Petter Jansson2003-01-163-44/+48
| | | | | | | | | | 2003-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c: Silence warnings caused by missing casts. * gui/e-week-view.c: Silence warnings caused by missing casts. svn path=/trunk/; revision=19491
* Create accel groups for popup menus. Fixes crash.Hans Petter Jansson2003-01-166-88/+757
| | | | | | | | | | | | | | | | | 2003-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Create accel groups for popup menus. Fixes crash. * gui/e-date-time-list.[ch]: Implement EDateTimeList as CalComponentDateTime list with a GtkTreeModel interface. * gui/Makefile.am: Add e-date-time-list.[ch]. * gui/dialogs/recurrence-page.c: Use GtkTreeView with the new EDateTimeList as model for the exception list. svn path=/trunk/; revision=19490
* Added libevolution_calendar_la_LDFLAGS, and avoid versioning the shlibRodney Dawes2003-01-162-0/+8
| | | | | | | | | 2003-01-15 Rodney Dawes <dobey@ximian.com> * gui/Makefile.am: Added libevolution_calendar_la_LDFLAGS, and avoid versioning the shlib component svn path=/trunk/; revision=19480
* (CORBA_SOURCES_GENERATED): Renamed fromEttore Perazzoli2003-01-152-2/+12
| | | | | | | | | CORBA_GENERATED. (CORBA_GENERATED): New, put both $(CORBA_SOURCES_GENERATED) and $(CORBA_HEADERS_GENERATED) in it. (BUILT_SOURCES): Put $(CORBA_GENERATED) in here. svn path=/trunk/; revision=19462
* Only set view ID if we have an instance.Hans Petter Jansson2003-01-152-1/+4
| | | | | | | | 2003-01-14 Hans Petter Jansson <hpj@ximian.com> * gui/gnome-cal.c (set_view): Only set view ID if we have an instance. svn path=/trunk/; revision=19459
* Cast signal handlers to GtkSignalFunc, avoid warnings.Hans Petter Jansson2003-01-152-12/+17
| | | | | | | | | 2003-01-14 Hans Petter Jansson <hpj@ximian.com> * gui/e-calendar-table.c (tasks_popup_menu): Cast signal handlers to GtkSignalFunc, avoid warnings. svn path=/trunk/; revision=19458
* cal-util-marshal.list.Ettore Perazzoli2003-01-152-0/+5
| | | | | | | | * cal-util/Makefile.am (EXTRA_DIST): cal-util-marshal.list. * Makefile.am: Comment out the CONDUIT_DIR stuff for now. svn path=/trunk/; revision=19452
* Comment out the CONDUIT_DIR stuff for now.Ettore Perazzoli2003-01-152-6/+11
| | | | svn path=/trunk/; revision=19446
* Switch to using GtkPaned instead of EPaned for GTK2Rodney Dawes2003-01-152-10/+12
| | | | svn path=/trunk/; revision=19444
* Work around canvas crashes by ensuring rectangles have an initial width.Hans Petter Jansson2003-01-152-0/+8
| | | | | | | | | 2003-01-14 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_init): Work around canvas crashes by ensuring rectangles have an initial width. svn path=/trunk/; revision=19441
* Removed. Removed.Ettore Perazzoli2003-01-1426-1583/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/config-control-factory.h: Removed. * gui/config-control-factory.c: Removed. * gui/itip-bonobo-control.c: Renamed from itip-control-factory.c. (itip_bonobo_control_new): New. (itip_control_factory_init): Removed. * gui/itip-bonobo-control.h: Renamed from itip-control-factory.h. * gui/tasks-control-factory.c: Removed. * gui/tasks-control-factory.h: Removed. * gui/control-factory.c (control_factory_init): Removed. * gui/Makefile.am: Updated to build everything as libevolution-calendar.so and install in the COMPONENTDIR. * gui/GNOME_Evolution_Calendar.server.in.in: Updated to build the component as a shared library. * gui/main.c (main): Removed. * gui/calendar-component.c (calendar_component_get_object): New. (owner_set_cb): Do not store the shell pointer in shells. (owner_unset_cb): Do not remove the shell pointer from shells; instead, just set global_shell_client to NULL. * gui/calendar-component.h: Renamed from component-factory.h. * gui/calendar-component.c: Renamed from component-factory.c. svn path=/trunk/; revision=19430
* (connect_to_shell): CORBA_Object_release() the CORBA shell.Ettore Perazzoli2003-01-112-0/+8
| | | | | | | (connect_to_shell): CORBA_Object_release() the CORBA shell. svn path=/trunk/; revision=19416
* Allow recur_id to be NULL to clear the recurrence id. (Based on a story byDan Winship2003-01-104-5/+25
| | | | | | | | | | | | | | | * cal-util/cal-component.c (cal_component_set_recurid): Allow recur_id to be NULL to clear the recurrence id. (Based on a story by JP on evolution-1-2-recurid-branch) * gui/print.c: Remove unused gnome-print-copies.h #include * pcs/query.c (query_new): Use g_object_weak_ref rather than connecting to "destroy" (which doesn't actually exist on a CalBackend) (backend_destroyed_cb): Update prototype. svn path=/trunk/; revision=19365
* Icons are now in $(datadir)/evolution/images instead ofEttore Perazzoli2003-01-094-4/+12
| | | | | | | | | | * gui/alarm-notify/Makefile.am: Icons are now in $(datadir)/evolution/images instead of $(datadir)/images/evolution. * gui/Makefile.am: Likewise. * gui/dialogs/Makefile.am: Likewise. svn path=/trunk/; revision=19296
* remove a dead headerJeffrey Stedfast2003-01-081-1/+0
| | | | svn path=/trunk/; revision=19272
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-062-2/+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-1920-412/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-172-4/+9
| | | | | | | | | 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-162-15/+21
| | | | | | | | | | 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-105-13/+90
| | | | | | | | | | | | | | | | | | | | | | 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-073-1/+33
| | | | | | | | | | | | | 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-074-10/+21
| | | | | | | | | | | | | | 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-0727-612/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0229-337/+343
| | | | | | | | | | | | | | | | | | | | 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-262-1/+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-252-11/+11
| | | | | | | | | 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
* ignore .server.inChris Toshok2002-11-211-0/+1
| | | | svn path=/trunk/; revision=18876
* pass type to bonobo_control_set_property.Not Zed2002-11-213-4/+9
| | | | | | | | | 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-202-1/+6
| | | | | | | | | 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-203-11/+24
| | | | | | | | | | | | | | * 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-194-7/+25
| | | | | | | | | | | | | | | | | | | 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-172-1/+6
| | | | | | | | | 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-163-2/+6
| | | | | | * 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-144-8/+20
| | | | | | | | | | | | | | 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-139-178/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Commit missing files.Ettore Perazzoli2002-11-092-5/+4
| | | | svn path=/trunk/; revision=18675
* Use g_object_set_data(..., NULL) instead of gtk_object_remove_data().Ettore Perazzoli2002-11-099-126/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0929-194/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0923-484/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-093-16/+39
| | | | | | | | | | | | | | (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-083-9/+15
| | | | | | | | | | | | 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-082-19/+20
| | | | | | | | 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
* *** empty log message ***Rodrigo Moya2002-11-081-0/+2
| | | | svn path=/trunk/; revision=18650
* Initial port of gui/ subdir to GNOME 2JP Rosevear2002-11-0857-446/+398
| | | | | | | | 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-086-9/+16
| | | | | | | | | | | | | 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-087-36/+46
| | | | | | | | | | | | | | | | | 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-081-4/+7
| | | | | | | | | | | | | | | | | 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=18631
* converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref theRodrigo Moya2002-11-079-168/+172
| | | | | | | | | | | | | | | | | 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-076-114/+122
| | | | | | | | | 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-0717-75/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Rodrigo Moya2002-11-072-4/+2
| | | | svn path=/trunk/; revision=18620