aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* modify the start and end hours to accomodate all the events in the dayJP Rosevear2002-05-023-0/+35
| | | | | | | | | | | | 2002-05-01 JP Rosevear <jpr@ximian.com> * gui/print.c (print_day_details): modify the start and end hours to accomodate all the events in the day * gui/e-day-view.c (free_view_popup): only discard the popup if we created one svn path=/trunk/; revision=16655
* remove setup_widgets from here (gnome_calendar_init): move setup_widgetsJP Rosevear2002-05-012-2/+7
| | | | | | | | | | 2002-04-30 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_construct): remove setup_widgets from here (gnome_calendar_init): move setup_widgets back here svn path=/trunk/; revision=16650
* can't even spell my own name right!!Jeffrey Stedfast2002-04-271-1/+1
| | | | | | Oh the humanity! svn path=/trunk/; revision=16619
* Don't link to libibex anymore!!Jeffrey Stefdast2002-04-272-1/+4
| | | | | | | | 2002-04-26 Jeffrey Stefdast <fejj@ximian.com> * gui/Makefile.am: Don't link to libibex anymore!! svn path=/trunk/; revision=16616
* launch pilot settings cappletJP Rosevear2002-04-243-0/+65
| | | | | | | | | | | 2002-04-24 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_pilot_settings): launch pilot settings capplet * gui/e-week-view.c (e_week_view_on_pilot_settings): ditto svn path=/trunk/; revision=16573
* free the view popup (e_week_view_show_popup_menu): add the view popup toJP Rosevear2002-04-247-30/+112
| | | | | | | | | | | | | | | | | | | | | | | | 2002-04-24 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (free_view_popup): free the view popup (e_week_view_show_popup_menu): add the view popup to the "main_item" menu and listen for destruction * gui/e-day-view.c (free_view_popup): as above (e_day_view_on_event_right_click): as above * gui/e-week-view.h: add class member * gui/e-day-view.h: add a class member * gui/gnome-cal.h: new protos * gui/gnome-cal.c (set_view): set the instance view id properly when switching views (gnome_calendar_setup_view_popup): generate a view popup (gnome_calendar_discard_view_popup): destroy a view popup svn path=/trunk/; revision=16572
* raise an exception if the backend's method returns NULL, since we can'tRodrigo Moya2002-04-222-0/+11
| | | | | | | | | | 2002-04-22 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal.c (impl_Cal_get_alarms_in_range): raise an exception if the backend's method returns NULL, since we can't send a NULL pointer to ORBit. svn path=/trunk/; revision=16554
* Collapsed notebook into two pages and added accelerators for everything,Anna Marie Dirks2002-04-202-354/+332
| | | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages and added accelerators for everything, as part of my config dialog polishing project svn path=/trunk/; revision=16540
* properly handle -ve recurrence valuesJP Rosevear2002-04-192-67/+273
| | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly handle -ve recurrence values (month_num_submenu_selection_done_cb): track the current date in use (make_recur_month_num_submenu): make a submenu of dates (make_recur_month_num_menu): make the date/relation option menu (month_num_menu_selection_done_cb): update the date properly and keep both option menus consistent (month_day_menu_selection_done_cb): keep both option menus consistent (make_monthly_special): listen for selection done signal (make_recurrence_special): destroy old month_num_menu (recurrence_page_fill_widgets): properly handle -ve recurrence values svn path=/trunk/; revision=16526
* show the settingsJP Rosevear2002-04-196-6/+90
| | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_settings): show the settings * gui/e-week-view.c (e_week_view_on_settings): ditto * gui/calendar-commands.c (control_util_show_settings): show the settings dialog * gui/calendar-commands.h: new proto * gui/control-factory.c (control_factory_new_control): set the control as object data on the calendar svn path=/trunk/; revision=16511
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-185-119/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* new method.Rodrigo Moya2002-04-127-2/+69
| | | | | | | | | | | | | | | 2002-04-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.[ch] (cal_backend_get_query): new method. * pcs/cal-backend-file.c (cal_backend_file_get_query): new method. * pcs/cal.c (impl_Cal_get_query): call the CalBackend's implementation instead of calling query_new directly. * pcs/query.[ch]: fixed headers. svn path=/trunk/; revision=16443
* Fix this: Rodrigo's patch used one of the functions I just removed. :)Dan Winship2002-04-112-12/+11
| | | | | | | * gui/gnome-cal.c (gnome_calendar_open): Fix this: Rodrigo's patch used one of the functions I just removed. :) svn path=/trunk/; revision=16433
* use the default uri for tasks (as stored in the configuration) when theRodrigo Moya2002-04-112-22/+14
| | | | | | | | | | 2002-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): use the default uri for tasks (as stored in the configuration) when the calendar URI is not a local one (connector, etc). svn path=/trunk/; revision=16427
* Use new-and-improved default folder URI config paths.Dan Winship2002-04-116-103/+31
| | | | | | | | | | | | | | * cal-client/cal-client.c (get_default_uri): Use new-and-improved default folder URI config paths. * gui/calendar-config.c (calendar_config_{get,set}_default_uri, calendar_config_{get,set}_default_tasks_uri): Remove these. The shell owns this information now. (Weren't being used anyway.) * gui/component-factory.c (get_data_uri): Fix another place that hardcoded tacking foo.ics on to the end of URLs. svn path=/trunk/; revision=16421
* Add view_info arg. If the view_info is non-empty and this is a calendarDan Winship2002-04-095-9/+76
| | | | | | | | | | | | | | | | | | | * gui/component-factory.c (create_view): Add view_info arg. If the view_info is non-empty and this is a calendar folder, set the "view" property on the control's propertybag. * gui/control-factory.c (calendar_properties_init): Set up the "view" property. (get_prop, set_prop): handle the "view" property by getting/setting the GnomeCalendar's view. Unfortunately, this doesn't actually work. See #23208. * gui/calendar-commands.c (calendar_control_activate): Set the UI component's container before calling gnome_calendar_set_ui_component so that the search bar initialization will work. svn path=/trunk/; revision=16400
* Oops.JP Rosevear2002-04-071-0/+4
| | | | svn path=/trunk/; revision=16382
* Remove dead files.JP Rosevear2002-04-072-1250/+0
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-db.[hc]: Remove dead files. svn path=/trunk/; revision=16381
* add config_item:typeJP Rosevear2002-04-072-0/+9
| | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: add config_item:type svn path=/trunk/; revision=16380
* ignore .pureChris Toshok2002-04-022-0/+2
| | | | svn path=/trunk/; revision=16312
* Fix a string.Kjartan Maraas2002-04-022-1/+5
| | | | | | | | 2002-04-01 Kjartan Maraas <kmaraas@gnome.org> * gui/e-itip-control.c: Fix a string. svn path=/trunk/; revision=16310
* simple fix for DB3 header inclusion in Mac OS X, by Max HornRodrigo Moya2002-04-022-0/+9
| | | | | | | | | 2002-04-01 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c: simple fix for DB3 header inclusion in Mac OS X, by Max Horn <max@quendi.de> svn path=/trunk/; revision=16309
* free the my_address member (find_my_address): fall back on a CN match ifJP Rosevear2002-04-012-97/+158
| | | | | | | | | | | | | | | | 2002-03-31 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (clean_up): free the my_address member (find_my_address): fall back on a CN match if possible (change_status): handle changing the status of a non-existent address by adding a new attendee (update_attendee_status): if the attendee response is not from a user on the list of attendees, ask the user if they want to add the attendee any how (as an optional participant) (ok_clicked_cb): if we are suppose to rsvp and the status was ok, but the attendee address is not known, find it svn path=/trunk/; revision=16303
* Set a priority for the config item. Rename to "Calendar and Tasks".Ettore Perazzoli2002-03-302-2/+9
| | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Set a priority for the config item. Rename to "Calendar and Tasks". svn path=/trunk/; revision=16293
* s/libversit.la/libversit.a/JP Rosevear2002-03-303-2/+8
| | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/Makefile.am: s/libversit.la/libversit.a/ * conduits/todo/Makefile.am: ditto svn path=/trunk/; revision=16288
* implement new pop up menu items for "Save as", "Print", "Assign Task",JP Rosevear2002-03-307-116/+664
| | | | | | | | | | | | | | | | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * gui/e-calendar-table.c: implement new pop up menu items for "Save as", "Print", "Assign Task", "Forward as iCalendar" * gui/e-day-view.c: similarly, also "Publish Free/Busy Information" and "New Meeting" and "New Task" * gui/e-week-view.c: ditto * gui/dialogs/task-editor.c (show_assignment): move the assignment page stuff here (task_editor_show_assignment): use it (assign_task_cmd): ditto * gui/dialogs/task-editor.h: new proto * gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file selector function svn path=/trunk/; revision=16287
* Remove old fileJP Rosevear2002-03-302-490/+0
| | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * meeting-mockup.glade: Remove old file * topic.dat svn path=/trunk/; revision=16283
* more fixes for libversit.la -> libversit.aDan Winship2002-03-204-4/+11
| | | | svn path=/trunk/; revision=16211
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-192-31/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-165-61/+72
| | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gui/e-day-view.c: Updated to use new EPopupMenu API. * gui/e-week-view.c: Updated to use new EPopupMenu API. * gui/e-calendar-table.c: Updated to use new EPopupMenu API. svn path=/trunk/; revision=16184
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-168-8/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (init): Init various members to NULL. (set_dropdown): Removed. (add_dropdown): Removed. (set_menu): New. (add_menu_items): New. (set_option): No need to setup the dropdown size here anymore. (verb_cb): Function implementing the search menu verbs. (update_bonobo_menus): New. (e_search_bar_set_ui_component): New. * e-search-bar.h: Remove the dropdown button stuff from struct ESearchBar. Add `uic' and `items' members. * e-filter-bar.c (e_filter_bar_new): Get a @uic arg. * folder-browser-factory.c (control_activate): Set the UI component on the search bar. * gui/tasks-control.c (tasks_control_activate): Call `e_tasks_set_ui_component()' here to give it the BonoboUIComponent. (tasks_control_deactivate): Likewise, call it here to unset the BonoboUIComponent. * gui/e-tasks.c (e_tasks_set_ui_component): New. * gui/calendar-commands.c (calendar_control_activate): Call gnome_calendar_set_ui_component() here. (calendar_control_deactivate): ...And here, with a NULL BonoboUIComponent. * gui/gnome-cal.c (gnome_calendar_set_ui_component): New. * gui/component/addressbook.c (control_activate): Call `e_search_bar_set_ui_component()' to set the BonoboUIComponent for the search bar. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16178
* use bonobo exception macros to tidyJP Rosevear2002-03-157-41/+43
| | | | | | | | | | | | | | | | 2002-03-15 JP Rosevear <jpr@ximian.com> * gui/main.c: use bonobo exception macros to tidy * gui/itip-control-factory.c: ditto * gui/gnome-cal.c: ditto * gui/comp-editor-factory.c: ditto * gui/calendar-commands.c: ditto svn path=/trunk/; revision=16172
* add all day event editor modeJP Rosevear2002-03-156-117/+119
| | | | | | | | | | | | | | | | | | | 2002-03-14 JP Rosevear <jpr@ximian.com> * idl/evolution-calendar.idl: add all day event editor mode * gui/component-factory.c: clean up exception handling (sc_user_create_new_item_cb): support the all day event id (create_object): add a user creatable all day appointment item * gui/comp-editor-factory.c (get_default_event): get a default event either all day or starting at the top of the hour (get_default_task): get a default task (edit_new): support the all day event mode * gui/calendar-commands.c: remove unused functions/verbs svn path=/trunk/; revision=16157
* Add an "evolution:config_item:icon_path" attribute so we get an icon forEttore Perazzoli2002-03-142-0/+9
| | | | | | | | * gui/GNOME_Evolution_Calendar.oaf.in: Add an "evolution:config_item:icon_path" attribute so we get an icon for the calendar preferences. svn path=/trunk/; revision=16141
* Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shownEttore Perazzoli2002-03-1312-395/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shown when we load the Glade file with libglade. * gui/component-factory.c (owner_set_cb): Register the ConfigControl factory. * gui/tasks-control.c: Removed verb "TaskSettings". (tasks_control_settings_cmd): Removed. * gui/calendar-commands.c: Removed verb "CalendarSettings". (settings_cmd): Removed. * gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate' to `DialogData'. Replace `dialog' member with a `page' member. Remove `toplevel_notebook' member. (init_widgets): Renamed from `cal_prefs_dialog_init_widgets'. Just get a DialogData. (get_widgets): Get a DialogData pointer. (cal_prefs_dialog_destroy): Removed. (config_control_destroy_callback): New, signal handler for ::destroy for ConfigControl. (cal_prefs_dialog_new): Create a new DialogData, connect all the signal handlers. (create_time_edit): Renamed from `cal_prefs_dialog_create_time_edit'. (cal_prefs_dialog_show): Removed. (cal_prefs_dialog_button_clicked): Removed. (show_task_list_config): Get a DialogData. (show_config): Renamed from `cal_prefs_dialog_show_config'. Likewise. (update_task_list_config): Likewise. (update_config): Renamed from `cal_prefs_dialog_update_config'. Likewise. (color_set_callback): New callback, makes the dialog report changes when the setting in any of the color widgets is changed. (widget_changed_callback): New callback, makes the dialog report changes when any of the widgets changes status. (connect_changed): New utility function to connect this callback to all the widgets. (setup_widgets): Connect all the widgets. (cal_prefs_dialog_new): Call `setup_widgets'. * gui/config-control-factory.c: New. * gui/config-control-factory.h: New. * gui/GNOME_Evolution_Calendar.oaf.in: Add OAFIID:GNOME_Evolution_Calendar_ConfigControl and OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory. svn path=/trunk/; revision=16135
* Should fix #21240Rodrigo Moya2002-03-072-22/+38
| | | | | | | | | | | 2002-03-06 Rodrigo Moya <rodrigo@ximian.com> Should fix #21240 * gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI with EUri, to allow non-registered methods. svn path=/trunk/; revision=15944
* reverted my last change of adding the METHOD property to the incomingRodrigo Moya2002-03-063-2/+37
| | | | | | | | | | | | | 2002-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/e-itip-control.c (e_itip_control_set_data): reverted my last change of adding the METHOD property to the incoming request. * gui/itip-utils.c (comp_string): added extra X-MICROSOFT-CDO-REPLYTIME property for broken Outlook. Should fix #20783. svn path=/trunk/; revision=15940
* [pullup from evolution-1-0-branch]Dan Winship2002-03-062-0/+11
| | | | | | | | | * gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new component. (RFC2245 says DTSTAMP corresponds to the time the particular iCalendar representation of the object was created.) Fixes #21198. svn path=/trunk/; revision=15930
* remove unneeded parameter from print_text_size everywhereJP Rosevear2002-03-066-69/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/print.c: remove unneeded parameter from print_text_size everywhere (get_font_for_size): calculate a font size based on the available height (print_text): calculate the top of where the font should be drawn (print_text_size): use get_font_for_size (print_day_background): use get_font_for_size 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_draw): pass the real table to e_meeting_model_etable_view_to_model_row (e_meeting_time_selector_item_paint_busy_periods): ditto * gui/dialogs/meeting-page.c (right_click_cb): ditto * gui/e-meeting-model.h: update protos * gui/e-meeting-model.c (e_meeting_model_etable_model_to_view_row): take in to account the fact the table used the without model (e_meeting_model_etable_view_to_model_row): ditto svn path=/trunk/; revision=15926
* added support for printing the Tasks table. I hacked it a bit so the userDamon Chaplin2002-03-052-0/+220
| | | | | | | | | | | 2002-03-04 Damon Chaplin <damon@ximian.com> * gui/tasks-control.c: added support for printing the Tasks table. I hacked it a bit so the user could choose portrait or landscape mode. This is bug #9677. ETable printing has a few issues, though, and it isn't very pretty. svn path=/trunk/; revision=15906
* [pullup from evolution-1-0-branch]Dan Winship2002-03-042-80/+93
| | | | | | | | | * gui/itip-utils.c (comp_subject): Prefix the subject with an indicator like "Accepted" or "Cancelled" explaining what the action is, since Outlook doesn't display any of that information inline like we do. (20780) svn path=/trunk/; revision=15896
* added the METHOD property to the top level component we create.Rodrigo Moya2002-03-012-0/+7
| | | | | | | | | 2002-02-28 Rodrigo Moya <rodrigo@ximian.com> * calendar/gui/e-itip-control.c (e_itip_control_set_data): added the METHOD property to the top level component we create. svn path=/trunk/; revision=15880
* display an error message if the call to gnome_calendar_open orRodrigo Moya2002-02-273-2/+29
| | | | | | | | | | | 2002-02-26 Rodrigo Moya <rodrigo@ximian.com> * gui/control-factory.c (set_prop): * gui/tasks-control.c (tasks_control_set_property): display an error message if the call to gnome_calendar_open or e_tasks_open does not return TRUE. Fixes #20346. svn path=/trunk/; revision=15845
* [pullup from evolution-1-0-branch]Dan Winship2002-02-262-33/+17
| | | | | | | | | | | * gui/itip-utils.c (itip_send_comp): use GNOME_Evolution_Composer_setBody rather than _setMultipartType and _attachData now, to send a message containing just a text/calendar part. Fixes 14705. Mostly. (comp_content_type): Include the filename here since we can't add a Content-Disposition now. svn path=/trunk/; revision=15834
* change query_changed to search_activated.Chris Toshok2002-02-252-4/+11
| | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * gui/cal-search-bar.c (cal_search_bar_class_init): change query_changed to search_activated. (cal_search_bar_search_activated): rename cal_search_bar_query_changed to this. svn path=/trunk/; revision=15830
* New helper function. (create_object): Add icons for the various userEttore Perazzoli2002-02-223-32/+88
| | | | | | | | * gui/component-factory.c (add_creatable_item): New helper function. (create_object): Add icons for the various user creatable items. svn path=/trunk/; revision=15790
* pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb):JP Rosevear2002-02-2010-63/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 002-02-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (send_item): pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb): ditto, including the timezones culled from the component * gui/e-week-view.c: pass extra itip_send_comp params * gui/calendar-commands.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/comp-editor.c: ditto * gui/itip-utils.h (itip_send_comp): update proto * gui/itip-utils.c (foreach_tzid_callback): check the passed in zones, then the builtin time zones then the client 2002-02-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (find_my_address): strip the ical value and do a case insensitive compare (find_attendee): ditto (change_status): put the error message here (ok_clicked_cb): don't update the item or rsvp unless change_status was successful, trip the ical value and do a case insensitive compare * gui/itip-utils.c (get_address): strip the incoming address (itip_strip_mailto): use g_strncasecmp (comp_limit_attendees): strip the ical value and do a case insensitive compare svn path=/trunk/; revision=15763
* use new column enums (set_value_at): emit pre-change/cell change signalsJP Rosevear2002-02-167-318/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-14 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c: use new column enums (set_value_at): emit pre-change/cell change signals (destroy): destroy refresh_queue and refresh_data (init): init new elements (refresh_queue_add): if the attendee is being refreshed already, possibly update the start/end times to look for and update the callback info, otherwise add it to the queue (refresh_queue_remove): remove a refreshing attende from the queue (process_callbacks): make all the callbacks and remove the attendee from the queue (process_free_busy): process the callbacks immediately if parsing fails or on successful completion of processing (async_close): process free busy (cursor_cb): we're only looking for one at a time now (refresh_busy_periods): idle callback to start processing the queue (e_meeting_model_refresh_all_busy_periods): add every row to the queue (e_meeting_model_refresh_busy_periods): add a single row to the queue * gui/e-meeting-model.h: new protos, enum the columns * gui/e-meeting-time-sel.c: use new compare time function (e_meeting_time_selector_construct): listen for a cell changed signal and use separate callbacks for rows_inserted and rows_deleted (e_meeting_time_selector_refresh_free_busy): util function to refresh free busy info (e_meeting_time_selector_on_update_free_busy): use above (rows_inserted_cb): refresh free busy on the new rows (cell_changed_cb): refresh free busy on the row when the address changes (rows_deleted_cb): redraw * gui/e-meeting-utils.[hc]: a holding spot for a meeting time comparison function * gui/Makefile.am: compile new files svn path=/trunk/; revision=15741
* don't append 'calendar.ics' to the URI. (get_prop): finished.Rodrigo Moya2002-02-145-32/+57
| | | | | | | | | | | | | | | | | | 2002-02-13 Rodrigo Moya <rodrigo@ximian.com> * gui/control-factory.c (set_prop): don't append 'calendar.ics' to the URI. (get_prop): finished. * gui/tasks-control.c (tasks_control_set_property): don't append 'tasks.ics' to the URI. (tasks_control_get_property): finished. * gui/gnome-cal.c (gnome_calendar_open): * gui/e-tasks.c (e_tasks_open): append $filename.ics to the uri to be opened if the uri is local. Leave intact in other cases. svn path=/trunk/; revision=15724
* check if the CalComponentDateTime values are set before trying to useDamon Chaplin2002-02-092-15/+28
| | | | | | | | | | 2002-02-08 Damon Chaplin <damon@ximian.com> * gui/comp-util.c (cal_comp_util_compare_event_timezones): check if the CalComponentDateTime values are set before trying to use them. Possibly fixes bug #18529. svn path=/trunk/; revision=15630
* added vCalendar importer and intelligent GnomeCalendar importer code here,Damon Chaplin2002-02-097-102/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-08 Damon Chaplin <damon@ximian.com> * importers/icalendar-importer.c: added vCalendar importer and intelligent GnomeCalendar importer code here, as it shares a lot of code with the iCalendar importer. NOTE: check_folder_type() needs to be finished at some point. It needs a new shell Corba call so it can decide whether to import events or tasks into the folder. Currently it just imports both. * importers/main.c (importer_factory_fn): create vCalendar importer or GnomeCalendar importer if required. * importers/evolution-calendar-importer.h: added declarations for creating a vCalendar importer and intelligent Gnome Calendar importer. * importers/Makefile.am: added -DEVOLUTION_SOUNDDIR so the importer knows what filename to use for audio alarms in vCalendar files. Added libicalvcal-evolution to LDADD. * importers/GNOME_Evolution_Calendar_Importer.oaf.in: added vCalendar importer and intelligent Gnome Calendar importer. * gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE if the event uses UTC. We don't want to flag all events from Outlook, which use UTC. svn path=/trunk/; revision=15628
* change custom widget creator to e_url_entry_newJP Rosevear2002-02-093-41/+20
| | | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.glade: change custom widget creator to e_url_entry_new * gui/dialogs/task-details-page.c (get_widgets): get the url entry and its entry svn path=/trunk/; revision=15622
* add a custom widget created with e_url_button_newJP Rosevear2002-02-094-10/+56
| | | | | | | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.glade: add a custom widget created with e_url_button_new * gui/dialogs/task-details-page.c (task_details_page_init): init url_button member to NULL (init_widgets): set the url button entry (get_widgets): get the url button * gui/calendar-commands.c (pixmaps): use new all day event icon svn path=/trunk/; revision=15610
* pass meeting boolean for gnome_calendar_edit_object andJP Rosevear2002-02-0815-100/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c: pass meeting boolean for gnome_calendar_edit_object and gnome_calendar_new_appointment_for * gui/e-week-view-event-item.c: ditto * gui/e-week-view.c: ditto * gui/tasks-control.c (confirm_expunge): kill warning * gui/calendar-commands.c (new_meeting_cb): show a new meeting dialog (new_event_cb): pass new param * gui/gnome-cal.c (gnome_calendar_edit_object): take meeting boolean and show meeting page if true (gnome_calendar_new_appointment_for): takeing meeting param and pass to above (gnome_calendar_new_appointment): add new param * gui/gnome-cal.h: update proto * gui/component-factory.c (create_component): take a comp editor mode, determine vtype (sc_user_create_new_item_cb): check for meeting user creatable item (create_object): add meeting as user creatable item * gui/comp-editor-factory.c (edit_new): get a comp editor mode now, determine vtype and show meeting page if required (queue_edit_new): get comp editor mode (impl_editNew): ditto, plus queue the mode directly instead of determining the vtype * gui/dialogs/event-editor.c (show_meeting): new internal util function to show meeting page (event_editor_show_meeting): show the meeting (schedule_meeting_cmd): use show_meeting * gui/dialogs/event-editor.h: new proto * idl/evolution-calendar.idl: editNew takes a mode rather than a type now * cal-util/Makefile.am: fix includes svn path=/trunk/; revision=15595
* Bumped the required version of gal.Christopher James Lahey2002-02-073-67/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal. From addressbook/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Changed this function to use the new GalViewMenus which takes a GalViewInstance, instead of a GalViewCollection. From calendar/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Made these use the new GalViewMenus stuff. From mail/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c, folder-browser-ui.h (folder_browser_ui_setup_view_menus, folder_browser_ui_discard_view_menus): Changed this to use the new GalViewMenus stuff. Made these exported functions. * mail-callbacks.c, message-browser.c: Changed these to not pass the now removed row parameter to message_list_select. * mail-config.c, mail-config.h (mail_config_folder_to_safe_url): Refactored this out of mail_config_folder_to_cachename. * message-list.c, message-list.h (message_list_select): Removed the row argument. Changed this to use the new function in ETree for finding the next cursor row that matches a test. (message_list_construct): Handle a failed construction of the ETree here. (message_list_setup_etree, save_tree_state): Don't load or save the header state. folder-browser-ui.c deals with this now. From views/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * addressbook/galview.xml, calendar/galview.xml, mail/galview.xml, tasks/galview.xml: Added default-view parameters. * mail/As_Sent_Folder.galview: New galview. * mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder galview. From widgets/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_new): Made this take a GalViewInstance instead of a GalViewCollection. Reworked most of this to utilize the interfaces provided by GalViewInstance. svn path=/trunk/; revision=15592
* convert months from 1-12 to 0-11. Fixes bug #19235.Damon Chaplin2002-02-072-0/+11
| | | | | | | | | 2002-02-06 Damon Chaplin <damon@ximian.com> * cal-util/cal-recur.c (cal_recur_from_icalproperty): convert months from 1-12 to 0-11. Fixes bug #19235. svn path=/trunk/; revision=15584
* new gui routines for conduit settings (e_todo_gui_fill_config): dittoJP Rosevear2002-02-052-6/+88
| | | | | | | | | | | | | | | | | 2002-02-04 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (e_todo_gui_new): new gui routines for conduit settings (e_todo_gui_fill_config): ditto (e_todo_gui_fill_widgets): ditto (e_todo_gui_destroy): ditto (e_todo_context_destroy): destroy new_cfg and gui properly (local_record_from_comp): set the priority to the default setting if none is set on the icalendar object (fill_widgets): fill gui widgets (create_settings_window): create gui svn path=/trunk/; revision=15569
* if this is a reply, print the attendee statusJP Rosevear2002-01-312-0/+39
| | | | | | | | | 2002-01-30 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (write_html): if this is a reply, print the attendee status svn path=/trunk/; revision=15531
* Use 1 instead of zero as the minimum value for the repetitions spin buttonFederico Mena Quintero2002-01-262-1/+8
| | | | | | | | | | | 2002-01-25 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/alarm-options.glade: Use 1 instead of zero as the minimum value for the repetitions spin button as we use a check box to specify whether the alarm has repetitions or not. Fixes bug #19054. svn path=/trunk/; revision=15472
* Ooops. Forgot to use EVOLUTION_CALENDAR_LIBS here.Ettore Perazzoli2002-01-252-1/+6
| | | | | | | * importers/Makefile.am (evolution_calendar_importer_LDADD): Ooops. Forgot to use EVOLUTION_CALENDAR_LIBS here. svn path=/trunk/; revision=15462
* Clean up some of the Makefiles so we dont' link every library multipleEttore Perazzoli2002-01-2510-68/+45
| | | | | | times, causing big libtool 1.4 pain. svn path=/trunk/; revision=15461
* Pass a NULL @icon toEttore Perazzoli2002-01-243-8/+13
| | | | | | | * gui/component-factory.c (create_object): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. svn path=/trunk/; revision=15440
* Buffers Files Tools Edit Search Mule HelpJP Rosevear2002-01-223-11/+31
| | | | | | | | | | | | | | 2002-01-21 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (todoconduit_load_configuration): return a new configuration struct, load default priority setting (todoconduit_save_configuration): save default priority setting (e_todo_context_new): dupe configuration * conduits/calendar/calendar-conduit.c (e_calendar_context_new): set ps to NULL svn path=/trunk/; revision=15419
* save the alarm string in the correct variable (str), so it actually getsDamon Chaplin2002-01-182-2/+7
| | | | | | | | | | 2002-01-17 Damon Chaplin <damon@ximian.com> * gui/dialogs/alarm-page.c (get_alarm_string): save the alarm string in the correct variable (str), so it actually gets shown for alarms with specific trigger times. Fixes bug #18801. svn path=/trunk/; revision=15352
* default component classification to PUBLIC. Fixes internal bug #1066Rodrigo Moya2002-01-172-3/+10
| | | | | | | | | 2002-01-15 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): default component classification to PUBLIC. Fixes internal bug #1066 svn path=/trunk/; revision=15348
* move all functions here, get rid of header files, use e-pilot-settings toJP Rosevear2002-01-1511-568/+509
| | | | | | | | | | | 2002-01-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c: move all functions here, get rid of header files, use e-pilot-settings to display gui * conduits/todo/todo-conduit.c: as above svn path=/trunk/; revision=15322
* use icaltimetype_to_tmJP Rosevear2002-01-152-7/+5
| | | | | | | | 2002-01-14 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (get_current_time): use icaltimetype_to_tm svn path=/trunk/; revision=15320
* figure out when today is and highlight if it is not selectedJP Rosevear2002-01-154-3/+30
| | | | | | | | | | | | | 2002-01-14 JP Rosevear <jpr@ximian.com> * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): figure out when today is and highlight if it is not selected * gui/e-week-view.h: enum the "today" color * gui/e-week-view.c (e_week_view_realize): init the "today" color svn path=/trunk/; revision=15319
* add protosJP Rosevear2002-01-144-21/+164
| | | | | | | | | | | | | | | | | 2002-01-13 JP Rosevear <jpr@ximian.com> * gui/alarm-notify/save.h: add protos * gui/alarm-notify/save.c (save_blessed_program): records a program as blessed (is_blessed_program): checks to see if a program is blessed * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog): popup a dialog notifying the user that is a program and let them not see the dialog about this program again (procedure_notification): use above svn path=/trunk/; revision=15313
* translate timezone names when displayed. Fixes bug #6544.Damon Chaplin2002-01-124-15/+59
| | | | | | | | | | | 2002-01-11 Damon Chaplin <damon@ximian.com> * gui/e-timezone-entry.c: * gui/e-itip-control.c (write_label_piece): * gui/calendar-config.c (on_timezone_set): translate timezone names when displayed. Fixes bug #6544. svn path=/trunk/; revision=15307
* new verb callback (sensitize_commands): set sensitivity of mark completeJP Rosevear2002-01-046-3/+79
| | | | | | | | | | | | | | | | | | | | 2002-01-03 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (tasks_control_complete_cmd): new verb callback (sensitize_commands): set sensitivity of mark complete command * gui/e-tasks.h: new proto * gui/e-tasks.c (e_tasks_complete_selected): mark selected tasks in the table as complete * gui/e-calendar-table.h: new proto * gui/e-calendar-table.c (e_calendar_table_complete_selected): mark selected rows as complete svn path=/trunk/; revision=15239
* only need one warning message nowJP Rosevear2002-01-043-46/+14
| | | | | | | | | | | | 002-01-03 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (confirm_expunge): only need one warning message now * gui/e-tasks.c (create_sexp): change the logic to expunge all completed tasks not just hidden ones svn path=/trunk/; revision=15236
* confirm expunging of the tasks (tasks_control_expunge_cmd): verb callbackJP Rosevear2002-01-0311-822/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-03 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (confirm_expunge): confirm expunging of the tasks (tasks_control_expunge_cmd): verb callback * gui/calendar-config.c (config_read): read confirm expunge value (calendar_config_write): write confirm expunge value (calendar_config_write_on_exit): ditto (calendar_config_get_confirm_expunge): get value (calendar_config_set_confirm_expunge): set value * gui/calendar-config.h: new proto * gui/e-itip-control.c (start_calendar_server): kill warning * gui/e-tasks.c (e_tasks_init): init query member to NULL (set_status_message): util function to set status message (e_tasks_open): use above (cal_opened_cb): ditto (create_sexp): create sexp of items to be deleted (query_obj_updated_cb): remove any items found (query_eval_error_cb): bail out on error (query_query_done_cb): tidy when done (e_tasks_delete_completed): set up query * gui/e-tasks.h: new proto * gui/calendar-model.c (query_query_done_cb): use g_warning instead of printing to stderr (query_eval_error_cb): ditto (update_query): clear the status message if we can't create the query * gui/tag-calendar.c (resolve_tzid_cb): make this static svn path=/trunk/; revision=15233
* remove needs send signal related cruft (save_comp_with_send): withJP Rosevear2001-12-228-59/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c: remove needs send signal related cruft (save_comp_with_send): with send_component_dialog, indicate if the meeting info is newly created or not (real_edit_comp): remember if the dialog initially needs a send * gui/dialogs/send-comp.c (send_component_dialog): take a "new" parameter indicating whether the dialog should intimate if the component to be sent is a new meeting or not * gui/dialogs/send-comp.h: update proto * gui/dialogs/comp-editor.c: remove no longer used needs_send notification and signal * gui/dialogs/comp-editor.h: remove proto * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): add new param to send_component_dialog (e_day_view_finish_long_event_resize): ditto (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): add new param to send_component_dialog svn path=/trunk/; revision=15204
* inherit from bonobo window12001-12-213-34/+58
| | | | | | | | | | | | 2001-12-21 <jpr@ximian.com> * gui/dialogs/comp-editor.h: inherit from bonobo window * gui/dialogs/comp-editor.c: inherit from bonobo window (comp_editor_key_press_event): Look for an escape key press and close the window if found svn path=/trunk/; revision=15202
* -- Merge fix for #17377 from the evolution-1-0-branch.Ettore Perazzoli2001-12-202-0/+9
| | | | | | * gui/main.c (main): Push GdkRGB visual and colormap. svn path=/trunk/; revision=15194
* go slow and clear the map if the last uri and the current uri do not matchJP Rosevear2001-12-1910-77/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-19 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (check_for_slow_setting): go slow and clear the map if the last uri and the current uri do not match (post_sync): save the last uri * conduits/calendar/calendar-conduit-config.h: handle a last uri config option * conduits/todo/todo-conduit-config.h: ditto * conduits/calendar/calendar-conduit.c (start_calendar_server): use the open_default_calendar method * conduits/todo/todo-conduit.c (start_calendar_server): same as above * cal-client/Makefile.am: link with bonobo conf * cal-client/cal-client.h: new protos * idl/evolution-calendar.idl: make sure open method raises appropriate exceptions * gui/e-itip-control.c (start_calendar_server): use cal_client_open_default_* calls * cal-client/cal-client.c (real_open_calendar): do the real work of loading (cal_client_open_calendar): use above (get_fall_back_uri): get the basic local uri (get_default_uri): get the default uri from the config db (cal_client_open_default_calendar): open the default uri or the fallback if the method is unsupported (cal_client_open_default_tasks): same for tasks svn path=/trunk/; revision=15179
* use get_real_item (get_refresh_options): uncomment out (get_real_item):JP Rosevear2001-12-184-41/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-17 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (send_item): use get_real_item (get_refresh_options): uncomment out (get_real_item): obtain the real object which has the uid of the item received (show_current_todo): use get_refresh_options for refresh method and provide the description and summary from the real component since its not in the reply (show_current_event): ditto (send_item): use get_real_item 2001-12-17 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (comp_limit_attendees): can't remove properties in an iteration loop, so remove them outside the loop (comp_minimal): don't set a recurid if there isn't one, add the x properties to the clone (comp_compliant): unref the clone for DECLINECOUNTER * gui/e-itip-control.c (get_refresh_options): make function available again (show_current_event): use it here (ok_clicked_cb): can't remove properties in an iteration loop, so remove them outside the loop * cal-util/cal-component.c (free_icalcomponent): properly free the attendee list (cal_component_rescan): don't destroy the alarm hash svn path=/trunk/; revision=15136
* new file to contain all timezone names for translation. We won't be usingDamon Chaplin2001-12-143-0/+393
| | | | | | | | | | | | 2001-12-13 Damon Chaplin <damon@ximian.com> * zones.h: new file to contain all timezone names for translation. We won't be using the translations in 1.0.1, but it gives translators time before we do use them in 1.0.2. * Makefile.am: added zones.h to EXTRA_DIST. svn path=/trunk/; revision=15026
* ungrab the pointer before calling e_day_view_finish_long_event_resizeJP Rosevear2001-12-133-9/+50
| | | | | | | | | | | | | | | | | 2001-12-12 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (e_day_view_on_top_canvas_button_release): ungrab the pointer before calling e_day_view_finish_long_event_resize (e_day_view_on_main_canvas_button_release): ditto (e_day_view_finish_long_event_resize): ask if the meeting should be sent (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 svn path=/trunk/; revision=15008
* properly convert the dtstart and dtend times if they are UTC (cursor_cb):JP Rosevear2001-12-124-38/+97
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (process_free_busy_comp): properly convert the dtstart and dtend times if they are UTC (cursor_cb): if we don't have anybody to get f/b info for, process the callbacks immediately (e_meeting_model_refresh_busy_periods): take start/end times, calculate the timet values with object timezone (e_meeting_model_etable_model_to_view_row): proper cast (e_meeting_model_etable_view_to_model_row): ditto (async_open): bail out if we couldn't open properly * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_update_free_busy): use defines for determining the number of days before and after of free busy to request (e_meeting_time_selector_update_dates_shown): use defines for the number of days shown * gui/e-meeting-model.h: update proto svn path=/trunk/; revision=15000
* removed code that connects to GnomeCalendar's "dates_shown_changed"Damon Chaplin2001-12-113-10/+24
| | | | | | | | | | | | | 2001-12-10 Damon Chaplin <damon@ximian.com> * gui/control-factory.c (control_factory_new_control): removed code that connects to GnomeCalendar's "dates_shown_changed" signal. * gui/calendar-commands.c (gcal_calendar_dates_change_cb): (calendar_control_activate): moved it here, so it gets reconnected whenever the control is activated. Fixes bug #15798. svn path=/trunk/; revision=14960
* fixed executable name. Fixes bug #16880.Damon Chaplin2001-12-112-1/+6
| | | | | | | | | 2001-12-10 Damon Chaplin <damon@ximian.com> * importers/GNOME_Evolution_Calendar_Importer.oaf.in: fixed executable name. Fixes bug #16880. svn path=/trunk/; revision=14955
* if we have an alarm that can be represented on the pilot, set theJP Rosevear2001-12-093-14/+137
| | | | | | | | | | | | | | | | | | | | 2001-12-08 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): if we have an alarm that can be represented on the pilot, set the appointment fields appropriately, if the duration has values for minutes and/or hours and/or days, use the lowest common denominator (comp_from_remote_record): if the appointment on the pilot has an alarm, find the first alarm an item currently had that is relative to the start and with a negative duration and update it (or create a new one if no valid ones exist) * cal-util/cal-component.c (cal_component_get_alarm_uids): build list in the order they appear in the component so we get consisting order for the gui and for the pilot svn path=/trunk/; revision=14943
* s/%/%sRodrigo Moya2001-12-082-2/+7
| | | | | | | | | 2001-12-08 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.c (calendar_config_get_default_uri): (calendar_config_get_default_tasks_uri): s/%/%s svn path=/trunk/; revision=14942
* (committed by Damon)Federico Mena Quintero2001-12-082-25/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-09 Federico Mena Quintero <federico@ximian.com> (committed by Damon) Fix bug #14699. * pcs/query.c (QueryState): Added a state QUERY_WAIT_FOR_BACKEND to indicate that the query is not populated as we are waiting for the backend to be opened. (query_init): Start in the QUERY_WAIT_FOR_BACKEND state. (query_destroy): Only disconnect from the backend if we are in a state that implies that we are connected to its signals. (query_construct): If the backend is already loaded, immediately set the state to QUERY_START_PENDING. (backend_opened_cb): Disconnect from the backend's "opened" signal. Set the state to QUERY_START_PENDING. (match_component): We can now only match components if the query is in progress or if it is done. Assert to that effect, and do not ensure_sexp(). (match_component): Do not check for a nonexistent component using g_return_if_fail(). Also, there is no need to ref/unref the component. (backend_obj_updated_cb): Assert to the effect of our state. (backend_obj_removed_cb): Likewise. (parse_sexp): Renamed from ensure_sexp(). Assert that the query has not started. Do not disconnect from the backend's signals here, since we have no connections. (start_query_cb): Set the state to QUERY_IN_PROGRESS here instead of in populate_query(). svn path=/trunk/; revision=14941
* if the key in the config database does not exist, just return the localRodrigo Moya2001-12-072-2/+27
| | | | | | | | | | | 2001-12-07 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.c (calendar_config_get_default_uri): (calendar_config_get_default_tasks_uri): if the key in the config database does not exist, just return the local URIs, but never return NULL svn path=/trunk/; revision=14930
* default component classification to PUBLICRodrigo Moya2001-12-072-3/+10
| | | | | | | | | 2001-12-06 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/event-page.c (event_page_fill_widgets): default component classification to PUBLIC svn path=/trunk/; revision=14927
* Explicitly destroy the EMeetingModel. This is a hack to work aroundJon Trowbridge2001-12-074-0/+28
| | | | | | | | | | | | | | | | | | | 2001-12-06 Jon Trowbridge <trow@ximian.com> * gui/dialogs/event-editor.c (event_editor_destroy): Explicitly destroy the EMeetingModel. This is a hack to work around problems with the reference counting; we are still leaking the EMeetingModels. * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Ref our EMeetingModel. (e_meeting_time_selector_destroy): Unref the model. * gui/e-meeting-model.c (destroy): Properly destroy corba_select_names with a call to bonobo_object_release_unref. (Fixes 14002) svn path=/trunk/; revision=14919
* added entry for the LOCATION fieldRodrigo Moya2001-12-063-2/+82
| | | | | | | | | | | 2001-12-05 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/event-page.glade: added entry for the LOCATION field * gui/dialogs/event-page.c: added support for the new LOCATION entry added in the Event editor. svn path=/trunk/; revision=14901
* Marked strings for translation.Zbigniew Chyla2001-12-062-13/+21
| | | | | | | | | 2001-12-05 Zbigniew Chyla <cyba@gnome.pl> * gui/itip-utils.c (comp_subject, comp_description): Marked strings for translation. svn path=/trunk/; revision=14890
* make sure we call e_table_model_pre_change() before changing the model.Damon Chaplin2001-12-044-8/+34
| | | | | | | | | | | | | | 2001-12-03 Damon Chaplin <damon@ximian.com> * gui/e-meeting-model.c: * gui/calendar-model.c: make sure we call e_table_model_pre_change() before changing the model. * gui/calendar-config.c (calendar_config_configure_e_calendar_table): removed call to e_table_model_changed(). calendar_model_refresh() results in that anyway. svn path=/trunk/; revision=14854
* disabled 'Alarms', 'End Date' and 'Show Time As' fields, as these are notDamon Chaplin2001-12-042-3/+9
| | | | | | | | | | 2001-12-03 Damon Chaplin <damon@ximian.com> * gui/e-calendar-table.etspec: disabled 'Alarms', 'End Date' and 'Show Time As' fields, as these are not useful for tasks. We may want to reenable them later if we add a table view of calendar events. svn path=/trunk/; revision=14853
* connect to "cal_set_mode" signal before calling cal_client_set_mode. Also,Rodrigo Moya2001-12-032-7/+13
| | | | | | | | | | | | 2001-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened): connect to "cal_set_mode" signal before calling cal_client_set_mode. Also, s/cal_mode_set/cal_set_mode (backend_go_offline): connect to "cal_opened" signal before calling cal_client_open_calendar svn path=/trunk/; revision=14848
* only show the dialog if we created it. Hopefully fixes bug #15774. AlsoDamon Chaplin2001-12-012-3/+27
| | | | | | | | | | | | | 2001-11-30 Damon Chaplin <damon@ximian.com> * gui/e-itip-control.c (remove_item): only show the dialog if we created it. Hopefully fixes bug #15774. Also ifdef'ed out a lot of code that isn't currently used, including code to use a label which is never created. The unused code was there to support handling multiple iTIP objects in a message, but was never updated when we switched to use HTML for the control. Fixes bug #16232. svn path=/trunk/; revision=14832
* Set the category of the new task to that of the search bar. Fixes bugFederico Mena Quintero2001-11-302-0/+9
| | | | | | | | | 2001-11-28 Federico Mena Quintero <federico@ximian.com> * gui/gnome-cal.c (gnome_calendar_new_task): Set the category of the new task to that of the search bar. Fixes bug #15533. svn path=/trunk/; revision=14821
* fixed typos in translatable strings. Fixes Ximian #15456Rodrigo Moya2001-11-283-2/+8
| | | | | | | | | | 2001-11-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-itip-control.c (update_attendee_status): * gui/itip-utils.c (comp_to_list): fixed typos in translatable strings. Fixes Ximian #15456 svn path=/trunk/; revision=14814
* Substituted gnome_font_get_width_string() with gnome_font_get_width_utf8()Damon Chaplin2001-11-152-8/+14
| | | | | | | | | | 2001-11-14 Damon Chaplin <damon@ximian.com> * gui/print.c: Substituted gnome_font_get_width_string() with gnome_font_get_width_utf8() and gnome_font_get_width_string_n() with gnome_font_get_width_utf8_sized(). Fixes calendar part of #15379. svn path=/trunk/; revision=14722
* Convert the buffer to UTF8. (calendar_model_value_to_string): Do notFederico Mena Quintero2001-11-152-2/+10
| | | | | | | | | | | | 2001-11-14 Federico Mena Quintero <federico@ximian.com> * gui/calendar-model.c (date_value_to_string): Convert the buffer to UTF8. (calendar_model_value_to_string): Do not convert the string fields to UTF8 again; they are already in UTF8. Fixes the UTF8-related bits of bug #15304. svn path=/trunk/; revision=14710
* #ifdef'ed out the LOCATION field for now, since it wasn't supportedDamon Chaplin2001-11-153-0/+16
| | | | | | | | | | 2001-11-14 Damon Chaplin <damon@ximian.com> * gui/calendar-model.c: * cal-util/cal-component.h: #ifdef'ed out the LOCATION field for now, since it wasn't supported everywhere, or in the .etspec file. svn path=/trunk/; revision=14709
* don't abort when e_table_selected_count() returns odd values. There seemsDamon Chaplin2001-11-152-4/+14
| | | | | | | | | | 2001-11-14 Damon Chaplin <damon@ximian.com> * gui/e-calendar-table.c: don't abort when e_table_selected_count() returns odd values. There seems to be a bug in ETable. This is to avoid bug #13843. svn path=/trunk/; revision=14705
* (committed to CVS by Damon) Fixes bug #15137.Federico Mena Quintero2001-11-153-13/+144
| | | | | | | | | | | | | | | | | | | | 2001-11-13 Federico Mena Quintero <federico@ximian.com> (committed to CVS by Damon) Fixes bug #15137. * gui/e-day-view.c (e_day_view_on_delete_appointment): Do not try to operate on the event if it gets deleted while stopping the edition. (e_day_view_on_event_double_click): Likewise. (e_day_view_on_long_event_button_press): Likewise. (e_day_view_on_event_button_press): Likewise. (e_day_view_on_long_event_click): Likewise. (e_day_view_on_event_click): Likewise. * gui/e-week-view.c (e_week_view_on_text_item_event): Likewise. svn path=/trunk/; revision=14701
* remove silly debug warningJP Rosevear2001-11-152-2/+5
| | | | | | | | | 2001-11-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (pre_sync): remove silly debug warning svn path=/trunk/; revision=14697
* make the timezone default to UTC. Fixes bug #14362.Damon Chaplin2001-11-145-25/+36
| | | | | | | | | | | | 2001-11-13 Damon Chaplin <damon@ximian.com> * gui/alarm-notify/config-data.c (ensure_inited): * gui/calendar-config.c (config_read): * conduits/todo/todo-conduit.c (get_default_timezone): * conduits/calendar/calendar-conduit.c (get_default_timezone): make the timezone default to UTC. Fixes bug #14362. svn path=/trunk/; revision=14691
* only change the day, month and year for the start date, for not screwingRodrigo Moya2001-11-133-61/+81
| | | | | | | | | | | | | | 2001-11-13 Rodrigo Moya <rodrigo@ximian.com> * gui/e-week-view.c (selection_received): only change the day, month and year for the start date, for not screwing up the start time, which was being set to midnight always (Fixes Ximian #5287) Also, deal correctly with VCALENDAR components * gui/e-day-view.c (selection_received): dela correctly with VCALENDAR components being pasted svn path=/trunk/; revision=14684
* The last argument to the bonobo_config_get_XXX_with_default() is aFederico Mena Quintero2001-11-122-14/+15
| | | | | | | | | | 2001-11-11 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): The last argument to the bonobo_config_get_XXX_with_default() is a gboolean *, not a CORBA_Environment *. Fixes bug #14655. svn path=/trunk/; revision=14671
* recurrence expansion callback for free/busy (create_user_free_busy):JP Rosevear2001-11-122-18/+51
| | | | | | | | | | | 2001-11-11 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c (free_busy_instance): recurrence expansion callback for free/busy (create_user_free_busy): expand recurrences and use date/time values for dtstart and dtend svn path=/trunk/; revision=14670
* new protosJP Rosevear2001-11-124-20/+68
| | | | | | | | | | | | | | | | | 001-11-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.h: new protos * gui/e-meeting-model.c (e_meeting_model_get_zone): accessor (e_meeting_model_set_zone): ditto (init): init to the calendar default zone (process_free_busy_comp): take the zone to convert to as a param (e_meeting_model_refresh_busy_periods): redraw properly * gui/dialogs/schedule-page.c (update_time): set the zone of the model svn path=/trunk/; revision=14669
* don't subtract a day from DTEND. For DATE values we don't include theDamon Chaplin2001-11-102-2/+6
| | | | | | | | | | 2001-11-09 Damon Chaplin <damon@ximian.com> * gui/e-week-view.c (e_week_view_key_press): don't subtract a day from DTEND. For DATE values we don't include the entire day now. Fixes bug #14842. svn path=/trunk/; revision=14651
* fix buffer overflow. Fixes bug #10285 (the printing of lines & dates inDamon Chaplin2001-11-102-1/+7
| | | | | | | | | | 2001-11-09 Damon Chaplin <damon@ximian.com> * gui/e-week-view-layout.c (e_week_view_layout_events): fix buffer overflow. Fixes bug #10285 (the printing of lines & dates in the printout of the month view). svn path=/trunk/; revision=14650
* Convert strings to GTK+ encoding. (meeting_page_destroy): Free allocatedChyla Zbigniew2001-11-102-2/+12
| | | | | | | | | * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Convert strings to GTK+ encoding. (meeting_page_destroy): Free allocated strings before freeing the list itself. svn path=/trunk/; revision=14647
* don't let an empty event occur for all days when auto scrollingJP Rosevear2001-11-092-0/+16
| | | | | | | | | | 2001-11-08 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_timeout_handler): don't let an empty event occur for all days when auto scrolling svn path=/trunk/; revision=14640
* don't leak the string returned by cal_component_get_as_string nor theRodrigo Moya2001-11-092-1/+14
| | | | | | | | | | | 2001-11-08 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_compute_changes_foreach_key): don't leak the string returned by cal_component_get_as_string nor the temporary CalComponent we create svn path=/trunk/; revision=14629
* don't add the item, remove it if declining (in case it was added before)JP Rosevear2001-11-082-4/+9
| | | | | | | | | | | 2001-11-08 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (ok_clicked_cb): don't add the item, remove it if declining (in case it was added before) (remove_item): Since we can't discern between an item not found and another error, always say the removal is complete svn path=/trunk/; revision=14625
* Convert generated string to UTF-8.Chyla Zbigniew2001-11-082-1/+6
| | | | | | | * gui/e-cell-date-edit-text.c (ecd_get_text): Convert generated string to UTF-8. svn path=/trunk/; revision=14624
* emit changed signal (e_meeting_time_selector_on_end_time_changed): emitJP Rosevear2001-11-082-18/+60
| | | | | | | | | | | | | | | | | | 2001-11-07 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_start_time_changed): emit changed signal (e_meeting_time_selector_on_end_time_changed): emit changed signal, if end time is now before start time and all day event, make sure a whole day is still selected (e_meeting_time_selector_drag_meeting_time): calculate the first and last_time's in whole days for all day events (e_meeting_time_selector_timeout_handler): calculate the drag time to be whole days for all day events and scroll the canvas even if we don't update the time so the user can see where they're headed svn path=/trunk/; revision=14617
* make sure to remove all attendees from the model when we edit a new comp,JP Rosevear2001-11-074-10/+34
| | | | | | | | | | | | | | | | 2001-11-06 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): make sure to remove all attendees from the model when we edit a new comp, append the pages if they are needed and we weren't showing them before * gui/dialogs/task-editor.c (task_editor_edit_comp): same as above * gui/dialogs/comp-editor.c (comp_editor_remove_page): check for a return value indicating the page was not found and return if so svn path=/trunk/; revision=14615
* <ettore> ok so <ettore> should I build this tarball again? ettore doesn'tDan Winship2001-11-063-1/+8
| | | | | | | | | <ettore> ok so <ettore> should I build this tarball again? * ettore doesn't think so <ettore> I have checked it already earlier today svn path=/trunk/; revision=14607
* add a changed signal (e_meeting_time_selector_construct): emit changedJP Rosevear2001-11-066-73/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-05 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_class_init): add a changed signal (e_meeting_time_selector_construct): emit changed signal (e_meeting_time_selector_set_meeting_time): ditto (e_meeting_time_selector_set_all_day): set the all day setting (e_meeting_time_selector_autopick): emit changed signal (e_meeting_time_selector_find_nearest_interval): find proper interval when in all day mode (e_meeting_time_selector_find_nearest_interval_backward): ditto (e_meeting_time_selector_drag_meeting_time): for all day events, move the time when past the 12 hour mark, and and always make sure 1 full day is selected, emit changed signal when appropriate (e_meeting_time_selector_update_start_date_edit): set date and time of day together (e_meeting_time_selector_update_end_date_edit): ditto, and adjust display time if all day event * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_draw): remove unused variable (e_meeting_time_selector_item_button_press): for all day mode, make the interval a whole day * gui/dialogs/schedule-page.c (update_time): set the meeting time selector setting instead of manual mucking with the e-date-edit widgets (init_widgets): listen to the changed signal of the meeting time selector instead of propagating multiple events as it updates * gui/dialogs/event-page.c (update_time): block time zone change signals svn path=/trunk/; revision=14601
* removed ';' in the wrong place. Fixes bug #14421.Damon Chaplin2001-11-062-1/+6
| | | | | | | | | 2001-11-05 Damon Chaplin <damon@ximian.com> * gui/calendar-model.c (dup_date_edit_value): removed ';' in the wrong place. Fixes bug #14421. svn path=/trunk/; revision=14600
* -export-dynamic for libglade custom widget.Dan Winship2001-11-052-0/+7
| | | | | | | * gui/alarm-notify/Makefile.am (evolution_alarm_notify_LDFLAGS): -export-dynamic for libglade custom widget. svn path=/trunk/; revision=14588
* use TZID from the builtin timezone, instead of using the location name.Damon Chaplin2001-11-052-1/+10
| | | | | | | | | 2001-11-04 Damon Chaplin <damon@ximian.com> * gui/comp-editor-factory.c (get_default_component): use TZID from the builtin timezone, instead of using the location name. svn path=/trunk/; revision=14584
* Short-circuit the calculation of the repeat time if there are zeroFederico Mena Quintero2001-11-032-4/+14
| | | | | | | | | | | 2001-11-02 Federico Mena Quintero <federico@ximian.com> * cal-util/cal-util.c (compute_alarm_range): Short-circuit the calculation of the repeat time if there are zero repetitions. (compute_alarm_range): I'm a moron. De-reference alarm_start when subtracting stuff from it! Fixes bug #14209. svn path=/trunk/; revision=14572
* Argh, missing commit from yesterday to fix building of the tarball.Ettore Perazzoli2001-11-021-1/+1
| | | | svn path=/trunk/; revision=14563
* Added rules to generate `Evolution-Addressbook-SelectNames.h'.Ettore Perazzoli2001-11-012-18/+40
| | | | | | | * gui/dialogs/Makefile.am: Added rules to generate `Evolution-Addressbook-SelectNames.h'. svn path=/trunk/; revision=14549
* #include <string.h>Federico Mena Quintero2001-10-312-0/+5
| | | | | | | | 2001-10-31 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/alarm-options.c: #include <string.h> svn path=/trunk/; revision=14540
* If a query is not in progress, just retag the whole thing. An event mayFederico Mena Quintero2001-10-313-41/+67
| | | | | | | | | | | | | | | | | | | | 2001-10-31 Federico Mena Quintero <federico@ximian.com> * gui/gnome-cal.c (dn_query_obj_updated_cb): If a query is not in progress, just retag the whole thing. An event may change dates and tag_calendar_by_comp() would not know how to untag the old dates. Fixes bug #10220. * pcs/query.c (start_query_cb): Connect to the backend's "obj_updated" and "obj_removed" signals here instead of in query_construct(). If a query is started while another one is notifying of an update, these signal connections would get appened to the running signal (the one that triggered the notification about an update) and the new signal handlers would also get called. We are really not interested in updates before we populate the query, because we'll catch the changes anyways. svn path=/trunk/; revision=14533
* Fix bug #13723.Federico Mena Quintero2001-10-316-90/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-31 Federico Mena Quintero <federico@ximian.com> Fix bug #13723. * gui/gnome-cal.h (GnomeCalendarClass): New signals "calendar_focus_change", "taskpad_focus_change", and "taskpad_selection_changed". Renamed "selection_changed" to "calendar_selection_changed". * gui/gnome-cal.c (gnome_calendar_get_num_tasks_selected): New function. (setup_widgets): Connect to the focus event signals of the task pad and the calendar view widgets. (gnome_calendar_delete_selection): Renamed from gnome_calendar_delete_event(). (gnome_calendar_cut_clipboard): Handle the current focus location. (gnome_calendar_copy_clipboard): Likewise. (gnome_calendar_paste_clipboard): Likewise. (gnome_calendar_delete_selection): Likewise. (table_selection_change_cb): New callback. * gui/calendar-commands.c (sensitize_calendar_commands): Take in whether we should unconditionally disable everything. (sensitize_taskpad_commands): Analogous function to the above. (gcal_calendar_focus_change_cb): New callback, used for calendar views. (gcal_taskpad_focus_change_cb): New callback, used for the taskpad. * gui/e-day-view.c (e_day_view_key_press): Use a better test for keys that should start editing. Fixes bug #6447. * gui/e-week-view.c (e_week_view_key_press): Likewise. svn path=/trunk/; revision=14528
* Make the pre_changes and changes match here.Christopher James Lahey2001-10-312-0/+7
| | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * gui/calendar-model.c: Make the pre_changes and changes match here. svn path=/trunk/; revision=14527
* send as mixed rather than alternativeJP Rosevear2001-10-312-1/+6
| | | | | | | | | 2001-10-31 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): send as mixed rather than alternative svn path=/trunk/; revision=14521
* Removed. (KEY_NUM_CALENDARS_TO_LOAD): New key, containing the number ofEttore Perazzoli2001-10-312-64/+42
| | | | | | | | | | | | | | * gui/alarm-notify/save.c (KEY_CALENDARS_TO_LOAD): Removed. (KEY_NUM_CALENDARS_TO_LOAD): New key, containing the number of calendars to load. (BASE_KEY_CALENDAR_TO_LOAD): New base key name for the URIs of the calendars to load. (save_calendars_to_load): Rewrote to not use a sequence, to work around an ORBit bug that causes bonobo-moniker-xmldb to crash. (get_calendars_to_load): Likewise. svn path=/trunk/; revision=14520
* disconnect signals added in append_page(). Fixes Gtk-Critical warningDamon Chaplin2001-10-312-0/+11
| | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_remove_page): disconnect signals added in append_page(). Fixes Gtk-Critical warning about GtkAccelGroup being added twice to a window. svn path=/trunk/; revision=14518
* set a body for the messageJP Rosevear2001-10-312-1/+11
| | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): set a body for the message svn path=/trunk/; revision=14514
* call GNOME_Evolution_Composer_setMultipartType to get aDan Winship2001-10-312-0/+12
| | | | | | | | * gui/itip-utils.c (itip_send_comp): call GNOME_Evolution_Composer_setMultipartType to get a multipart/alternative. svn path=/trunk/; revision=14511
* Revert.JP Rosevear2001-10-311-12/+1
| | | | svn path=/trunk/; revision=14508
* don't overwrite memory (e_meeting_time_selector_on_end_time_changed):JP Rosevear2001-10-313-3/+27
| | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_start_time_changed): don't overwrite memory (e_meeting_time_selector_on_end_time_changed): ditto svn path=/trunk/; revision=14506
* return NULL if passed NULL. Should fix bug #14048.Damon Chaplin2001-10-312-0/+8
| | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/calendar-model.c (dup_date_edit_value): return NULL if passed NULL. Should fix bug #14048. svn path=/trunk/; revision=14501
* Do not ignore the exceptions of the cases that do not have defaults.Federico Mena Quintero2001-10-312-3/+29
| | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/calendar-config.c (config_read): Do not ignore the exceptions of the cases that do not have defaults. svn path=/trunk/; revision=14496
* if we are doing all day stuff, make the drag increment 1 day at a timeJP Rosevear2001-10-312-7/+21
| | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_drag_meeting_time): if we are doing all day stuff, make the drag increment 1 day at a time svn path=/trunk/; revision=14492
* Add _() to a string that was missing it.Federico Mena Quintero2001-10-312-1/+6
| | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_component): Add _() to a string that was missing it. svn path=/trunk/; revision=14491
* Commit the ETable click-to-add for if the dialog is being destroyed.Federico Mena Quintero2001-10-312-1/+29
| | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/meeting-page.c (table_canvas_focus_out_cb): Commit the ETable click-to-add for if the dialog is being destroyed. Should fix bug #13959. svn path=/trunk/; revision=14481
* Allocate enough space for the string! (was missing the null terminator)Federico Mena Quintero2001-10-312-2/+8
| | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/itip-utils.c (itip_send_comp): Allocate enough space for the string! (was missing the null terminator) Possibly fixes #13924. Thanks a *LOT* to Michael Zucchi for running this through Purify. svn path=/trunk/; revision=14477
* move in whole day increments if we are in all day modeJP Rosevear2001-10-315-43/+65
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_button_press): move in whole day increments if we are in all day mode * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_start_time_changed): get rid of localtime call (e_meeting_time_selector_on_end_time_changed): ditto (e_meeting_time_selector_update_start_date_edit): set the date editor using the meeting time fields directly (e_meeting_time_selector_update_end_date_edit): ditto * gui/dialogs/schedule-page.c (update_time): do the set_show_time stuff first * conduits/calendar/calendar-conduit.c (process_multi_day): don't adjust the time, set the default timezone for date values svn path=/trunk/; revision=14475
* s/BONOBO_HTML_GNOME_LIBS/BONOBO_HTML_GNOME_CFLAGS/Dan Winship2001-10-312-2/+6
| | | | | | | * gui/alarm-notify/Makefile.am (INCLUDES): s/BONOBO_HTML_GNOME_LIBS/BONOBO_HTML_GNOME_CFLAGS/ svn path=/trunk/; revision=14467
* Oops.JP Rosevear2001-10-311-1/+29
| | | | svn path=/trunk/; revision=14464
* count the actual attendees (doesn't include people delegatingJP Rosevear2001-10-315-20/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (e_meeting_model_count_actual_attendees): count the actual attendees (doesn't include people delegating * gui/e-meeting-time-sel.c: use e_meeting_model_count_actual_attendees (renamed) * gui/e-meeting-time-sel-item.c: use e_meeting_model_etable_view_to_model_row calls instead of calling on the model directly, use e_meeting_model_count_actual_attendees * gui/e-meeting-model.c (e_meeting_model_etable_model_to_view_row): get the real mapping (e_meeting_model_etable_view_to_model_row): ditto (get_key): e-table-without callback (duplicate_key): ditto (free_gotten_key): ditto (free_duplicated_key): ditto (init): create without model (e_meeting_model_etable_from_model): build etable from without model * gui/e-meeting-model.h: update protos * gui/dialogs/meeting-page.c (right_click_cb): convert row from view to model row svn path=/trunk/; revision=14462
* set to the default timezone for DATE values, in case the user switches toDamon Chaplin2001-10-302-10/+14
| | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): set to the default timezone for DATE values, in case the user switches to a DATE-TIME. svn path=/trunk/; revision=14461
* handle DATE values for Start and Due dates.Damon Chaplin2001-10-302-30/+64
| | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c: handle DATE values for Start and Due dates. svn path=/trunk/; revision=14460
* updated code to handle DATE values.Damon Chaplin2001-10-3011-58/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/schedule-page.c: * gui/dialogs/event-page.c: * gui/dialogs/comp-editor-util.c: updated code to handle DATE values. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): * gui/e-day-view.c (e_day_view_key_press): updated DATE code. * gui/e-cell-date-edit-text.c: * gui/calendar-model.c: updated to support DATE values. * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): updated to use DATE values in same way as Outlook - i.e. the DTEND date is not included entirely. Though I did make it so that if the DTSTART and DTEND used the same DATE value, it includes the entire day. So 1-day events should be the same. Long All-Day events will be 1 day shorter. * cal-util/cal-component.c (cal_component_get_start_plus_duration): don't subtract a day from the end date. * gui/tasks-control.c: updated the EPixmap paths for Cut/Copy etc. Removed Print & Print Preview paths, since we don't have menu commands for these any more. svn path=/trunk/; revision=14456
* Fix bug #10016.Federico Mena Quintero2001-10-304-151/+153
| | | | | | | | | | | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> Fix bug #10016. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): Use bonobo_ui_util_set_ui() instead of doing things by hand. Hmmm, if only that function had a way of telling us whether it failed so that we could avoid setting the verb list... * gui/dialogs/event-editor.c (event_editor_init): Do not pass the filename with the full path so that Bonobo can find it in a smart way. * gui/dialogs/task-editor.c (task_editor_init): Likewise. svn path=/trunk/; revision=14447
* Use an EMessageBox instead of a gnome_dialog_question so that the labelFederico Mena Quintero2001-10-3013-89/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Use an EMessageBox instead of a gnome_dialog_question so that the label gets line breaking. Fixes bug #11260. 2001-10-29 Federico Mena Quintero <federico@ximian.com> Fix bug #13649. * gui/calendar-config.c (calendar_config_get_use_default_reminder): New function. (calendar_config_set_use_default_reminder): New function. (calendar_config_get_default_reminder_interval): New function. (calendar_config_set_default_reminder_interval): New function. (calendar_config_get_default_reminder_units): New function. (calendar_config_set_default_reminder_units): New function. (config_read): Get the options for default reminders. (calendar_config_write): Set the options for default reminders. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config): Set the default reminder widgets from the config values. (cal_prefs_dialog_update_config): Set the config values from the widgets. * gui/comp-util.c (cal_comp_event_new_with_defaults): New function; creates a VEVENT component with the default alarm. * gui/e-day-view.c (e_day_view_key_press): Use cal_comp_event_new_with_defaults (); * gui/e-week-view.c (e_week_view_key_press): Likewise. * gui/calendar-model.c (calendar_model_append_row): Likewise. * gui/comp-editor-factory.c (get_default_component): Likewise. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): Likewise. * cal-util/cal-component.c (ensure_alarm_properties_cb): Ensure we have a DESCRIPTION property. (cal_component_commit_sequence): Ensure we have the mandatory alarm properties. svn path=/trunk/; revision=14446
* process an individual section here (select_names_ok_cb): call aboveJP Rosevear2001-10-303-84/+123
| | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (process_section): process an individual section here (select_names_ok_cb): call above (get_select_name_dialog): listen for ok:dialog signal svn path=/trunk/; revision=14438
* Require gal 0.15.99.8Joe Shaw2001-10-306-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* use libical-evolution.laDamon Chaplin2001-10-3011-33/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * importers/Makefile.am (evolution_calendar_importer_LDADD): * gui/Makefile.am (evolution_calendar_LDADD): * cal-util/Makefile.am (test_recur_LDADD): * cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la * gui/dialogs/schedule-page.c: save the timezone passed in for the start time, so if our times are changed we use this. Also, if the end time was passed in in a different timezone, convert it. Also hide the time fields for DATE values. Note that DATE values still do not work. * gui/dialogs/meeting-page.glade: changed "Invite Others" to "Invite Others..." to be consistent with the other page. * gui/dialogs/event-page.c (times_updated): (all_day_event_toggled_cb): set is_date if appropriate. * gui/e-itip-control.c (write_label_piece): convert all UTC times to the current timezone. Outlook sends simple, non-recurring, events as UTC times, which isn't very useful. svn path=/trunk/; revision=14397
* Launch the alarm daemon as soon as the calendar component is started.Federico Mena Quintero2001-10-302-0/+37
| | | | | | | | | | 2001-10-29 Federico Mena Quintero <federico@ximian.com> * gui/main.c (launch_alarm_daemon): Launch the alarm daemon as soon as the calendar component is started. Fixes bug #13867; we can't really do much better than this. svn path=/trunk/; revision=14389
* Fix the verb names for the pixmaps in the Edit menu; they were out ofFederico Mena Quintero2001-10-302-4/+10
| | | | | | | | | | 2001-10-29 Federico Mena Quintero <federico@ximian.com> * gui/tasks-control.c (pixmaps): Fix the verb names for the pixmaps in the Edit menu; they were out of synch with the XML UI description. svn path=/trunk/; revision=14380
* new function. (dump_backend): new function.Chris Toshok2001-10-303-0/+34
| | | | | | | | | | | | | 2001-10-29 Chris Toshok <toshok@ximian.com> * pcs/cal-factory.c (cal_factory_dump_active_backends): new function. (dump_backend): new function. * pcs/cal-factory.h: add prototype for cal_factory_dump_active_backends. svn path=/trunk/; revision=14374
* Fix bug #12163.Federico Mena Quintero2001-10-304-55/+119
| | | | | | | | | | | | | | | | 2001-10-29 Federico Mena Quintero <federico@ximian.com> Fix bug #12163. * cal-util/cal-util.c (compute_alarm_range): Take alarm repetitions into account. (add_alarm_occurrences_cb): Add alarm repetitions. (generate_absolute_triggers): Likewise. (generate_absolute_triggers): Oops, absolute triggers are in UTC, so convert them as such. Also, pay attention to the timezones of the dtstart and dtend properties. svn path=/trunk/; revision=14369
* include the header as a source so it gets dist'ed.JP Rosevear2001-10-302-0/+6
| | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * importers/Makefile.am: include the header as a source so it gets dist'ed. svn path=/trunk/; revision=14366
* s/BONOBO_CFLAGS/BONOBO_GNOME_CFLAGS/.Ettore Perazzoli2001-10-302-1/+6
| | | | | | | * importers/Makefile.am (INCLUDES): s/BONOBO_CFLAGS/BONOBO_GNOME_CFLAGS/. svn path=/trunk/; revision=14363
* fixed URI construction, which was preventing importing into the rootRodrigo Moya2001-10-302-2/+11
| | | | | | | | | | 2001-10-29 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn): fixed URI construction, which was preventing importing into the root calendar (~/evo/local/Calendar/) svn path=/trunk/; revision=14358
* handle date valuesJP Rosevear2001-10-302-1/+9
| | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (is_all_day): handle date values svn path=/trunk/; revision=14357
* Forgot this oneRodrigo Moya2001-10-301-1/+1
| | | | svn path=/trunk/; revision=14355
* added evolution-calendar-importer binary, starting with an iCalendar fileRodrigo Moya2001-10-307-0/+430
| | | | | | | | | 2001-10-29 Rodrigo Moya <rodrigo@ximian.com> * importers/: added evolution-calendar-importer binary, starting with an iCalendar file importer svn path=/trunk/; revision=14354
* get the management object by idJP Rosevear2001-10-304-3/+10
| | | | | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit-config.h (todoconduit_load_configuration): get the management object by id * conduits/calendar/calendar-conduit-config.h (calconduit_load_configuration): ditto svn path=/trunk/; revision=14353
* new functions for setting and retrieving the default calendar URIsRodrigo Moya2001-10-304-9/+101
| | | | | | | | | | | | | | | | | | | | 2001-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.[ch] (calendar_config_get_default_uri): (calendar_config_set_default_uri): (calendar_config_get_default_tasks_uri): (calendar_config_set_default_tasks_uri): new functions for setting and retrieving the default calendar URIs * gui/e-itip-control.c (init): don't use hard-coded URI, but use the default calendar URI, as returned by calendar_config_get_default_uri (start_calendar_server): added a "gboolean tasks" parameter, so that the local tasks.ics file is used if the calendar to be started is for tasks when no default tasks URI is found in the configuration svn path=/trunk/; revision=14345
* unref the comp when finishedJP Rosevear2001-10-295-21/+14
| | | | | | | | | | | 2001-10-28 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (add_record): unref the comp when finished * conduits/todo/todo-conduit.c (add_record): ditto svn path=/trunk/; revision=14316
* added break statements after each case, when setting the classification.Damon Chaplin2001-10-292-0/+12
| | | | | | | | | | 2001-10-28 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): added break statements after each case, when setting the classification. Fixes bug #13772. svn path=/trunk/; revision=14307
* removed this function, as we don't need to unref at all the WombatClientRodrigo Moya2001-10-292-25/+15
| | | | | | | | | | | | 2001-10-28 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (destroy_wombat_client): removed this function, as we don't need to unref at all the WombatClient object, since it is aggregated to the CalListener object, which will take care of unrefing it (Fixes Ximian #12001) (cal_client_open_calendar): create the WombatClient here svn path=/trunk/; revision=14306
* get the tasks directly from the CalendarModel, so we get the filtering &Damon Chaplin2001-10-298-84/+113
| | | | | | | | | | | | | | | | | | | | | 2001-10-28 Damon Chaplin <damon@ximian.com> * gui/print.c (print_todo_details): get the tasks directly from the CalendarModel, so we get the filtering & sorting for free. Fixes bug #10280. Hmm. This seems too easy. It isn't going to work is it... * gui/gnome-cal.c (gnome_calendar_get_task_pad): new function to get the TaskPad ECalendarTable, for printing. * gui/calendar-model.c: * gui/calendar-config.c (calendar_config_get_hide_completed_tasks_sexp): split this out from calendar-model.c so we could use it for printing, but ended up doing that a different way. * gui/dialogs/task-page.c (init_widgets): removed a duplicated signal connected to field_changed_cb(). svn path=/trunk/; revision=14302
* when the week start day is set to Sunday, we have to be careful to makeDamon Chaplin2001-10-287-51/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-27 Damon Chaplin <damon@ximian.com> * gui/print.c (print_week_view): (range_selector_new): when the week start day is set to Sunday, we have to be careful to make sure we print the correct week, since the previous Saturday is actually printed first. Fixes bug #13687. (print_week_summary): always set compress_weekend to true if multi_week_view is FALSE (i.e. we are printing the week view). Fixes bug #13688. * gui/e-itip-control.c (send_freebusy): use the timezones from the DTSTART and DTEND. (write_label_piece): output the date-time and the timezone after it. Note that we may want to convert it to the current timezone and display that as well. Also converted COMPLETED to the current timezone. And fixed all uses of old timezone functions. * gui/dialogs/comp-editor.c (commit_all_fields): added function to set the focus in the window to NULL, so all fields lose their focus, so they emit "changed" signals and update their values if needed. We call this when most menu commands are used, e.g. 'Save and Close', 'Print' etc. Fixes bug #11434. In future we should also check fields are valid and show dialogs if they are not. * gui/calendar-model.c (get_completed): use the completed value properly. Fixes bug #13694. * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): don't check from_zone and to_zone != NULL. A NULL zone is valid, it is for floating times. svn path=/trunk/; revision=14266
* Cancel editing if the user presses Escape.Federico Mena Quintero2001-10-283-0/+75
| | | | | | | | | | | | | 2001-10-27 Federico Mena Quintero <federico@ximian.com> * gui/e-day-view.c (e_day_view_on_text_item_event): Cancel editing if the user presses Escape. * gui/e-week-view.c (e_week_view_on_text_item_event): Likewise. * gui/cal-search-bar.c: #include <string.h> svn path=/trunk/; revision=14245
* More fixing of the license texts.Ettore Perazzoli2001-10-282-18/+18
| | | | svn path=/trunk/; revision=14242
* Delete appointments with empty summaries. Fixes Ximian bug #780.Federico Mena Quintero2001-10-2812-14/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-27 Federico Mena Quintero <federico@ximian.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): Delete appointments with empty summaries. Fixes Ximian bug #780. * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise. * gui/dialogs/delete-comp.c (delete_component_dialog): Added an argument to specify whether we unconditionally want single components to be considered as not having a summary. * gui/comp-util.c (cal_comp_confirm_delete_empty_comp): New function. * gui/misc.[ch]: New files with miscellaneous utility functions; moved string_is_empty() over from calendar-model.c. * gui/calendar-model.c: Use the string_is_empty() function from misc.c. * gui/Makefile.am (evolution_calendar_SOURCES): Added misc.[ch] to the list of sources. svn path=/trunk/; revision=14233
* Fixing the license text.Ettore Perazzoli2001-10-28122-488/+366
| | | | svn path=/trunk/; revision=14214
* Fixing the license text.Ettore Perazzoli2001-10-2860-60/+0
| | | | svn path=/trunk/; revision=14211
* touch on lookup (check_for_slow_setting): write touched only if slow syncJP Rosevear2001-10-273-13/+30
| | | | | | | | | | | | | | | | | 2001-10-27 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): touch on lookup (check_for_slow_setting): write touched only if slow sync (match): touch on lookup * conduits/calendar/calendar-conduit.c (local_record_from_comp): touch the record on lookup (check_for_slow_setting): write touched only if slow sync (pre_sync): don't touch on lookup (match): touch on lookup svn path=/trunk/; revision=14210
* remove the merges as valid sync typesJP Rosevear2001-10-277-18/+53
| | | | | | | | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/e-calendar.conduit.in: remove the merges as valid sync types * conduits/todo/e-todo.conduit.in: as above * conduits/calendar/calendar-conduit.c (pre_sync): write out only the touched records if we are doing copies * conduits/todo/todo-conduit.c: as above * conduits/calendar/calendar-conduit-config.h (calconduit_load_configuration): get the sync type * conduits/todo/todo-conduit-config.h: as above svn path=/trunk/; revision=14198
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2759-118/+118
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | explicitly. svn path=/trunk/; revision=14188
* convert the formatted date to UTF-8.Damon Chaplin2001-10-2719-84/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Damon Chaplin <damon@ximian.com> * gui/e-itip-control.c (write_label_piece): convert the formatted date to UTF-8. * cal-util/cal-recur.c (CAL_OBJ_DEBUG): turn off debug functions. * gui/dialogs/comp-editor-util.c (parse_contact_string): handle UTF8 correctly. Bug #4450. Good enough for 1.0. * gui/e-week-view-event-item.c (e_week_view_draw_time): set the gc color before drawing. Should fix bug #11469. * gui/dialogs/task-editor.c (task_editor_edit_comp): show or hide the meeting page as appropriate. Note this may be called more than once, if the task gets updated somewhere else and the user clicks 'Update the object'. Hopefully fixes bug #12930. * gui/print.c (print_comp_item): printed more fields and made a little prettier. Fixes bug #9352. (print_date_label): used the correct timezones for each date field. * *.c: removed several debug messages. svn path=/trunk/; revision=14187
* make debug output more accurateJP Rosevear2001-10-273-20/+23
| | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (check_for_slow_setting): make debug output more accurate * conduits/todo/todo-conduit.c (check_for_slow_setting): ditto svn path=/trunk/; revision=14156
* remove the uid from the map if was archived and is now deletedJP Rosevear2001-10-273-2/+13
| | | | | | | | | | | 001-10-26 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (pre_sync): remove the uid from the map if was archived and is now deleted * conduits/calendar/calendar-conduit.c: ditto svn path=/trunk/; revision=14151
* added status bar messagesRodrigo Moya2001-10-274-0/+35
| | | | | | | | | | | | | | | 2001-10-26 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar_table.c (delete_selected_components): (selection_received): added status bar messages * gui/e-day-view.c (e_day_view_cut_clipboard): (selection_received): likewise * gui/e-week-view.c (e_week_view_cut_clipboard): (selection_received): likewise svn path=/trunk/; revision=14149
* modify fieldsJP Rosevear2001-10-266-439/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.h: modify fields * conduits/todo/todo-conduit.h: as above * conduits/calendar/calendar-conduit.c (print_remote): free the struct after use (e_calendar_context_new): explicitly init context fields (e_calendar_context_destroy): free local records and properly free changed hash elements (start_calendar_server_cb): tidy (start_calendar_server): ditto (free_local): free a local record (local_record_to_pilot_record): use a static buffer to avoid leaks (local_record_from_comp): only copy over alarm stuff from the original record, we sync everything else (local_record_from_uid): unref the comp when we are done (pre_sync): free change_id (post_sync): ditto (for_each): track locals (for_each_modified): ditto (free_match): use free_local * conduits/todo/todo-conduit.c: as above svn path=/trunk/; revision=14139
* Get a fresh CORBA_Environment for every CORBA call. Hopefully will fixFederico Mena Quintero2001-10-262-1/+13
| | | | | | | | | | | 2001-10-26 Federico Mena Quintero <federico@ximian.com> * pcs/cal.c (cal_construct): Get a fresh CORBA_Environment for every CORBA call. Hopefully will fix #11978, but I'm not sure about what else could be happening. (cal_get_password): Free the exception. svn path=/trunk/; revision=14126
* used functions to get PUBLISH_OPTIONS etc., so we can translate them.Damon Chaplin2001-10-262-23/+125
| | | | | | | | | 2001-10-25 Damon Chaplin <damon@ximian.com> * gui/e-itip-control.c: used functions to get PUBLISH_OPTIONS etc., so we can translate them. svn path=/trunk/; revision=14115
* added bug numberDamon Chaplin2001-10-261-1/+1
| | | | svn path=/trunk/; revision=14109
* subtract 1 from any positive BYSETPOS value, since our array is 0-based.Damon Chaplin2001-10-2616-65/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-25 Damon Chaplin <damon@ximian.com> * cal-util/cal-recur.c (cal_obj_bysetpos_filter): subtract 1 from any positive BYSETPOS value, since our array is 0-based. * gui/dialogs/recurrence-page.c (simple_recur_to_comp): (recurrence_page_fill_widgets): Outlook (2000) will not accept monthly recurrences like BYDAY=2TU. Instead it uses BYDAY=TU;BYSETPOS=2. So to be compatable with it we now do the same, although we still accept and convert the old format. * cal-client/cal-client.c (cal_client_get_component_as_string): new function to return a complete VCALENDAR string containing a VEVENT or VTODO with all the VTIMEZONEs it uses. * gui/dialogs/comp-editor.c (save_as_ok): use above function so we save the VTIMEZONE data with the VEVENT/VTODO. Fixes bug #????. Also made sure we output "METHOD:PUBLISH" since Outlook (2000) will not import it otherwise. * gui/dialogs/comp-editor.c (page_mapped_cb): (page_unmapped_cb): install/uninstall the GtkAccelGroup for the page. (comp_editor_append_page): connect to the map/unmap signals to install/uninstall the accelerators. (This is all for bug #11609, though of course it doesn't work too well in GTK+ 1.2 anyway.) * gui/dialogs/task-page.c (get_widgets): * gui/dialogs/task-details-page.c (get_widgets): * gui/dialogs/schedule-page.c (get_widgets): * gui/dialogs/recurrence-page.c (get_widgets): * gui/dialogs/meeting-page.c (get_widgets): * gui/dialogs/event-page.c (get_widgets): * gui/dialogs/alarm-page.c (get_widgets): got the GtkAccelGroup from the original window, ref'ed it and placed it in the CompEditorPage struct. * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref any GtkAccelGroup for the page. * gui/dialogs/task-page.glade: changed '_Confidential' to 'Con_fidential' as it clashed with '_Contacts'. It now matches the event editor as well. * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: Set CAN_FOCUS to TRUE for the custom EDateEdit widgets, and set them as the accel targets of the labels. svn path=/trunk/; revision=14108
* show an error message when we can't update the object on the calendarRodrigo Moya2001-10-252-1/+10
| | | | | | | | | 2001-10-25 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (save_comp): show an error message when we can't update the object on the calendar server svn path=/trunk/; revision=14090
* Ifdef-ed out the PersistFile bits.Federico Mena Quintero2001-10-252-0/+6
| | | | | | | | 2001-10-25 Federico Mena Quintero <federico@ximian.com> * gui/control-factory.c: Ifdef-ed out the PersistFile bits. svn path=/trunk/; revision=14089
* The tasks folder does not support the PersistFile interface; removed it.Federico Mena Quintero2001-10-252-2/+7
| | | | | | | | | | | 2001-10-25 Federico Mena Quintero <federico@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: The tasks folder does not support the PersistFile interface; removed it. Removed it as well from the calendar folder since it is aggregated but not actually implemented. svn path=/trunk/; revision=14088
* Handle tasks folders as well; was always using "calendar.ics" as theFederico Mena Quintero2001-10-253-4/+33
| | | | | | | | | 2001-10-25 Federico Mena Quintero <federico@ximian.com> * gui/component-factory.c (xfer_folder): Handle tasks folders as well; was always using "calendar.ics" as the filename. svn path=/trunk/; revision=14087
* added sections for Tasks factory and control. I hope someone checks these!Damon Chaplin2001-10-252-0/+36
| | | | | | | | | 2001-10-24 Damon Chaplin <damon@ximian.com> * gui/GNOME_Evolution_Calendar.oaf.in: added sections for Tasks factory and control. I hope someone checks these! svn path=/trunk/; revision=14074
* Fixed to only copy the `calendar.ics' and `calendar.ics~' files.Ettore Perazzoli2001-10-252-100/+88
| | | | | | | * gui/component-factory.c (xfer_folder): Fixed to only copy the `calendar.ics' and `calendar.ics~' files. svn path=/trunk/; revision=14071
* Fixed to only copy the `calendar.ics' and `calendar.ics~' files.Ettore Perazzoli2001-10-252-99/+94
| | | | | | | * gui/component-factory.c (xfer_folder): Fixed to only copy the `calendar.ics' and `calendar.ics~' files. svn path=/trunk/; revision=14070
* when iterating over the subcomponents, use 'subcomp' rather thanDamon Chaplin2001-10-255-43/+150
| | | | | | | | | | | | | | | | | | | | 2001-10-24 Damon Chaplin <damon@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_update_objects): when iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'. That meant it wasn't working at all well when an entire VCALENDAR was passed in. * cal-util/cal-component.c: handle DURATION property used instead of DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART + DURATION if necessary. In set_dtend/due we remove any DURATION property. Fixes bug #11262. * gui/e-meeting-model.c (build_etable): * gui/e-calendar-table.c (e_calendar_table_init): use U_ for the ECellCombo popdown strings, as it expects UTF-8 strings. svn path=/trunk/; revision=13992
* track the spacer vbox (e_meeting_time_selector_style_set): make sure theJP Rosevear2001-10-256-21/+127
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-24 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): track the spacer vbox (e_meeting_time_selector_style_set): make sure the rows are the correct size for the style * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_paint_day_top): slight adjustments to where the text is drawn * gui/e-meeting-time-sel.h: new member * gui/e-meeting-model.c (build_etable): ensure uniform row height * conduits/todo/todo-conduit.c (comp_from_remote_record): mark status as completed in appropriate places and don't overwrite legitimate percentages and such svn path=/trunk/; revision=13989
* Fixes bug #5282.Federico Mena Quintero2001-10-2514-79/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-24 Federico Mena Quintero <federico@ximian.com> Fixes bug #5282. * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function to avoid copying the same code all over the place. (icaltimetype_to_tm): Also set the tm.tm_wday. * gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use time_day_end_with_zone(). (load_alarms_for_today): Likewise. And oops, we were only computing the times and not loading the alarms. (obj_updated_cb): Likewise. (load_alarms): Removed assertion that is no longer valid because we may load the alarms for a client in two stages. * gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute trigger times to the local timezone. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Convert the times to the local timezone. (alarm_notify_dialog): Likewise, for the window title. (alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP. * gui/e-cell-date-edit-text.c (ecd_get_text): Use icaltimetype_to_tm_with_zone(). * gui/alarm-notify/save.c (get_config_db): Made public. (discard_config_db): Made public. * gui/alarm-notify/config-data.[ch]: New files with functions to fetch the calendar configuration data used by the alarm daemon. svn path=/trunk/; revision=13986
* make sure we free all the CalComponentDateTime's when we are finished.Damon Chaplin2001-10-243-14/+44
| | | | | | | | | | | | 2001-10-23 Damon Chaplin <damon@ximian.com> * cal-util/cal-component.c (cal_component_event_dates_match): make sure we free all the CalComponentDateTime's when we are finished. * gui/gnome-cal.c (gnome_calendar_notify_dates_shown_changed): just return if no time range is set. svn path=/trunk/; revision=13957
* adjust the display canvas when the table scrollsJP Rosevear2001-10-242-2/+26
| | | | | | | | | | | 2001-10-23 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_table_vadjustment_changed): adjust the display canvas when the table scrolls (e_meeting_time_selector_construct): listen for table scrolling svn path=/trunk/; revision=13951
* no longer set the scrollbar policy hereJP Rosevear2001-10-243-5/+15
| | | | | | | | | | | | | | | | 2001-10-23 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (build_etable): no longer set the scrollbar policy here * gui/e-meeting-time-sel.c (e_meeting_time_selector_update_main_canvas_scroll_region): add an extra row to the height so the click to add row can be properly seen (e_meeting_time_selector_construct): set the scrollbar policy for the etable scrolled svn path=/trunk/; revision=13948
* convert an icaltimetype to a tm (tm_to_icaltimetype): vice versaJP Rosevear2001-10-245-42/+103
| | | | | | | | | | | | | | | | | | 2001-10-23 JP Rosevear <jpr@ximian.com> * cal-util/timeutil.c (icaltimetype_to_tm): convert an icaltimetype to a tm (tm_to_icaltimetype): vice versa * cal-util/timeutil.h: new protos * conduits/calendar/calendar-conduit.c: replace all mktime and localtime calls (except for debugging calls) * conduits/todo/todo-conduit.c: ditto (comp_from_remote_record): make sure the completed time is in UTC svn path=/trunk/; revision=13946
* cal-client/cal-query.c (cal_query_construct) set priv->corba_query toRodrigo Moya2001-10-232-0/+6
| | | | | | | | | 2001-10-23 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-query.c (cal_query_construct) set priv->corba_query to CORBA_OBJECT_NIL if there was an error svn path=/trunk/; revision=13939
* added setDefaultTimezone() method.Damon Chaplin2001-10-2334-642/+1592
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * idl/evolution-calendar.idl: added setDefaultTimezone() method. * pcs/cal-backend.c (cal_backend_get_default_timezone): (cal_backend_set_default_timezone): new functions to call class methods. * pcs/cal-backend-file.c: lots of changes to handle the default timezone and use it. * pcs/query.c: use the default timezone. * gui/dialogs/task-details-page.c (date_changed_cb): initialized completed_tt. * gui/dialogs/event-page.c: changed it to handle DATE values. The 'All Day Event' checkbox is only set now when the DTSTART and DTEND are DATE values. * gui/dialogs/comp-editor-util.c (comp_editor_free_dates): free the CalComponentDateTime structs as well. * gui/e-tasks.c: set the default timezone on the server. * gui/tag-calendar.c: * gui/gnome-cal.c: * gui/e-week-view.c: * gui/e-day-view.c: updates to handle DATE values. * gui/e-calendar-table.c (date_compare_cb): updated to use the new ECellDateEditValue values, so it now works. (percent_compare_cb): updated to use GPOINTER_TO_INT values. (e_calendar_table_init): use an ECellPercent for the percent field and an ECellDateEditText for the date fields. * gui/comp-util.c (cal_comp_util_compare_event_timezones): return TRUE if the DTSTART or DTEND is a DATE value. We don't want to show the timezone icons for DATE values. * gui/comp-editor-factory.c (resolve_pending_requests): set the default timezone on the server. * gui/calendar-model.c: major changes to support sorting properly. For date and percent fields we now use subclasses of ECellText, so we don't use a char* as the model value. For the percent field we now use a GINT_TO_POINTER. For the date fields we now use a ECellDateEditValue* as the value. * gui/calendar-config.c (calendar_config_configure_e_cell_date_edit): set the timezone and use_24_hour flags of the new ECellDateEditText. * conduits/todo/todo-conduit.c (pre_sync): * conduits/calendar/calendar-conduit.c (pre_sync): set the default timezone on the server. * cal-util/timeutil.c (time_days_in_month): removed debug message. * cal-util/test-recur.c: try to handle timezones in the iCalendar file properly, and updated to pass default timezone. * cal-util/cal-util.c (cal_util_generate_alarms_for_comp): (cal_util_generate_alarms_for_list): added default timezone argument. * cal-util/cal-recur.c: changed many of the functions to take a default timezone, to use to resolve DATE and floating DATE-TIME values. * cal-client/cal-client.c (cal_client_set_default_timezone): new function to set the default timezone. (cal_client_ensure_timezone_on_server): new function to ensure that a given timezone is on the server. * gui/e-cell-date-edit-text.c: new subclass of ECellText to display and edit a date value. * cal-util/cal-recur.c (cal_obj_byday_expand_monthly): changed week_num to -week_num when calculating the weeks to go back from the end of the month for things like BYDAY=-2WE. Fixes bug #11525. (cal_recur_generate_instances_of_rule): only go up to MAX_YEAR (2037). We can't really handle anything past that anyway. (cal_recur_ensure_rule_end_date): initialize cb_date.end_date to 0, so if the RULE doesn't generate COUNT instances we save 0 as the time_t. svn path=/trunk/; revision=13920
* Put up a warning dialog box if we failed to create the tasks control.Federico Mena Quintero2001-10-232-6/+13
| | | | | | | | | | 2001-10-22 Federico Mena Quintero <federico@ximian.com> * gui/tasks-control-factory.c (tasks_control_factory_fn): Put up a warning dialog box if we failed to create the tasks control. Fixes bug #13033. svn path=/trunk/; revision=13917
* write out the correct time in the controlJP Rosevear2001-10-235-31/+49
| | | | | | | | | | | | | | | | | 2001-10-22 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (set_date_label): write out the correct time in the control * pcs/cal.c (build_fb_seq): utility function to build sequences of f/b data (impl_Cal_get_free_busy): use above so we never return a NULL * conduits/calendar/calendar-conduit-config.h (calconduit_save_configuration): fix c/p error (calconduit_load_configuration): ditto svn path=/trunk/; revision=13876
* we don't need to save the stateJP Rosevear2001-10-224-17/+30
| | | | | | | | | | | | | | | | 2001-10-22 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_destroy): we don't need to save the state * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): ditto * gui/e-meeting-model.c (build_etable): listen for the etable being destroyed (table_destroy_cb): save the state when the etable is destroyed svn path=/trunk/; revision=13872
* listen for changes in the date editors (schedule_page_set_dates): updateJP Rosevear2001-10-225-84/+261
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (init_widgets): listen for changes in the date editors (schedule_page_set_dates): update the times when they change elsewhere (update_time): set the time in the dialog (time_changed_cb): notify of changed times * gui/dialogs/comp-editor.c (page_dates_changed_cb): don't call the set dates function on the page that noted the change (page_summary_changed_cb): same for set summary function * gui/dialogs/event-page.c (update_time): move time setting stuff to util function (event_page_set_dates): use it (event_page_fill_component): ditto * gui/e-meeting-time-sel.h: fix comment svn path=/trunk/; revision=13863
* Do not assert if we fail to load the URI list. This would of course haveFederico Mena Quintero2001-10-205-12/+42
| | | | | | | | | | | | | | | | | 2001-10-19 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify.c (add_uri_to_load): Do not assert if we fail to load the URI list. This would of course have been a bonobo-conf activation problem. (remove_uri_to_load): Likewise. * gui/alarm-notify/notify-main.c (load_calendars): Likewise. * gui/alarm-notify/alarm-queue.c (load_missed_alarms): Make the time range half-open so that we do not display the last alarm twice. svn path=/trunk/; revision=13797
* make it a public functionRodrigo Moya2001-10-205-6/+35
| | | | | | | | | | | | | | | 2001-10-19 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-model.c (calendar_model_set_status_message): make it a public function * gui/e-tasks.c (e_tasks_open): display progress messages (cal_opened_cb): clean up status bar messages * gui/gnome-cal.c (gnome_calendar_open): display progress messages (client_cal_opened_cb): clean up status bar messages svn path=/trunk/; revision=13796
* new function (update_query): call set_status_messageRodrigo Moya2001-10-202-0/+89
| | | | | | | | | | | | | 2001-10-19 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-model.c (set_status_message): new function (update_query): call set_status_message (query_query_done_cb): (query_eval_error_cb): clean up status bar messages (get_location, set_location): new functions for setting and retrieving the location in the calendar model svn path=/trunk/; revision=13794
* keep a reference to the EvolutionShellClient componentRodrigo Moya2001-10-198-25/+156
| | | | | | | | | | | | | | | | | | | | | 2001-10-19 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c (owner_set_cb): keep a reference to the EvolutionShellClient component * gui/e-week-view.c (e_week_view_set_status_message): new function (update_query): call e_week_view_set_status_message (query_query_done_cb): (query_eval_error_cb): clean up status bar messages * gui/e-day-view.c (e_day_view_set_status_message): new function (update_query): call e_day_view_set_status_message (query_query_done_cb): (query_eval_error_cb): clean up status bar messages * gui/Makefile.am: added EVOLUTION_IMAGESDIR to CFLAGS svn path=/trunk/; revision=13793
* call the invite others dialog in the modelJP Rosevear2001-10-1912-193/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-18 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_clicked): call the invite others dialog in the model * gui/e-meeting-attendee.c (e_meeting_attendee_get_atype): pick attendee type based on role and cutype * gui/e-meeting-attendee.h: remove proto * gui/Makefile.am: compile select names idl * gui/e-meeting-model.h: new proto * gui/dialogs/meeting-page.c: remove invite others dialogs bits from here * gui/e-meeting-model.c (e_meeting_model_invite_others_dialog): and put them here * gui/dialogs/Makefile.am: compile corba bits in parent dir * gui/dialogs/comp-editor-util.h: reflect above in includes * gui/dialogs/e-delegate-dialog.c: ditto * gui/dialogs/schedule-page.c: ditto and clean includes svn path=/trunk/; revision=13775
* add html widget (url_requested_cb): add function to load images from fileLarry Ewing2001-10-194-57/+169
| | | | | | | | | | | | | | | | | | | 2001-10-18 Larry Ewing <lewing@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c: add html widget (url_requested_cb): add function to load images from file as they are requested. (write_html_heading): convert to using html. (alarm_notify_dialog): convert to use html display. (make_html_display): this is the function the custom widget in the galde file uses to create the html widget. * gui/alarm-notify/alarm-notify.glade: add placeholder for the custom html widget. * gui/alarm-notify/Makefile.am: add flags for gtkhtml and gal. svn path=/trunk/; revision=13766
* Adds session management for the alarm daemon. Also makes it store a listFederico Mena Quintero2001-10-1913-261/+595
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-18 Federico Mena Quintero <federico@ximian.com> Adds session management for the alarm daemon. Also makes it store a list of calendars to be monitored. Those calendars will all be loaded when the alarm daemon starts up. * idl/evolution-calendar.idl (AlarmNotify): Removed the ::die() method. The alarm daemon now handles termination via the session manager's commands. * gui/alarm-notify/notify-main.c (set_session_parameters): New function, sets some parameters so that the session manager can restart the daemon via the evolution-alarm-client program. Also, sets up the "die" signal so that the daemon can terminate when the session ends. (load_calendars): New function to load the calendars on startup. (main): Set the session parameters. Load the calendars on startup. * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New function, moved over from the impl_ function. Added a load_afterwards argument to indicate whether the calendar should just be loaded or if it should also be added to the list of calendars to load on startup. (AlarmNotify_addCalendar): Use alarm_notify_add_calendar(). (AlarmNotify_removeCalendar): Remove the calendar from the list of calendars to load on startup. * gui/alarm-notify/save.c (save_calendars_to_load): New function, saves a sequence of the URIs to load. (get_calendars_to_load): New function, loads a sequence of calendars to load. * gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init(). * gui/component-factory.c (remove_folder): Ask the alarm daemon to stop monitoring alarms for the folder that is being deleted. svn path=/trunk/; revision=13763
* Oops.JP Rosevear2001-10-191-1/+14
| | | | svn path=/trunk/; revision=13760
* gui/e-meeting-time-sel.cJP Rosevear2001-10-193-9/+25
| | | | | | | | | | | | | | | | | 2001-10-18 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_paint_day_top): use 12 or 24 hour settings * gui/e-meeting-time-sel.c: strings for 12 hour setting (e_meeting_time_selector_construct): increase width slightly * gui/e-meeting-time-sel.h: extern the new char array svn path=/trunk/; revision=13759
* new functionsRodrigo Moya2001-10-193-0/+75
| | | | | | | | | 2001-10-18 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-component.[ch] (cal_component_get_location): (cal_component_set_location): new functions svn path=/trunk/; revision=13758
* util routine to handle calling back (async_close): use aboveJP Rosevear2001-10-182-12/+36
| | | | | | | | | | | 2001-10-18 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (process_callbacks): util routine to handle calling back (async_close): use above (e_meeting_model_refresh_busy_periods): ditto svn path=/trunk/; revision=13747
* translate 1-5 priorites to 1-9 priorities betterJP Rosevear2001-10-182-4/+40
| | | | | | | | | | 2001-10-17 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): translate 1-5 priorites to 1-9 priorities better (comp_from_remote_record): ditto svn path=/trunk/; revision=13736
* allow some decent exceptionsJP Rosevear2001-10-182-1/+6
| | | | | | | | 2001-10-17 JP Rosevear <jpr@ximian.com> * idl/evolution-calendar.idl: allow some decent exceptions svn path=/trunk/; revision=13726
* there may be cases when the backend will return an invalid component fromRodrigo Moya2001-10-182-1/+7
| | | | | | | | | | 2001-10-17 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (match_component): there may be cases when the backend will return an invalid component from a valid UID (an UID returned by the get_uids method), so don't abort if that's the case svn path=/trunk/; revision=13725
* removed Help button. Do we have any others?Damon Chaplin2001-10-162-8/+5
| | | | | | | | | 2001-10-15 Damon Chaplin <damon@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: removed Help button. Do we have any others? svn path=/trunk/; revision=13692
* remove warnings.Larry Ewing2001-10-162-2/+6
| | | | | | | | 2001-10-15 Larry Ewing <lewing@ximian.com> * gui/dialogs/comp-editor.c (set_icon_from_comp): remove warnings. svn path=/trunk/; revision=13686
* function to break up multi day events into single events for both evo andJP Rosevear2001-10-162-4/+108
| | | | | | | | | | | | 2001-10-15 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (process_multi_day): function to break up multi day events into single events for both evo and the pilot and create new CalClientChange structures (pre_sync): call above function, and adjust changed list if necessary svn path=/trunk/; revision=13678
* util function to determine if event is all day (local_record_from_comp):JP Rosevear2001-10-152-16/+45
| | | | | | | | | | | 2001-10-15 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (is_all_day): util function to determine if event is all day (local_record_from_comp): use new util function (comp_from_remote_record): kill use of deprecated time functions svn path=/trunk/; revision=13673
* call set_icon_from_comp. (set_icon_from_comp): set the window icon fromLarry Ewing2001-10-143-0/+46
| | | | | | | | | | | | | 2001-10-13 Larry Ewing <lewing@ximian.com> * gui/dialogs/comp-editor.c (real_edit_comp): call set_icon_from_comp. (set_icon_from_comp): set the window icon from the comp. (make_icon_from_comp): get the icon path based on comp type. * gui/dialogs/Makefile.am (iconsdir): EVOLUTION_ICONSDIR bits. svn path=/trunk/; revision=13666
* send cancellation comp if necessaryJP Rosevear2001-10-142-0/+32
| | | | | | | | | 2001-10-13 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_send_comp): send cancellation comp if necessary svn path=/trunk/; revision=13655
* return fill_component successJP Rosevear2001-10-1315-176/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-page.c: return fill_component success * gui/dialogs/task-page.c: ditto * gui/dialogs/task-details-page.c: ditto * gui/dialogs/schedule-page.c: ditto * gui/dialogs/recurrence-page.c: ditto * gui/dialogs/event-page.c: ditto * gui/dialogs/meeting-page.c: use e_notice instead of duplicate_error (meeting_page_get_cancel_comp): duh, deleted_attendees is an array now (meeting_page_fill_component): spew gui errors if there is no organizer or no attendees, return success * gui/dialogs/event-editor.c (event_editor_send_comp): always call parent method and don't send the cancellation comp if the method is publish (refresh_meeting_cmd): use the orginal comp to refresh (forward_cmd): prompt the user for the version they want to send (current, original) * gui/dialogs/task-editor.c (forward_cmd): as above (refresh_task_cmd): ditto * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_component): return boolean of whether the component could be filled or not * gui/dialogs/comp-editor-page.h: update proto * gui/dialogs/comp-editor.c (prompt_to_save_changes): take a param on whether to try and send or not (comp_editor_get_current_comp): only fill component if its changed (comp_editor_save_comp): prompt user as well * gui/dialogs/comp-editor.h: change proto * gui/itip-utils.c: replace error_dialog with e_notice (comp_content_type): specify charset svn path=/trunk/; revision=13635
* large reworking of i18n tagging and now uses gtk_html_stream write and U_Larry Ewing2001-10-122-88/+76
| | | | | | | | | | 2001-10-11 Larry Ewing <lewing@ximian.com> * gui/e-itip-control.c: large reworking of i18n tagging and now uses gtk_html_stream write and U_ where appropriate. More to come. svn path=/trunk/; revision=13592
* Silence warning I missed.Larry Ewing2001-10-111-1/+1
| | | | | | --Larry svn path=/trunk/; revision=13577
* set the default character set to utf-8.Larry Ewing2001-10-112-0/+11
| | | | | | | | | 2001-10-10 Larry Ewing <lewing@ximian.com> * gui/e-itip-control.c (init): set the default character set to utf-8. svn path=/trunk/; revision=13568
* Return the original key in the hash table if requested.Federico Mena Quintero2001-10-112-18/+43
| | | | | | | | | | | | 2001-10-10 Federico Mena Quintero <federico@ximian.com> * pcs/cal-factory.c (lookup_backend): Return the original key in the hash table if requested. (backend_last_client_gone_cb): Use lookup_backend() so that we have the URI mangling done for us. (impl_CalFactory_open): The type should be GtkType *, not GtkType! svn path=/trunk/; revision=13557
* remove unneeded assertionsJP Rosevear2001-10-112-3/+5
| | | | | | | | | 2001-10-10 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_set_mode_cb): remove unneeded assertions svn path=/trunk/; revision=13556
* fix logic checksJP Rosevear2001-10-106-11/+72
| | | | | | | | | | | | | | | | | | | | | 2001-10-10 JP Rosevear <jpr@ximian.com> * pcs/cal-factory.c (add_uri): fix logic checks * gui/dialogs/event-editor.c (event_editor_init): init the exisiting_org boolean (set_menu_sens): base sensitivity on existing_org boolean (event_editor_edit_comp): set exisiting_org boolean * gui/dialogs/task-editor.c: same as above * gui/calendar-offline-handler.c (add_connection): handle the protocol or host being unknown * cal-util/cal-component.c (cal_component_has_organizer): implement svn path=/trunk/; revision=13552
* Fixes bug #884.Federico Mena Quintero2001-10-106-17/+235
| | | | | | | | | | | | | | | | | | | | | | 2001-10-09 Federico Mena Quintero <federico@ximian.com> Fixes bug #884. * gui/alarm-notify/save.[ch]: New files with functions to save/load the last notification time. * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Save the last notification time. (alarm_queue_init): Load the last notification time when the daemon is inited. (alarm_queue_add_client): Load the alarms that we missed while the alarm daemon was not running. (cal_opened_cb): Likewise. * gui/alarm-notify/Makefile.am (evolution_alarm_notify_SOURCES): Added save.[ch] to the list of sources. svn path=/trunk/; revision=13538
* util function to get address (itip_addresses_get_default): get only theJP Rosevear2001-10-109-101/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-09 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (get_address): util function to get address (itip_addresses_get_default): get only the default address (itip_address_free): free single address (itip_addresses_free): use above (comp_limit_attendees): limit the number of attendees to one, the user (comp_sentby): set the sentby parameter if the user is not the organizer (comp_minimal): remove extraneous info for send (for refresh and declinecounter) (comp_compliant): remove all alarms, do various things to make the components comply with itip spec based on method (itip_send_comp): use comp_compliant method * gui/itip-utils.h: new protos * gui/e-itip-control.c: rescan the component when necessary (get_next): don't get stuck in infinite loop if there are no viewable components (e_itip_control_set_data): if there are no viewable components, spit an error message * gui/dialogs/meeting-page.h: tidy * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): use organizer's cn if possible (other_clicked_cb): no longer doing the sent by stuff directly, hide more widgets * pcs/query.c: use bonobo exception stuff * cal-util/cal-component.c (cal_component_rescan): have the comp rescan its libical component (for when you change things directly) (free_icalcomponent): take a param on whether to free the component or just clean up the mappings (cal_component_has_attendees): util function * cal-util/cal-component.h: new protos svn path=/trunk/; revision=13525
* deal correctly with URIs to be inserted into the hash table, so that weRodrigo Moya2001-10-102-2/+25
| | | | | | | | | | | 2001-10-09 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (lookup_backend, add_backend): deal correctly with URIs to be inserted into the hash table, so that we don't add the same backend over and over because the URI strings were different (although refering to the same backend) svn path=/trunk/; revision=13523
* moved to a common place (cal_backend_file_open): check if "uristr != NULL"Rodrigo Moya2001-10-105-62/+93
| | | | | | | | | | | | | | 2001-10-09 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (mail_account_*): moved to a common place (cal_backend_file_open): check if "uristr != NULL" and not "uri != NULL" * pcs/cal-backend-util.c: moved to here * gui/e-day-view.c: add missing header file svn path=/trunk/; revision=13517
* Fix incorrect variable name check.Dan Winship2001-10-092-1/+6
| | | | | | | * gui/e-meeting-model.c (process_free_busy_comp): Fix incorrect variable name check. svn path=/trunk/; revision=13512
* refactor functionality into several function (comp_string): if we areJP Rosevear2001-10-045-162/+225
| | | | | | | | | | | | | | | | | | 2001-10-03 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): refactor functionality into several function (comp_string): if we are publishing, empty the attendee list * gui/dialogs/event-editor.c (schedule_meeting_cmd): when we schedule a new meeting, mark the event editor as changed * pcs/cal.c (cal_class_init): get correct parent class * gui/dialogs/comp-editor.c (comp_editor_merge_ui): use the generated ui component name svn path=/trunk/; revision=13385
* replace use of gnome_vfs_uri with e_uriRodrigo Moya2001-10-0411-125/+144
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-03 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c: * gui/calendar-offline-handler.c: * gui/comp-editor-factory.c: replace use of gnome_vfs_uri with e_uri * gui/e-meeting-model.c (start_addressbook_server): make it return void, since the return value does not mind * pcs/cal.c: * pcs/cal-factory.c: * pcs/cal-backend.[ch]: don't use GnomeVFS for URI management * pcs/cal-backend-file.c: ditto, only use GnomeVFS for internal operations * cal-client/cal-client.c (cal_client_open_calendar): don't CORBA_exception_free before checking for exceptions svn path=/trunk/; revision=13380
* Added priorities to a bunch of these columns. Fixes Ximian bug #7158.Christopher James Lahey2001-10-032-13/+18
| | | | | | | | | 2001-10-03 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.etspec: Added priorities to a bunch of these columns. Fixes Ximian bug #7158. svn path=/trunk/; revision=13371
* save the EXDATE as a DATE-TIME value, since we know the exact time. FixesDamon Chaplin2001-10-036-93/+49
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-03 Damon Chaplin <damon@ximian.com> * gui/comp-util.c (cal_comp_util_add_exdate): save the EXDATE as a DATE-TIME value, since we know the exact time. Fixes bug #11278. (Before we were setting is_date, but icaltime_from_timet_with_zone() didn't convert it properly. We need to figure out how to handle DATEs when using time_t's.) * gui/dialogs/recurrence-page.c (get_exception_string): use e_time_format_date_and_time() so we show the time as well, if the exception is a DATE-TIME value. * cal-util/timeutil.c: removed time_add_month(), time_year_begin(), time_month_begin() & time_week_begin() - old pre-timezone functions which we no longer use. * cal-util/cal-recur.c (cal_recur_from_icalproperty): set ir.until.is_date to FALSE before converting to a time_t. Hopefully fixes bug #5034. svn path=/trunk/; revision=13366
* Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'.Ettore Perazzoli2001-10-032-1/+7
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * mail-account-gui.c (launch_signature_editor): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * e-msg-composer.c (setup_ui): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * gui/dialogs/comp-editor.c (setup_widgets): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. svn path=/trunk/; revision=13306
* use bonobo-exception to tidyJP Rosevear2001-10-022-5/+8
| | | | | | | | 2001-10-02 JP Rosevear <jpr@ximian.com> * cal-client/cal-query.c: use bonobo-exception to tidy svn path=/trunk/; revision=13302
* handle -1 as well (comp_from_remote_record): fix monthly by dayJP Rosevear2001-10-022-3/+14
| | | | | | | | | | | 2001-10-02 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (nth_weekday): handle -1 as well (comp_from_remote_record): fix monthly by day recurrences and handle "last" day type svn path=/trunk/; revision=13300
* unref the page objects here, instead of in close_dialog(). (This was fixedDamon Chaplin2001-10-022-4/+13
| | | | | | | | | | 2001-10-01 Damon Chaplin <damon@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_destroy): unref the page objects here, instead of in close_dialog(). (This was fixed a while ago, but accidentally reverted.) Fixes bug #7543. svn path=/trunk/; revision=13278
* Set the window state to sticky. Thanks to Peter Teichman for theFederico Mena Quintero2001-10-022-0/+12
| | | | | | | | | | 2001-10-01 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): Set the window state to sticky. Thanks to Peter Teichman for the suggestion. svn path=/trunk/; revision=13275