aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* added Help button. Though of course it doesn't do anything yet.Damon Chaplin2001-07-313-0/+17
| | | | | | | | | 2001-07-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: added Help button. Though of course it doesn't do anything yet. svn path=/trunk/; revision=11489
* OopsJP Rosevear2001-07-311-2/+6
| | | | svn path=/trunk/; revision=11481
* Mark strings for translationJP Rosevear2001-07-311-67/+64
| | | | | | | | 2001-07-30 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c: Mark strings for translation svn path=/trunk/; revision=11480
* call cal_client_get_free_busy for testing the new methodRodrigo Moya2001-07-302-2/+23
| | | | | | | | | 2001-07-30 Rodrigo Moya <rodrigo@ximian.com> * cal-client/client-test.c (cal_opened_cb): call cal_client_get_free_busy for testing the new method svn path=/trunk/; revision=11474
* implementedRodrigo Moya2001-07-302-1/+61
| | | | | | | | 2001-07-30 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): implemented svn path=/trunk/; revision=11472
* recur is always in UTCJP Rosevear2001-07-282-1/+6
| | | | | | | | | 2001-07-27 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): recur is always in UTC svn path=/trunk/; revision=11463
* handle timezones everywhere (get_timezone): new function to get a timezoneJP Rosevear2001-07-287-22/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-27 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c: handle timezones everywhere (get_timezone): new function to get a timezone based on a tzid (get_default_timezone): get default timezone * conduits/calendar/calendar-conduit.h: time zone field for the context * conduits/calendar/Makefile.am: link to bonobo conf * conduits/todo/todo-conduit.c: handle timezones everywhere (get_timezone): new function to get a timezone based on a tzid (get_default_timezone): get default timezone * conduits/todo/todo-conduit.h: time zone field for the context * conduits/todo/Makefile.am: link to bonobo conf svn path=/trunk/; revision=11461
* initialize to NULL some pointersRodrigo Moya2001-07-285-20/+78
| | | | | | | | | | | | | | | | 2001-07-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): initialize to NULL some pointers * e-calendar-table.c (selection_received): deal correctly with VCALENDAR objects (e_calendar_table_copy_clipboard): g_strdup the value returned by icalcomponent_get_as_ical_string svn path=/trunk/; revision=11459
* Constify and set the query sexp on the task pad's model as well.Federico Mena Quintero2001-07-283-2/+15
| | | | | | | | | 2001-07-27 Federico Mena Quintero <federico@ximian.com> * gui/gnome-cal.c (gnome_calendar_set_query): Constify and set the query sexp on the task pad's model as well. svn path=/trunk/; revision=11457
* Shut up CVS - FedericoFederico Mena Quintero2001-07-281-0/+4
| | | | svn path=/trunk/; revision=11456
* New files with a derivative of ESearchBar that generates sexps forFederico Mena Quintero2001-07-2816-635/+1016
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-27 Federico Mena Quintero <federico@ximian.com> * gui/cal-search-bar.[ch]: New files with a derivative of ESearchBar that generates sexps for calendar queries directly. * gui/gnome-cal.c (setup_widgets): Use CalSearchBar instead of ESearchBar. * gui/e-calendar-table.h (ECalendarTable): Removed the ->colors array since it is handled by ETableExtras now. * gui/e-calendar-table.[ch]: Removed the subset_model. Now we use the live query facility to filter tasks. Removed the filter function stuff as well. * gui/e-tasks.c (e_tasks_construct): Use calendar_model_set_cal_client() directly instead of e_calendar_table_set_model(). (setup_widgets): Create a calendar search bar for the tasks component. (search_bar_sexp_changed_cb): Set the query sexp on the table model. (e_tasks_on_filter_selected): Regenerate the query from the selected category and the current sexp. (update_query): New convenience function to recompute the real query sexp. * gui/gnome-cal.c (gnome_calendar_construct): Likewise. * gui/e-calendar-table.c (e_calendar_table_set_cal_client): Removed function; people are now supposed to get the model from the calendar table and operate on it. * gui/calendar-commands.c (verbs): Consistency fixes with the XML file. (pixmaps): Likewise. * gui/Makefile.am (evolution_calendar_SOURCES): Added cal-search-bar.[ch] to the list of sources. 2001-07-20 Federico Mena Quintero <federico@ximian.com> * idl/evolution-calendar.idl (CompEditorFactory): New interface to a centralized factory for calendar component editors. Has editExisting() and editNew() methods to edit an existing component from a URI/UID pair, and to create a new component in a calendar that is in a particular URI, respectively. * gui/comp-editor-factory.[ch]: Implementation files for the component editor factory. * gui/GNOME_Evolution_Calendar.oaf.in: Added the CompEditorFactory stuff. * gui/Makefile.am (evolution_calendar_SOURCES): Added comp-editor-factory.[ch] to the list of sources. svn path=/trunk/; revision=11455
* when an entry has changed, iterate over the elements of the entry and addJP Rosevear2001-07-272-175/+261
| | | | | | | | | | | 2001-07-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (invite_entry_changed): when an entry has changed, iterate over the elements of the entry and add them to the list if need be (get_select_name_dialog): add a Chair Persons section svn path=/trunk/; revision=11443
* send the empty string as subject if there is no summaryJP Rosevear2001-07-271-1/+4
| | | | | | | | | 2001-07-26 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): send the empty string as subject if there is no summary svn path=/trunk/; revision=11441
* free a list of attendees (meeting_page_fill_widgets): clean up attendeeJP Rosevear2001-07-278-68/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (cleanup_attendees): free a list of attendees (meeting_page_fill_widgets): clean up attendee lists and fix typo (find_match): add ability to return pos of match (popup_delete_cb): if deletion happens, make sure to tidy up delegation chain * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): use the destination rather than text property (e_delegate_dialog_get_delegate): ditto (e_delegate_dialog_new): take name/address pair for dialog default * gui/dialogs/e-delegate-dialog.h: update protos * gui/e-itip-control.c (clean_up): only unref the object if we have one * gui/itip-control-factory.c (stream_read): make sure we null terminate the final buffer * gui/itip-utils.c (itip_send_comp): strip the mailto: from the organizer address if necessary svn path=/trunk/; revision=11440
* check that the row passed in is valid. Sometimes we get the "row-selected"Damon Chaplin2001-07-273-1/+72
| | | | | | | | | | | | | | | | | 2001-07-26 Damon Chaplin <damon@ximian.com> * gui/dialogs/recurrence-page.c (exception_select_row_cb): check that the row passed in is valid. Sometimes we get the "row-selected" signal for row 0 when there are no rows in the list. Fixes bug #4266. * cal-client/cal-client.c (cal_client_get_object): prefetch all the timezone data needed by the object, to try to avoid making Corba calls all over the place. They can cause problems because they call the GTK+ main loop recursively. This currently leads to an assertion failure in the GnomeCanvas occasionally. Though there are probably several other similar problems around. svn path=/trunk/; revision=11433
* gracefully handle the lack of a methodJP Rosevear2001-07-262-0/+7
| | | | | | | | | 2001-07-25 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (e_itip_control_set_data): gracefully handle the lack of a method svn path=/trunk/; revision=11419
* check type of component before actually pasting. Deal with VCALENDARRodrigo Moya2001-07-265-13/+147
| | | | | | | | | | | | | | | | 2001-07-25 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (selection_received_cb): check type of component before actually pasting. Deal with VCALENDAR components also (fixes bug #5140) * gui/e-week-view.c (selection_received_cb): ditto * cal-client/cal-client.c (cal_client_update_object): check the return value from cal_component_get_as_string and don't call GNOME_Evolution_Calendar_Cal_updateObjects if NULL svn path=/trunk/; revision=11418
* used the new print preview icon.Damon Chaplin2001-07-263-5/+13
| | | | | | | | | | | | 2001-07-25 Damon Chaplin <damon@ximian.com> * gui/dialogs/comp-editor.c (pixmaps): used the new print preview icon. * gui/print.c (range_selector_new): changed the 'Current day/week...' strings to 'Selected day/week...' to make a little less confusing. Fixes bug #5451. svn path=/trunk/; revision=11416
* see if the address is already in the list of attendees (duplicate_error):JP Rosevear2001-07-262-16/+68
| | | | | | | | | | | | | | | 2001-07-25 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (is_duplicate): see if the address is already in the list of attendees (duplicate_error): throw up an error dialog (popup_delegate_cb): if the attendee has already delegated, delete the old delegatee (value_at): cast to kill warnings (append_row): don't add the new attendee if they are already in the list svn path=/trunk/; revision=11406
* calculate tmp_tm.tm_wday ourselves. strftime has a habit of crashing ifDamon Chaplin2001-07-252-0/+11
| | | | | | | | | | 2001-07-24 Damon Chaplin <damon@ximian.com> * gui/dialogs/recurrence-page.c (get_exception_string): calculate tmp_tm.tm_wday ourselves. strftime has a habit of crashing if you have weird values here. I think this fixes bug #4574. svn path=/trunk/; revision=11369
* stip the delto and delfrom (popup_delegate_cb): show a delegate dialog andJP Rosevear2001-07-257-39/+662
| | | | | | | | | | | | | | | | | | | | 2001-07-24 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (value_at): stip the delto and delfrom (popup_delegate_cb): show a delegate dialog and add the new delegatee and update the delegator (add_section): listen for changes in a more direct manner (get_select_name_dialog): add_section now takes a limit argument * gui/dialogs/e-delegate-dialog.[hc]: New dialog to query the user for a person to delegate to * gui/dialogs/Makefile.am: build/install new files * gui/Makefile.am: add ldadd line for ebook svn path=/trunk/; revision=11364
* fixed the test to see whether we should draw the icons.Damon Chaplin2001-07-242-3/+8
| | | | | | | | | 2001-07-21 Damon Chaplin <damon@ximian.com> * gui/e-week-view-event-item.c (e_week_view_event_item_draw): fixed the test to see whether we should draw the icons. svn path=/trunk/; revision=11330
* Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-233-2/+84
| | | | | | | | the ShellComponent interface. Updated the EvolutionShellComponent GTK+ wrapper and all the component accordingly. Get the calendar to use this so it can delete both tasks and calendar folders. svn path=/trunk/; revision=11300
* Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-223-4/+10
| | | | | | | use it, so that e.g. you cannot create a folder of type "mailstorage" or "vtrash". svn path=/trunk/; revision=11298
* Removed unused prototype.Federico Mena Quintero2001-07-203-2/+8
| | | | | | | | | | | | 2001-07-19 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/event-editor.h (event_editor_update_widgets): Removed unused prototype. * gui/dialogs/task-editor.h (task_editor_update_widgets): Likewise. svn path=/trunk/; revision=11251
* free various data related settings (destroy): use cleanup and unref theJP Rosevear2001-07-202-5/+70
| | | | | | | | | | | | | | 2001-07-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (clean_up): free various data related settings (destroy): use cleanup and unref the clients (e_itip_control_set_data): clean up before setting the data and store the timezones in a top level component (update_item): use cal_client_update_objects and our top level (including the timezones) svn path=/trunk/; revision=11246
* updated to use new print icon.Damon Chaplin2001-07-203-1/+7
| | | | | | | | | 2001-07-19 Damon Chaplin <damon@ximian.com> * gui/dialogs/comp-editor.c (pixmaps): * gui/calendar-commands.c (pixmaps): updated to use new print icon. svn path=/trunk/; revision=11244
* don't show the time in the EDateEdit widget for adding EXDATEs.Damon Chaplin2001-07-183-2/+10
| | | | | | | | | | | | | 2001-07-17 Damon Chaplin <damon@ximian.com> * gui/dialogs/recurrence-page.c (init_widgets): don't show the time in the EDateEdit widget for adding EXDATEs. * cal-util/cal-component.c (cal_component_alarm_set_trigger): don't set t.time.is_date to -1. It is a boolean flag, 0 or 1. We probably don't want a date value, so we leave it at 0. svn path=/trunk/; revision=11193
* do not discard drawing icon if mask is NULLRodrigo Moya2001-07-183-2/+10
| | | | | | | | | | | | 2001-07-18 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): do not discard drawing icon if mask is NULL * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): ditto svn path=/trunk/; revision=11190
* find the next displayable component (get_prev): find the previousJP Rosevear2001-07-182-3/+52
| | | | | | | | | | | | | 2001-07-17 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (get_next): find the next displayable component (get_prev): find the previous displayable component (e_itip_control_set_data): use above (prev_clicked_cb): ditto (next_clicked_cb): ditto svn path=/trunk/; revision=11184
* Remove leftover ifdefs - FedericoFederico Mena Quintero2001-07-182-12/+1
| | | | svn path=/trunk/; revision=11183
* oops, save ChangeLog before committing - FedericoFederico Mena Quintero2001-07-181-1/+2
| | | | svn path=/trunk/; revision=11171
* Really fixes #4380. The previous fix was necessary but not sufficient; itFederico Mena Quintero2001-07-186-5/+58
| | | | | | | | | | | | | | | | | | | | | | | 2001-07-17 Federico Mena Quintero <federico@ximian.com> Really fixes #4380. The previous fix was necessary but not sufficient; it worked for me because my system timezone happens to match the Evolution timezone --- if they don't match, the bug would persist. * cal-util/timeutil.c (time_to_gdate_with_zone): New function. We cannot use g_date_set_time() anymore because it does not take timezones into account. * gui/gnome-cal.c (get_days_shown): Use the function above. * gui/e-day-view.c (e_day_view_find_work_week_start): Likewise. * gui/e-week-view.c (e_week_view_set_selected_time_range): Likewise. 2001-07-17 Jon Trowbridge <trow@ximian.com> svn path=/trunk/; revision=11167
* Print a g_message when the list of invited people changes in theJon Trowbridge2001-07-172-2/+20
| | | | | | | | | | | | | 2001-07-17 Jon Trowbridge <trow@ximian.com> * gui/dialogs/meeting-page.c (invite_entry_changed): Print a g_message when the list of invited people changes in the SelectNames control. (add_section): #if 0/#endif out some (broken?) code. (get_select_name_dialog): Listen for changes in the SelectNames control. svn path=/trunk/; revision=11151
* destroy the dialog widget here. Fixes bug #4198.Damon Chaplin2001-07-172-0/+10
| | | | | | | | | 2001-07-17 Damon Chaplin <damon@ximian.com> * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_destroy): destroy the dialog widget here. Fixes bug #4198. svn path=/trunk/; revision=11149
* try to use builtin timezones before getting them from the server. WhenDamon Chaplin2001-07-176-26/+77
| | | | | | | | | | | | | | | | | | | | | | 2001-07-16 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): * gui/dialogs/event-page.c (event_page_fill_widgets): try to use builtin timezones before getting them from the server. When creating new events/tasks the timezones may not be on the server. * gui/dialogs/event-page.c (event_page_fill_widgets): for all-day events we subtract a day from the end date rather than add it. * gui/dialogs/e-timezone-dialog.c (on_map_leave): ignore the event if it isn't a GDK_CROSSING_NORMAL event. For some reason we are getting leave events when the button is pressed, which meant that selecting timezones in the map didn't work. * gui/dialogs/comp-editor-util.c (comp_editor_dates): * gui/print.c (print_date_label): only free icaltimetype if not NULL. svn path=/trunk/; revision=11144
* Removed unused headers - FedericoFederico Mena Quintero2001-07-171-8/+0
| | | | svn path=/trunk/; revision=11139
* Added missing underlined shortcuts.Taylor Hayward2001-07-137-15/+31
| | | | | | | | | | | | | | 2001-07-12 Taylor Hayward <taylorhayward@yahoo.com> * gui/goto-dialog.glade: * gui/meeting-mockup.glade: * gui/alarm-notifyålarm-notify.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/meeting-page.glade: * gui/dialogs/recurrence-page.glade: Added missing underlined shortcuts. svn path=/trunk/; revision=11067
* new protoJP Rosevear2001-07-136-30/+45
| | | | | | | | | | | | | | | | | 2001-07-12 JP Rosevear <jpr@ximian.com> * cal-util/cal-util.h: new proto * cal-util/cal-util.c (cal_util_new_top_level): standard place to get your top level calendar component * pcs/cal-backend-file.c (create_cal): use it * gui/itip-utils.c (itip_send_comp): ditto * gui/e-calendar-table.c (e_calendar_table_copy_clipboard): ditto svn path=/trunk/; revision=11053
* fix typo breaking compilationJP Rosevear2001-07-137-15/+41
| | | | | | | | | | | | | | | 2001-07-12 JP Rosevear <jpr@ximian.com> * gui/e-calendar-table.c (e_calendar_table_copy_clipboard): fix typo breaking compilation * gui/dialogs/meeting-page.c: fix include * gui/dialogs/Makefile.am: build select names idl here * gui/Makefile.am: remove select names compilation from here svn path=/trunk/; revision=11050
* guard against infinite loops with the updating boolean, fixes 4270JP Rosevear2001-07-132-0/+12
| | | | | | | | | 2001-07-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.c (task_details_page_set_dates): guard against infinite loops with the updating boolean, fixes 4270 svn path=/trunk/; revision=11045
* added support for multiple selections in cut/copy/paste. Also, it's nowRodrigo Moya2001-07-133-21/+45
| | | | | | | | | | 2001-07-12 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c: added support for multiple selections in cut/copy/paste. Also, it's now ready for the s/update_object/update_objects change (I think) svn path=/trunk/; revision=11043
* renamed updateObject to updateObjects and removed the UID argument, sinceDamon Chaplin2001-07-1211-39/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-11 Damon Chaplin <damon@ximian.com> * idl/evolution-calendar.idl: renamed updateObject to updateObjects and removed the UID argument, since it can add/update multiple objects at once. (It can't yet, but it will!) * pcs/cal.c: * pcs/cal-backend.[hc]: * pcs/cal-backend-file.c: renamed update_object to update_objects and got rid of the UID arg. * cal-client/cal-client.c (cal_client_update_objects): new function to add/update multiple objects in one go, i.e for iTIP and for importing calendars. * gui/print.c (print_date_label): fixed type bug. * gui/e-week-view.[hc]: * gui/e-week-view-event-item.c: draw the timezone icons if the event's DTSTART or DTEND is in a different timezone to the current one. Note that we may want to change this so it compares the UTC offsets rather than the TZIDs, since currently it will draw the icons for all events coming from iTIP requests from other clients. svn path=/trunk/; revision=11027
* Fixes bug #4380 as well as some leftovers from the days of struct tm andFederico Mena Quintero2001-07-1212-43/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-11 Federico Mena Quintero <federico@ximian.com> Fixes bug #4380 as well as some leftovers from the days of struct tm and some uninitialized values. * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): Initialize the icaltimetype structures completely. (gnome_calendar_init): Do not reset priv->zone to NULL here, since it was set by gnome_calendar_update_config_settings() from setup_widgets(). * gui/calendar-model.c (set_completed): Do not set is_daylight. * gui/e-day-view.c (e_day_view_convert_grid_position_to_time): Likewise. * gui/e-week-view.c (e_week_view_set_timezone): Likewise. * cal-util/cal-recur.c (generate_instances_for_chunk): Likewise, and initialize start_tt and end_tt completely. * cal-util/timeutil.c (time_year_begin_with_zone): Likewise. (time_month_begin_with_zone): Likewise. (time_week_begin_with_zone): Likewise. (time_day_begin_with_zone): Likewise. (time_day_end_with_zone): Likewise. (time_from_isodate): Likewise. * gui/dialogs/task-page.c (task_page_fill_component): Initialize icaltime before using it. * gui/dialogs/event-page.c (event_page_fill_component): Likewise. * gui/dialogs/recurrence-page.c (simple_recur_to_comp): Removed an unused icaltimetype. * gui/dialogs/task-details-page.c (task_details_page_fill_component): Initialize icaltime before using it. svn path=/trunk/; revision=11024
* fix the calendar not exiting with a gross hack because i don't have timeJP Rosevear2001-07-123-0/+42
| | | | | | | | | | 2001-07-11 JP Rosevear <jpr@ximian.com> * gui/component-factory.c: fix the calendar not exiting with a gross hack because i don't have time to fix the ref counting right now svn path=/trunk/; revision=11022
* be careful about adding and stripping MAILTO:'s properlyJP Rosevear2001-07-1211-77/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c: be careful about adding and stripping MAILTO:'s properly * gui/dialogs/meeting-page.etspec: add missing columns * gui/itip-utils.c (itip_strip_mailto): point to the real start of the email address * gui/itip-utils.h: add proto * gui/itip-control-factory.c: get rid of the my address property * gui/e-itip-control.c: use the users real identity to figure out which attendee they are (find_my_address): figure out who the user is among the attendees * gui/e-itip-control.h: remove protos * gui/dialogs/Makefile.am: extra dist etspecs * gui/Makefile.am: ditto svn path=/trunk/; revision=11020
* Added a hack to get the last string translated since xml-i18n-toolsKjartan Maraas2001-07-112-0/+15
| | | | | | | | | 2001-07-11 Kjartan Maraas <kmaraas@gnome.org> * gui/e-calendar-table.c: Added a hack to get the last string translated since xml-i18n-tools doesn't recognize svn path=/trunk/; revision=11000
* Move this higher so that Makefile properly depends on us. Fixes distcheck.Peter Williams2001-07-112-1/+7
| | | | | | | | | 2001-07-10 Peter Williams <peterw@ximian.com> * gui/Makefile.am (BUILT_SOURCES): Move this higher so that Makefile properly depends on us. Fixes distcheck. svn path=/trunk/; revision=10998
* Clarified some things.Jacob Leach2001-07-111-2/+3
| | | | svn path=/trunk/; revision=10987
* [Fix bug #4389: ETableSpecification still in .c file]Jason Leach2001-07-116-93/+54
| | | | | | | | | | | | | | | | | | | | | | 2001-07-11 Jason Leach <jleach@ximian.com> [Fix bug #4389: ETableSpecification still in .c file] * gui/e-calendar-table.etspec: New file containing the spec that was in e-calendar-table.c as a big string. * gui/e-calendar-table.c (e_calendar_table_init): Use the spec file instead of a string. (e_calendar_table_get_spec): Removed this function, we don't need it anymore. * gui/e-tasks.c (e_tasks_setup_menus): Don't load from string, from file instead. * gui/Makefile.am: Necessary changes to get the new .etspec file installed. svn path=/trunk/; revision=10986
* [Fix bug #4388: ETableSpecification still in .c file]Jason Leach2001-07-114-46/+40
| | | | | | | | | | | | | | | | | 2001-07-10 Jason Leach <jleach@ximian.com> [Fix bug #4388: ETableSpecification still in .c file] * gui/dialogs/meeting-page.etspec: New file containing the spec that was previously in meeting-page.c as a string. * gui/dialogs/meeting-page.c: One line change to get it to use this spec file instead of a string. * gui/dialogs/Makefile.am: Necessary changes to get the new meeting-page.etspec installed. svn path=/trunk/; revision=10985
* more timezone updates. I'm pretty much done with the calendar code now,Damon Chaplin2001-07-1122-653/+1030
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-10 Damon Chaplin <damon@ximian.com> * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view-main-item.c: * gui/e-day-view-top-item.c: * gui/e-day-view.[hc]: * gui/e-week-view.c: * gui/gnome-cal.c: * gui/print.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor-util.c: * gui/dialogs/event-page.c: * pcs/cal-backend-file.c: * pcs/query.c: * cal-util/cal-component.[hc]: * cal-util/cal-recur.c: * cal-util/timeutil.[hc]: * cal-client/cal-client.[hc]: more timezone updates. I'm pretty much done with the calendar code now, except for alarms and conduits, which Federico and JP know more about. And there are a couple of other minor things to fix. But it is still pretty buggy. svn path=/trunk/; revision=10984
* Add popup support so you can delete users from the listJP Rosevear2001-07-113-8/+140
| | | | | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c: Add popup support so you can delete users from the list * gui/dialogs/comp-editor.c (setup_widgets): fix typo svn path=/trunk/; revision=10982
* Handle the different alarm actions. (display_notification): Do the alarmFederico Mena Quintero2001-07-115-95/+142
| | | | | | | | | | | | | | | 2001-07-10 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Handle the different alarm actions. (display_notification): Do the alarm notification dialog here. * gui/alarm-notify/alarm-notify-dialog.c (make_heading): Take in a CalComponentVType, not a whole component. (alarm_notify_dialog): Take in a CalComponentVType and the final message instead of generating it ourselves. svn path=/trunk/; revision=10978
* Pass the parent vCalendar component as the timezone closure ofFederico Mena Quintero2001-07-114-6/+35
| | | | | | | | | | | | | | | 2001-07-09 Federico Mena Quintero <federico@ximian.com> * pcs/cal-backend-file.c (generate_alarms_for_comp): Pass the parent vCalendar component as the timezone closure of cal_recur_generate_instances(). * gui/dialogs/alarm-page.c (get_alarm_string): Make the string consistent with the option menu text. (get_alarm_string): Removed extra spaces from the last part of the alarm string. svn path=/trunk/; revision=10961
* Use e_utf8_from_gtk_event_key() so that we can input utf8 text properly.Federico Mena Quintero2001-07-106-16/+49
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-09 Federico Mena Quintero <federico@ximian.com> * gui/e-day-view.c (e_day_view_key_press): Use e_utf8_from_gtk_event_key() so that we can input utf8 text properly. (e_day_view_cut_clipboard): Constify. (e_day_view_on_cut): Constify. (e_day_view_reshape_long_event): Remove unused variable. * gui/e-week-view.c (e_week_view_key_press): Use e_utf8_from_gtk_event_key() so that we can input utf8 text properly. (e_week_view_cut_clipboard): Constify. (e_week_view_on_cut): Constify. * cal-client/cal-client.c (cal_client_resolve_tzid_cb): Fix the prototype so that this matches CalRecurResolveTimezoneFn. Also renamed it so that it is clear that it is supposed to be a callback. svn path=/trunk/; revision=10942
* connect to the entry not the comboJP Rosevear2001-07-075-9/+74
| | | | | | | | | | | | | | | | | | | | 2001-07-06 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (init_widgets): connect to the entry not the combo * gui/dialogs/event-editor.c (set_menu_sens): set menu sensitivities based on whether or not the meeting page is shown (event_editor_init): call above (event_editor_edit_comp): ditto (schedule_meeting_cmd): ditto * gui/dialogs/comp-editor.h: new proto * gui/dialogs/comp-editor.c (comp_editor_set_ui_prop): new function to allow for set of ui props (esp. "sensitive") svn path=/trunk/; revision=10861
* actually clear some widgets and hide/show widgets in the default setupJP Rosevear2001-07-077-119/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-06 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (clear_widgets): actually clear some widgets and hide/show widgets in the default setup (meeting_page_destroy): destroy the address lists (meeting_page_fill_widgets): allow the user to select among their identities as a new organizer, or show the existing organizer as label (meeting_page_fill_component): set the "MAILTO:" bit of the organizer to match spec, set CN properly if we know it (get_widgets): load new widgets (other_clicked_cb): handle "Other Organizer" click (change_clicked_cb): handle "Change Organizer" click (init_widgets): listen for clicks on new buttons * gui/dialogs/comp-editor.c (comp_editor_remove_page): remove the page from our internal list and unref it * gui/itip-utils.c (itip_addresses_get): get the configure mail identities (itip_addresses_free): free a list of identities returned by itip_addresses_get * gui/itip-utils.h: remove obsolete protos, and new protos * gui/gnome-cal.html: Remove ancient file svn path=/trunk/; revision=10856
* Fixes bug #4018 and what would be the analogous bugs for the otherFederico Mena Quintero2001-07-0510-1/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Federico Mena Quintero <federico@ximian.com> Fixes bug #4018 and what would be the analogous bugs for the other component editors. * gui/dialogs/comp-editor-page.h (CompEditorPageClass): New virtual method "::focus_main_widget()". * gui/dialogs/comp-editor-page.c (comp_editor_page_focus_main_widget): New function. * gui/dialogs/comp-editor.c (comp_editor_append_page): If we are inserting the main page, ask it to focus its main widget. * gui/dialogs/alarm-page.c (alarm_page_focus_main_widget): Implemented. * gui/dialogs/event-page.c (event_page_focus_main_widget): Implemented. #include "e-util/e-categories-config.h". * gui/dialogs/meeting-page.c (meeting_page_focus_main_widget): Implemented. * gui/dialogs/recurrence-page.c (recurrence_page_focus_main_widget): Implemented. * gui/dialogs/task-details-page.c (task_details_page_focus_main_widget): Implemented. * gui/dialogs/task-page.c (task_page_focus_main_widget): Implemented. svn path=/trunk/; revision=10784
* New function. (calendar_control_activate): Clear the folder bar label; weFederico Mena Quintero2001-07-052-0/+57
| | | | | | | | | | 2001-07-04 Federico Mena Quintero <federico@ximian.com> * gui/calendar-commands.c (clear_folder_bar_label): New function. (calendar_control_activate): Clear the folder bar label; we really don't have anything interesting to display. svn path=/trunk/; revision=10782
* Add new columns for information specification (meeting_page_destroy): saveJP Rosevear2001-07-047-17/+80
| | | | | | | | | | | | | | | | | | | 2001-07-03 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c: Add new columns for information specification (meeting_page_destroy): save the table state (build_etable): load new table state * gui/dialogs/task-editor.c (task_editor_destroy): unref pages * gui/dialogs/event-editor.c (event_editor_destroy): unref pages * gui/dialogs/comp-editor.c (setup_widgets): kill warning (comp_editor_append_page): ref page passed in (close_dialog): unref pages svn path=/trunk/; revision=10777
* use bonobo-conf everywhereDietmar Maurer2001-07-041-100/+143
| | | | | | | | 2001-07-03 Dietmar Maurer <dietmar@ximian.com> * *: use bonobo-conf everywhere svn path=/trunk/; revision=10760
* fix warning, and added some debug messages.Damon Chaplin2001-07-034-2/+23
| | | | | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * gui/e-day-view.c (query_obj_updated_cb): fix warning, and added some debug messages. * gui/dialogs/comp-editor-util.c (write_label_piece): * gui/e-day-view-top-item.c (e_day_view_top_item_draw): call mktime() to set the weekday, though this is a temporary fix. svn path=/trunk/; revision=10737
* added virtual method to get a VTIMEZONE component given a TZID. We needDamon Chaplin2001-07-037-22/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * pcs/cal-backend.[hc]: added virtual method to get a VTIMEZONE component given a TZID. We need this to resolve TZIDs when expanding an event using cal_recur_generate_instances() in query.c. * pcs/cal-backend-file.c (cal_backend_file_get_timezone): implemented virtual method. (cal_backend_file_update_object): fixed bug, kind -> child_kind. * pcs/query.c (func_occur_in_time_range): use the virtual method for resolving TZIDs. The other way didn't work anyway, as we didn't have the entire VCALENDAR with VTIMEZONEs in it. * gui/dialogs/recurrence-page.c (init_widgets): (make_ending_until_special): moved the call to e_date_edit_set_get_time_callback() from init_widgets to make_ending_until_special(), since that is where the widget gets created. * gui/e-timezone-entry.c (e_timezone_entry_set_timezone): handle zone being NULL. svn path=/trunk/; revision=10732
* New files with the alarm options dialog; this configures theFederico Mena Quintero2001-07-039-7/+1077
| | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/alarm-options.[ch]: New files with the alarm options dialog; this configures the repeat/duration properties and the options specific to each alarm action type. * gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm options button. Also, keep an alarm structure which we are editing and an alarm options dialog. (init_widgets): Connect to the options button. (add_clicked_cb): Clone the component we are editing instead of creating a new one so that we preserve the data from the alarm options dialog. (button_options_clicked_cb): Pop up the alarm options dialog. * cal-util/cal-component.c (cal_component_alarm_new): Doh, initialize the other fields in the new alarm. svn path=/trunk/; revision=10731
* cal-client/cal-client.[hc] cal-util/cal-component.cDamon Chaplin2001-07-0348-537/+2009
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * cal-client/cal-client.[hc] * cal-util/cal-component.c * cal-util/cal-recur.[hc] * cal-util/test-recur.c * cal-util/timeutil.c * gui/calendar-config.c * gui/calendar-model.[hc] * gui/comp-util.[hc] * gui/e-calendar-table.c * gui/e-day-view-main-item.c * gui/e-day-view-top-item.c * gui/e-day-view.[hc] * gui/e-itip-control.c * gui/e-timezone-entry.[hc] * gui/e-week-view.[hc] * gui/gnome-cal.[hc] * gui/goto.c * gui/tag-calendar.[hc] * gui/dialogs/cal-prefs-dialog.c * gui/dialogs/comp-editor-page.[hc] * gui/dialogs/comp-editor-util.[hc] * gui/dialogs/comp-editor.c * gui/dialogs/e-timezone-dialog.[hc] * gui/dialogs/event-page.c * gui/dialogs/meeting-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-details-page.glade * gui/dialogs/task-page.c * idl/evolution-calendar.idl * pcs/cal-backend-file.c * pcs/cal-backend.c * pcs/cal-backend.h * pcs/cal.c * pcs/query.c: timezone changes everywhere. There's still quite a few things to update, and its not working well at present. svn path=/trunk/; revision=10729
* publish free/busy information for the currently viewed time rangeJP Rosevear2001-07-033-8/+118
| | | | | | | | | 2001-07-02 JP Rosevear <jpr@ximian.com> * gui/calendar-commands.c (publish_freebusy_cmd): publish free/busy information for the currently viewed time range svn path=/trunk/; revision=10723
* Made evolution depend on bonobo-conf 0.2.Christopher James Lahey2001-07-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Made evolution depend on bonobo-conf 0.2. From calendar/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS). From composer/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). From shell/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_LDADD): Added $(BONOBO_CONF_LIBS). svn path=/trunk/; revision=10718
* Support for ATTACH, DESCRIPTION properties in alarm components.Federico Mena Quintero2001-07-033-88/+254
| | | | | | | | | | | | | | | | | 2001-07-02 Federico Mena Quintero <federico@ximian.com> Support for ATTACH, DESCRIPTION properties in alarm components. * cal-util/cal-component.c (scan_alarm_property): Deal with ATTACH, DESCRIPTION properties. (cal_component_alarm_get_attach): New function. Libical is actually bogus; supposedly icalattachtype structures are refcounted but the property functions return them by value. (cal_copmonent_alarm_set_attach): New function. (cal_component_alarm_get_description): New function. (cal_component_alarm_set_description): New function. svn path=/trunk/; revision=10714
* Support for repeat/duration properties in alarm components.Federico Mena Quintero2001-07-034-1/+104
| | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Federico Mena Quintero <federico@ximian.com> Support for repeat/duration properties in alarm components. * cal-util/cal-component.h (CalAlarmRepeat): New structure that pairs the repeat/duration values of an alarm component, which must be set both together or not set at all. * cal-util/cal-component.c (CalComponentAlarm): Added fields for the repeat and duration properties. (scan_alarm_property): Scan the DURATION and REPEAT properties. (make_alarm): Nullify/initialize all the fields in the alarm. (cal_component_alarm_get_repeat): New function. (cal_component_alarm_set_repeat): New function. * gui/dialogs/alarm-page.glade: Changed the label of display alarms from "Show a dialog" to "Display a message". svn path=/trunk/; revision=10706
* fill in delegated from fieldJP Rosevear2001-07-033-5/+11
| | | | | | | | | 2001-07-02 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): fill in delegated from field svn path=/trunk/; revision=10701
* use the new self-contained e_categories_config_open_dialog_for_entry()Rodrigo Moya2001-07-037-47/+29
| | | | | | | | | | | | | | | | | 2001-07-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-page.c (categories_clicked_cb): * gui/dialogs/event-page.c (categories_clicked_cb): use the new self-contained e_categories_config_open_dialog_for_entry() function * gui/e-week-view-event-item.c (e_week_view_item_draw_icons): * gui/e-day-view-top-item.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): ditto * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): use e_categories_config_get_icon_for() to retrieve the icon associated with each category svn path=/trunk/; revision=10699
* implementJP Rosevear2001-07-0310-35/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (send_freebusy): implement * cal-util/cal-component.c (set_attendee_list): add the delto property rather than the delfrom property twice * gui/dialogs/task-editor.c (task_editor_edit_comp): show delegation info if appropriate (delegate_task_cmd): delegate command (cancel_task_cmd): cancel command (refresh_task_cmd): refresh command * gui/dialogs/task-details-page.c: Load new widgets (task_details_page_show_delegation): show/hide delegation info widgets * gui/dialogs/task-details-page.h: new proto * gui/dialogs/event-editor.c (event_editor_edit_comp): free attendee list when finished * gui/dialogs/comp-editor.c (setup_widgets): explicitly show the widgets, update pixmaps after the verbs have been added (comp_editor_focus): don't do a show all svn path=/trunk/; revision=10697
* Fixes bug #1406.Federico Mena Quintero2001-07-017-444/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-30 Federico Mena Quintero <federico@ximian.com> Fixes bug #1406. * gui/calendar-config.c (config_read): Handle the options for the task list colors. (calendar_config_write): Ditto. (calendar_config_get_tasks_due_today_color): New function. (calendar_config_set_tasks_due_today_color): New function. (calendar_config_get_tasks_overdue_color): New function. (calendar_config_set_tasks_overdue_color): New function. (calendar_config_configure_e_calendar_table): Use e_table_model_changed() for the colors. * gui/dialogs/cal-prefs-dialog.glade: Updated the options for the task list and alarms. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config): Update the task list settings. (cal_prefs_dialog_update_config): Ditto. * gui/calendar-model.c (get_color): Deal with tasks for today as well as overdue tasks. Make it cleaner, even though we have to duplicate a chunk of is_overdue(). * gui/calendar-commands.c (preferences_cmd): Renamed from properties_cmd(). svn path=/trunk/; revision=10648
* draw icons per categoryRodrigo Moya2001-07-016-0/+135
| | | | | | | | | | | | | | | | | | | | | | 2001-07-01 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): draw icons per category * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): draw icons per category * gui/e-day-view.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): calculate space for category icons * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): draw icons per category * gui/e-week-view.c (e_week_view_reshape_event_span): calculate space for category icons svn path=/trunk/; revision=10646
* fixed clibpoard command activation from the menu entries. CTRL-C andRodrigo Moya2001-07-013-9/+93
| | | | | | | | | | | | | 2001-07-01 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_*_clipboard): fixed clibpoard command activation from the menu entries. CTRL-C and CTRL-X don't work though, since it seems the key presses are being captured by the text item gui/e-week-view.c (e_week_view_*_clipboard): ditto svn path=/trunk/; revision=10641
* Only set the pressed_event_num and pressed_span_num if button 1 wasFederico Mena Quintero2001-07-012-4/+13
| | | | | | | | | | | 2001-06-30 Federico Mena Quintero <federico@ximian.com> * gui/e-week-view-event-item.c (e_week_view_event_item_button_press): Only set the pressed_event_num and pressed_span_num if button 1 was pressed. Fix up return values a bit. This fixes bug #3780. svn path=/trunk/; revision=10637
* Doh, the call for the day view was supposed to beFederico Mena Quintero2001-07-013-10/+21
| | | | | | | | | | | 2001-06-30 Federico Mena Quintero <federico@ximian.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): Doh, the call for the day view was supposed to be gnome_calendar_set_view(), not set_view(). Fixes bug #3779. svn path=/trunk/; revision=10636
* call e_calendar_table_cut_clipboard with the correct objectRodrigo Moya2001-06-302-2/+18
| | | | | | | | | | | | | | 2001-06-30 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-control.c (tasks_control_cut_cmd): call e_calendar_table_cut_clipboard with the correct object (tasks_control_copy_cmd): ditto (sensitize_commands): sensitize clipboard commands based on the number of selected tasks svn path=/trunk/; revision=10631
* new functions for allowing the execution of clipboard-related commandsRodrigo Moya2001-06-286-49/+158
| | | | | | | | | | | | | | | 2001-06-28 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.[ch] (e_calendar_table_cut_clipboard), (e_calendar_table_copy_clipboard), (e_calendar_table_paste_clipboard): new functions for allowing the execution of clipboard-related commands * gui/tasks-control.c (tasks_control_cut_cmd), (tasks_control_copy_cmd), (tasks_control_paste_cmd): added callbacks for the new clipboard-related menu entries svn path=/trunk/; revision=10560
* Re-added removed paramter in call to evolution_shell_component_newRodrigo Moya2001-06-282-0/+2
| | | | svn path=/trunk/; revision=10559
* removed not-uses-anymore parameter in call toRodrigo Moya2001-06-2810-2/+184
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-28 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c: removed not-uses-anymore parameter in call to evolution_shell_component_new * gui/gnome-cal.[ch] (gnome_calendar_cut_clipboard), (gnome_calendar_copy_clipboard), (gnome_calendar_paste_clipboard): new functions for allowing execution of clipboard-related commands * gui/e-day-view.[ch] (e_day_view_cut_clipboard), (e_day_view_copy_clipboard), (e_day_view_paste_clipboard): ditto * gui/e-week-view.[ch] (e_week_view_cut_clipboard), (e_week_view_copy_clipboard), (e_week_view_paste_clipboard): ditto 2001-06-27 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c (cut_event_cmd), (copy_event_cmd), (paste_event_cmd): added callbacks for the new clipboard-related menu entries svn path=/trunk/; revision=10557
* Add method `ShellComponent::handleExternalURI' and anEttore Perazzoli2001-06-283-0/+8
| | | | | | | | | `external_uri_schemas' attribute. Update the EvolutionShellComponent GTK+ wrapper accordingly. Update all the components to pass a NULL `external_uri_schemas' list when initializing themselves as EvolutionShellComponents. svn path=/trunk/; revision=10548
* Bump required gal version for new accessors in ETree.Peter Williams2001-06-283-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-27 Peter Williams <peterw@ximian.com> * configure.in (gal): Bump required gal version for new accessors in ETree. mail: 2001-06-27 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Uncomment EditSelectThread. Yaay! * mail-callbacks.c (select_thread): New function. Self-explanatory name. Implementation is a little hairy. * mail-callbacks.h: Prototype it here. * mail-callbacks.c (invert_selection): Here too. (select_all): Here too. * subscribe-dialog.c (subscribe_select_all): Update to use new ETree accessors. (subscribe_invert_selection): Here too. calendar: 2001-06-27 Peter Williams <peterw@ximian.com> * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir fixes. svn path=/trunk/; revision=10544
* fixed (e_calendar_table_on_copy): fixedRodrigo Moya2001-06-272-38/+23
| | | | | | | | | 2001-06-27 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (selection_received): fixed (e_calendar_table_on_copy): fixed svn path=/trunk/; revision=10529
* Renamed the occur field to occur_start; added an occur_end field. This wayFederico Mena Quintero2001-06-2715-33/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-26 Federico Mena Quintero <federico@ximian.com> * idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur field to occur_start; added an occur_end field. This way we can present the complete times for the occurrence from the server. * cal-util/cal-component.h (CalAlarmInstance): Likewise. * pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new fields appropriately. (generate_absolute_triggers): Likewise; we use -1 in case the component has no DTSTART or DTEND because there are no meaningful occurrence dates here. (fill_alarm_instances_seq): Fill in the new fields. * cal-client/cal-client.c (build_alarm_instance_list): Likewise. * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): Take in both the occur_start and occur_end times. * gui/goto.c (goto_dialog): Free the dlg structure on the bail-out cases. * gui/dialogs/event-page.c (get_widgets): Do not assert if we cannot find the main widget; just return FALSE. * gui/dialogs/alarm-page.c (get_widgets): Likewise. * gui/dialogs/task-page.c (get_widgets): Likewise. * gui/dialogs/task-details-page.c (get_widgets): Likewise. * gui/dialogs/meeting-page.c (get_widgets): Likewise. svn path=/trunk/; revision=10517
* Rest of previous commit (got messed up somehow).Peter Williams2001-06-271-0/+2
| | | | svn path=/trunk/; revision=10512
* libwombat:Peter Williams2001-06-272-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-25 Peter Williams <peterw@ximian.com> * Makefile.am (libwombat_static_la_SOURCES): Create a static libwombat for the conduits. calendar: 2001-06-25 Peter Williams <peterw@ximian.com> * conduits/calendar/Makefile.am (INCLUDES): Fixes for srcdir != builddir. Link to the static libwombat. * conduits/todo/Makefile.am (INCLUDES): Here too. addressbook: 2001-06-25 Peter Williams <peterw@ximian.com> * conduit/Makefile.am (INCLUDES): Fix for srcdir != builddir. svn path=/trunk/; revision=10511
* Shut the fuck up, Donnie. Dude, they peed your fucking rug. - FedericoFederico Mena Quintero2001-06-251-0/+4
| | | | svn path=/trunk/; revision=10457
* Initialize libglade.Federico Mena Quintero2001-06-254-10/+40
| | | | | | | | | | | | | | | | | 2001-06-24 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/notify-main.c (main): Initialize libglade. * pcs/cal-backend-file.c (compute_alarm_range): icaldurationtype_as_int() will now return a negative value if dur->is_neg is true, so we need to flip the sign of some operations here. (add_alarm_occurrences_cb): Likewise. * pcs/cal-backend-db.c (compute_alarm_range): Likewise. (add_alarm_occurrences_cb): Likewise. svn path=/trunk/; revision=10456
* Converted to use BonoboXObject.Federico Mena Quintero2001-06-2520-1693/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-24 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject. * gui/gnome-cal.c (gnome_calendar_open): Ask the alarm notification service to add the calendar and tasks URIs. (add_alarms): New function. * gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the OAFIID. (main): Initialize and shut down gnome-vfs. * gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh. (evolution_calendar_SOURCES): Added the files generated from the IDL. * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function used when an alarm is triggered. * gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files; they are now in gui/alarm-notify. * gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog files. * pcs/cal.c (cal_forget_password): This was incorrectly named cal_client_forget_password(); renamed it. * gui/main.c (main): Initialize and shut down gnome-vfs. svn path=/trunk/; revision=10453
* New function to compare tasks like the Pilot task list.Federico Mena Quintero2001-06-245-14/+129
| | | | | | | | | | | | | | | | | | | | | | | 2001-06-23 Federico Mena Quintero <federico@ximian.com> * gui/e-calendar-table.c (task_compare_cb): New function to compare tasks like the Pilot task list. * cal-util/cal-component.h (CalComponentField): Added a semi-hackish CAL_COMPONENT_FIELD_COMPONENT. In the ETable model, it is intended to return a pointer to the component itself. * gui/calendar-model.c (calendar_model_value_at): Return the component itself for CAL_COMPONENT_FIELD_COMPONENT. Be more paranoid about invalid columns. (calendar_model_set_value_at): Be more paranoid about invalid columns. (calendar_model_duplicate_value): Ref the component field. (calendar_model_initialize_value): Deal with the component field. (calendar_model_value_is_empty): Likewise. (calendar_model_value_to_string): Likewise. svn path=/trunk/; revision=10447
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-23110-143/+143
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Added itip-control-factory.* to the build.Jeffrey Stedfast2001-06-232-0/+6
| | | | | | | | 2001-06-22 Jeffrey Stedfast <fejj@ximian.com> * gui/Makefile.am: Added itip-control-factory.* to the build. svn path=/trunk/; revision=10400
* new function for the backends to be able to call the getPassword method onRodrigo Moya2001-06-235-3/+95
| | | | | | | | | | | 2001-06-22 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal.[ch] (cal_get_password): new function for the backends to be able to call the getPassword method on the associated WombatClient (cal_forget_password): ditto for the forgetPassword method svn path=/trunk/; revision=10396
* changed getFreeBusy method to return a CalObj instead of a sequenceRodrigo Moya2001-06-2210-39/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-22 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: changed getFreeBusy method to return a CalObj instead of a sequence * cal-client/cal-client.[ch] (cal_client_get_free_busy): changed it to work like the cal_client_get_object function, that is, it does not return anymore a list of UIDs, but a CalClientGetStatus code, and added a new parameter for the caller to get the component back when this function returns (cal_client_open): aggregate WombatClient interface to the CalListener being used * pcs/cal-backend-db.c, pcs/cal-backend-file.c (..get_free_busy): set return value to "char *" as it will be returning a FreeBusy object, and not a list of UIDs * pcs/cal-backend.[ch] (cal_backend_get_free_busy): ditto * pcs/cal.c (cal_construct): queryInterface on the listener to obtain the WombatClient interface svn path=/trunk/; revision=10393
* update to new callJP Rosevear2001-06-229-769/+1454
| | | | | | | | | | | | | | | | 2001-06-21 JP Rosevear <jpr@ximian.com> * gui/main.c (main): update to new call * gui/e-itip-control.[hc]: break the widget bits out on their own into a proper object, basic stuff seems to be working again * gui/itip-control-factory.c: put the control specific bits here from e-itip-control.c * gui/itip-control-factory.h: new header svn path=/trunk/; revision=10389
* add include pathJP Rosevear2001-06-222-0/+4
| | | | | | | | 2001-06-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/Makefile.am (gladedir): add include path svn path=/trunk/; revision=10384
* remove buttons and use evolution's standard ui configJP Rosevear2001-06-222-21/+18
| | | | | | | | | | | 2001-06-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (setup_widgets): remove buttons and use evolution's standard ui config * gui/print.c (print_comp_item): print description text svn path=/trunk/; revision=10383
* print description textJP Rosevear2001-06-222-41/+29
| | | | | | | | 2001-06-21 JP Rosevear <jpr@ximian.com> * gui/print.c (print_comp_item): print description text svn path=/trunk/; revision=10382
* create a WombatClient when creating a CalClient object, so that we canRodrigo Moya2001-06-227-1/+184
| | | | | | | | | | | | | | | | | | | | | 2001-06-21 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch]: (cal_client_init): create a WombatClient when creating a CalClient object, so that we can receive authentication notifications from the wombat (cal_client_destroy): destroy the WombatClient object when dying (cal_client_set_auth_func): new function to set the authentication function to be called when a password is required by the calendar server (through the WombatClient object) (cal_client_get_free_busy): new function for calling the new IDL method Cal::getFreeBusy * gui/alarm-notify/Makefile.am: add libwombat to LDADD * gui/Makefile.am: add libwombat to LDADD svn path=/trunk/; revision=10366
* removed conflict marker.Dave Camp2001-06-211-1/+0
| | | | svn path=/trunk/; revision=10344
* Changed attachData to accept a sequence of chars rather than a string.Dave Camp2001-06-212-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-20 Dave Camp <dave@ximian.com> * Evolution-Composer.idl: Changed attachData to accept a sequence of chars rather than a string. * evolution-composer.c (impl_Composer_attach_data): Changed the 'data' argument to a GNOME_Evolution_Composer_AttachmentData, and pass data->_buffer and data->_length to camel_mime_part_set_content(). 2001-06-20 Dave Camp <dave@ximian.com> * gui/itip-utils.c (itip_send_comp): Changed attach_data to be a GNOME_Evolution_Composer_AttachmentData rather than a CORBA_char*. 2001-06-20 Dave Camp <dave@ximian.com> * backend/ebook/e-card.c (e_card_list_send): Changed attach_data to be a GNOME_Evolution_Composer_AttachmentData rather than a CORBA_char*. svn path=/trunk/; revision=10343
* print menu command (print_preview_cmd): ditto for print previewJP Rosevear2001-06-218-6/+526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-20 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (print_cmd): print menu command (print_preview_cmd): ditto for print preview (print_setup_cmd): ditto for print setup (comp_editor_set_cal_client): listen for updated and removed signals (obj_updated_cb): if the item changes else where, query the user for the course of action (obj_removed_cb): ditto for removal * gui/print.c (print_setup): rudimentary page setup support (print_comp): rudimentary individual event/task printing support * gui/print.h: new protos * gui/dialogs/changed-comp.[hc]: dialog to query the user about what to do when a item is changed elsewhere * gui/dialogs/Makefile.am: build new files * gui/dialogs/send-comp.c (send_component_dialog): remove useless assignment svn path=/trunk/; revision=10338
* added getFreeBusy methodRodrigo Moya2001-06-209-0/+327
| | | | | | | | | | | | | | | | | | | | 2001-06-20 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added getFreeBusy method * pcs/cal.c (impl_Cal_get_free_busy): implementation of the new getFreeBusy added method * pcs/cal-backend.[ch]: added new virtual method to the CalBackend class (get_free_busy) * pcs/cal-backend-db.c (cal_backend_db_get_free_busy): new function, not implemented yet * pcs/cal-backend-file.c (cal_backend_file_get_free_busy): new funtion, not implemented yet svn path=/trunk/; revision=10333
* moved the function to check for a default timezone to calendar-config.c,Damon Chaplin2001-06-208-66/+98
| | | | | | | | | | | | | | | 2001-06-20 Damon Chaplin <damon@ximian.com> * gui/calendar-config.[hc]: * gui/gnome-cal.[hc]: * gui/tasks-control.c (tasks_control_activate): * gui/calendar-commands.c (calendar_control_activate): moved the function to check for a default timezone to calendar-config.c, and also used it in the tasks control. * gui/dialogs/e-timezone-dialog.h: #include <gtk/gtkwidget.h> fix. svn path=/trunk/; revision=10325
* added code to show the timezone dialog if the user hasn't set a defaultDamon Chaplin2001-06-206-2/+78
| | | | | | | | | | | | | | 2001-06-20 Damon Chaplin <damon@ximian.com> * gui/calendar-commands.c (calendar_control_activate): * gui/gnome-cal.[hc]: added code to show the timezone dialog if the user hasn't set a default timezone yet. * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_add_timezones): set the "None" item string before adding it to the combo, to stop the combo putting "None" in the entry initially. svn path=/trunk/; revision=10324
* if the timezones of the start and end of the event are the same, then ifDamon Chaplin2001-06-202-0/+63
| | | | | | | | | | | 2001-06-19 Damon Chaplin <damon@ximian.com> * gui/dialogs/event-page.c: if the timezones of the start and end of the event are the same, then if the start timezone is changed we change the end timezone as well, since that is what most users will want. svn path=/trunk/; revision=10323
* removed stuff to get builtin timezone info from the server.Damon Chaplin2001-06-205-168/+22
| | | | | | | | | | | 2001-06-19 Damon Chaplin <damon@ximian.com> * pcs/cal.c: * idl/evolution-calendar.idl: * cal-client/cal-client.[hc]: removed stuff to get builtin timezone info from the server. svn path=/trunk/; revision=10322
* added a 'Time zone' setting. Also rearranged a little, adding a newDamon Chaplin2001-06-2013-346/+327
| | | | | | | | | | | | | | | | | | | 2001-06-19 Damon Chaplin <damon@ximian.com> * gui/dialogs/cal-prefs-dialog.c: added a 'Time zone' setting. Also rearranged a little, adding a new 'General' page, since we had too many settings on the 'Calendar' page. * gui/e-timezone-entry.[hc]: * gui/dialogs/e-timezone-dialog.[hc]: * gui/dialogs/comp-editor.c: * gui/dialogs/comp-editor-page.[hc]: * gui/dialogs/event-page.c: * gui/dialogs/task-details-page.c: * gui/dialogs/task-page.c: removed CalClient stuff. The timezone dialog now uses the timezone data directly from the client's libical library. svn path=/trunk/; revision=10321
* add ui (forward_cmd): implement forward commandJP Rosevear2001-06-203-10/+38
| | | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_init): add ui (forward_cmd): implement forward command * gui/dialogs/comp-editor.c (save_as_ok): bug fix, seems to work now svn path=/trunk/; revision=10315
* add auto exit unrefJP Rosevear2001-06-204-24/+41
| | | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/control-factory.c (control_factory_init): add auto exit unref * gui/component-factory.c (destroy_cb): destroy our selves if we have no more shells (component_factory_init): add auto exit unref svn path=/trunk/; revision=10312
* don't compile or install the old meeting edit stuffJP Rosevear2001-06-207-1590/+10
| | | | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: don't compile or install the old meeting edit stuff * gui/e-week-view.c: ditto * gui/e-day-view.c: Remove scheduling menu option svn path=/trunk/; revision=10311
* add some needed commas (itip_send_comp): if publishing, don't set the toJP Rosevear2001-06-202-8/+31
| | | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c: add some needed commas (itip_send_comp): if publishing, don't set the to list and show the message. unless publishing, just send the email * gui/Makefile.am: remove typo svn path=/trunk/; revision=10310
* remove typoJP Rosevear2001-06-202-1/+5
| | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: remove typo svn path=/trunk/; revision=10301
* ShushJP Rosevear2001-06-201-0/+4
| | | | svn path=/trunk/; revision=10300
* itip/imip send dialogJP Rosevear2001-06-2020-652/+2611
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/send-comp.c: itip/imip send dialog * gui/dialogs/send-comp.h: new proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): only use the weekday picker if visible * gui/dialogs/meeting-page.c: just show the meeting list * gui/dialogs/event-editor.c (event_editor_edit_comp): remove the meeting page if no attendees (schedule_meeting_cmd): schedule a meeting menu item (refresh_meeting_cmd): refresh meeting request menu item (cancel_meeting_cmd): ditto for cancel (forward_cmd): send as attachment * gui/dialogs/comp-editor.c (comp_editor_remove_page): remove page from dialog (comp_editor_show_page): show a given page (comp_editor_get_current_comp): return a cal component representing the current widget state (comp_editor_save_comp): save the cal component (comp_editor_delete_comp): delete the cal component (comp_editor_send_comp): send the cal component (comp_editor_merge_ui): merge xml in to the bonobo gui (setup_widgets): use a bonobo window instead of a gtk window, add menus again (save_as_cmd): save to file on disk - still broken (save_close_cmd): close menu command (save_close_cmd): save and close menu command * gui/dialogs/comp-editor.h: new protos * gui/dialogs/cancel-comp.c (cancel_component_dialog): itip/imip cancellation dialog * gui/dialogs/cancel-comp.h: new proto * gui/dialogs/Makefile.am: build new files * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_needs_send): emit needs_send signal * gui/dialogs/comp-editor-page.h: new signal protos * gui/itip-utils.c (itip_send_comp): new function to send cal components * gui/itip-utils.h: new proto * gui/e-itip-control.c (pstream_load): trim using cal-component wrapper stuff (accept_button_clicked_cb): use itip_send_comp (tentative_button_clicked_cb): ditto (decline_button_clicked_cb): ditto * gui/Makefile.am: compile select name idl stuff * cal-util/cal-component.c (cal_component_get_organizer): get the organizer (cal_component_set_organizer): set the organizer (cal_component_get_recurid): get the recurrence id (cal_component_set_recurid): set the recurrence id (set_attendee_list): actually set the attendee list (get_attendee_list): build the attendee list * cal-util/cal-component.h: new protos svn path=/trunk/; revision=10299
* Sync - FedericoFederico Mena Quintero2001-06-2013-275/+1236
| | | | svn path=/trunk/; revision=10293
* added timezone fields. Also moved the 'All Day' flag into an alignment soDamon Chaplin2001-06-1913-45/+453
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-19 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-details-page.glade: * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: added timezone fields. Also moved the 'All Day' flag into an alignment so it doesn't mess up the height of the other widgets. * gui/dialogs/task-details-page.c: * gui/dialogs/task-page.c: * gui/dialogs/event-page.c: added code to handle the timezone fields. This still needs to be hooked up when the libical code is finished. * gui/dialogs/e-timezone-dialog.c (on_map_leave): new function to clear the preview label and turn off the highlighted point on the map when you move the mouse outside it. (find_selected_point): new function to try to find the point corresponding to the text in the combo. (on_combo_changed): call the above function to update the selected point. (on_map_leave): turn off the preview point & label when the mouse leaves the map. (e_timezone_dialog_set_cal_client): changed it so that selecting "None" clears the entry. * gui/dialogs/comp-editor-page.[hc]: added set_cal_client() virtual method since some pages need to access the CalClient to get timezone information. Also added comp_editor_page_set_cal_client() to call the virtual method. * gui/dialogs/comp-editor.c (comp_editor_set_cal_client): called comp_editor_page_set_cal_client() on each page. * gui/calendar-config.c: added functions to get & set the timezone. svn path=/trunk/; revision=10285
* tweaked for some gnome-pilot api changesEskil Heyn Olsen2001-06-193-9/+10
| | | | svn path=/trunk/; revision=10284
* generate a new UID when pastingRodrigo Moya2001-06-153-0/+17
| | | | | | | | | | | 2001-06-15 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (selection_received): generate a new UID when pasting * gui/e-week-view.c (selection_received): ditto svn path=/trunk/; revision=10246
* Small typoRodrigo Moya2001-06-151-2/+2
| | | | svn path=/trunk/; revision=10245
* Small typoRodrigo Moya2001-06-151-2/+2
| | | | svn path=/trunk/; revision=10244
* finished implementation of Paste stuffRodrigo Moya2001-06-153-9/+81
| | | | | | | | | | | 2001-06-15 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (selection_received): finished implementation of Paste stuff * gui/e-week-view.c (selection_received): ditto svn path=/trunk/; revision=10243
* added popup menu items for cut/copy/pasteRodrigo Moya2001-06-143-9/+131
| | | | | | | | | | 2001-06-14 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.[ch]: added popup menu items for cut/copy/paste * gui/e-week-view.[ch]: ditto svn path=/trunk/; revision=10229
* new widget to enter a timezone.Damon Chaplin2001-06-144-2/+368
| | | | | | | | | | | | 2001-06-14 Damon Chaplin <damon@ximian.com> * gui/e-timezone-entry.[hc]: new widget to enter a timezone. * gui/Makefile.am (evolution_calendar_SOURCES): added the above. * gui/Makefile.am (evolution_calendar_LDADD): had to move libcal-dialogs.a above libmiscwidgets.a to get it to compile. svn path=/trunk/; revision=10228
* new dialog for setting the time zone.Damon Chaplin2001-06-149-0/+1057
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-14 Damon Chaplin <damon@ximian.com> * gui/dialogs/e-timezone-dialog.[hc]: * gui/dialogs/e-timezone-dialog.glade: new dialog for setting the time zone. * gui/dialogs/Makefile.am: added timezone dialog files. * idl/evolution-calendar.idl: added CalTimezoneInfo struct and seq, and getBuiltinTimezoneInfo method. * pcs/cal.c (impl_Cal_get_builtin_timezone_info): implemented method. (cal_class_init): added method to epv. * cal-client/cal-client.c (struct CalClientPrivate): added timezone_info array to contain cached info on builtin timezone city names and coordinates. (cal_client_get_builtin_timezone_info): new function to get the info about builtin timezones. * cal-client/cal-client.h: added CalTimezoneInfo struct, to contain the city names and coords of the builtin timezones. svn path=/trunk/; revision=10223
* remove unnecessary spaceJP Rosevear2001-06-143-1/+11
| | | | | | | | | | | | 2001-06-13 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-util.c (comp_editor_date_label): remove unnecessary space * gui/dialogs/task-page.c (task_page_set_summary): indicate we are updating, Fixes #3307 svn path=/trunk/; revision=10210
* set the completed time in the date editor if appropriateJP Rosevear2001-06-143-5/+33
| | | | | | | | | | | | | | | | | | | | 001-06-13 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.c (task_details_page_set_dates): set the completed time in the date editor if appropriate * gui/dialogs/task-page.c (task_page_set_dates): if we are updating, return (complete_date_changed): don't returns if we are updating - the guards are done in the calling function (status_changed): indicate when we are updating and when we are finished, round the completion time to the nearest minute (percent_complete_changed): indicate when are updating and when we are finished (percent_complete_changed): notify of the date change after the option menu is updated svn path=/trunk/; revision=10208
* added cut&paste support, by using a GtkInvisible widget to manage theRodrigo Moya2001-06-135-1/+211
| | | | | | | | | | | 2001-06-11 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.[ch]: added cut&paste support, by using a GtkInvisible widget to manage the clipboard selections. * gui/e-week-view.[ch]: ditto svn path=/trunk/; revision=10207
* Committing the new My Evolution.Iain Holmes2001-06-094-21/+16
| | | | svn path=/trunk/; revision=10163
* Sync from laptop.JP Rosevear2001-06-073-0/+735
| | | | svn path=/trunk/; revision=10134
* update the blocked/selected days if the starting day of the appointmentJP Rosevear2001-06-053-1/+23
| | | | | | | | | | | | 2001-06-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): update the blocked/selected days if the starting day of the appointment changes, fixes #2188 * gui/dialogs/task-details-page.h: tidy proto svn path=/trunk/; revision=10113
* Fix linking order for `$(DB3_LDADD)'s so that we avoid pullingEttore Perazzoli2001-06-034-5/+14
| | | | | | | functions from a different Berkeley DB library when we really don't mean to. svn path=/trunk/; revision=10105
* no longer build widget-util.*, the code has been movedJP Rosevear2001-06-022-4/+8
| | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: no longer build widget-util.*, the code has been moved svn path=/trunk/; revision=10094
* use new funcJP Rosevear2001-06-029-97/+50
| | | | | | | | | | | | | | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.c (make_date_edit): use new func * gui/dialogs/task-details-page.c (task_details_page_create_date_edit): ditto * gui/dialogs/recurrence-page.c (make_ending_until_special): ditto * gui/dialogs/comp-editor-util.c (comp_editor_new_date_edit): rename date_edit_new function * gui/dialogs/comp-editor-util.h: new proto * gui/dialogs/task-page.c (task_page_set_summary): no longer any need to block/unblock the handler (task_page_create_date_edit): use new func svn path=/trunk/; revision=10093
* ShushJP Rosevear2001-06-021-1/+0
| | | | svn path=/trunk/; revision=10092
* UpdateJP Rosevear2001-06-024-468/+8
| | | | | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/.cvsignore: Update * gui/evolution-calendar-control.c: Remove dead file * gui/*.vcf: Remove dead files svn path=/trunk/; revision=10091
* oops, didn't mean to make that changeJP Rosevear2001-06-021-1/+2
| | | | svn path=/trunk/; revision=10090
* renamed from editor-page for consistency, more complete implementationJP Rosevear2001-06-0236-7753/+3562
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.[hc]: renamed from editor-page for consistency, more complete implementation * gui/dialogs/comp-editor.[hc]: More complete implementation * gui/dialogs/*-page.*: The various pages needed to construct the event and task dialogs * gui/dialogs/comp-editor-util.[hc]: useful utility functions for the component editor pages to use * gui/dialogs/Makefile.am: Build and install new files * gui/event-editor*: Remove, obsoleted by the new comp-editor stuff * gui/dialogs/task-editor-dialog.glade: ditto * gui/e-calendar-table.c (open_task): update to use comp editor stuff * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_edit_object): ditto * gui/Makefile.am: don't build non-existent files nor try to install them svn path=/trunk/; revision=10088
* dittoJP Rosevear2001-06-023-1/+13
| | | | | | | | | | | 2001-06-01 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (e_itip_control_factory_init): ditto * gui/tasks-control-factory.c (tasks_control_factory_init): auto_exit_unref the factory svn path=/trunk/; revision=10087
* Add a bunch of missing `$(DB3_LDADD)'s.Ettore Perazzoli2001-06-022-1/+6
| | | | svn path=/trunk/; revision=10085
* For JPR - FedericoFederico Mena Quintero2001-05-312-0/+256
| | | | svn path=/trunk/; revision=10053
* New function.Federico Mena Quintero2001-05-305-38/+90
| | | | | | | | | | | | | | | | | | | 2001-05-29 Federico Mena Quintero <federico@ximian.com> * gui/e-tasks.c (e_tasks_get_calendar_table): New function. * gui/tasks-control.c (tasks_control_activate): Connect to the "selection_changed" signal of the tasks widget here, not in tasks_control_new(). Also, update the sensitivity of the commands here for the first time. (tasks_control_deactivate): Disconnect from the signal here since it only makes sense to monitor selection changes while the control is active. (selection_changed_cb): Removed hack that tested the presence of the remote UI container. (sensitize_commands): New function. svn path=/trunk/; revision=10049
* new files to contain layout code split off from EDayView an EWeekView, soDamon Chaplin2001-05-2917-1168/+2526
| | | | | | | | | | | | | | | | | | | | | | | | 2001-05-28 Damon Chaplin <damon@ximian.com> * gui/e-week-view-layout.[hc]: * gui/e-day-view-layout.[hc]: new files to contain layout code split off from EDayView an EWeekView, so we can use it for printing. * gui/print.c: rewritten to use the same layout code as the EDayView and EWeekView widgets. * gui/gnome-cal.c (gnome_calendar_get_task_pad_cal_client): added function so we can get the CalClient used for the TaskPad for printing. * gui/Makefile.am (evolution_calendar_SOURCES): added e-day-view-layout.[hc] amd e-week-view-layout.[hc]. * cal-util/timeutil.c (time_week_begin): (time_week_end): added week_start_day argument. * cal-util/cal-recur.c: added comments describing problems in it. svn path=/trunk/; revision=10037
* implemented the 'remove_folder' function for the calendar shell componentRodrigo Moya2001-05-283-5/+355
| | | | | | | | | | 2001-05-27 Rodrigo Moya <rodrigo@ximian.com> * gui/component-factory.c (remove_folder): implemented the 'remove_folder' function for the calendar shell component (xfer_folder): ditto for 'xfer_folder' svn path=/trunk/; revision=10027
* #include "evolution-shell-component-utils.h" rather than "e-gui-utils.h"Dan Winship2001-05-283-2/+10
| | | | | | | | | | * gui/calendar-commands.c: #include "evolution-shell-component-utils.h" rather than "e-gui-utils.h" for e_pixmaps_update. * gui/tasks-control.c: Likewise. svn path=/trunk/; revision=10021
* Reference libeshell.la instead of libeshell.a.Peter Williams2001-05-262-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-25 Peter Williams <peterw@ximian.com> * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * gui/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Change libeshell from a noinst_LIBRARIES to a lib_LTLIBRARIES. Install its headers in $includedir/evolution/shell. * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string in libeutil. This way libeshell doesn't have a missing symbol when programs that don't have libeutil link to it. (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g. svn path=/trunk/; revision=10007
* Finished porting from the old event-editor.c. Made it store a clone of theFederico Mena Quintero2001-05-248-29/+1229
| | | | | | | | | | | | | | | | | | | 2001-05-23 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/recurrence-page.c: Finished porting from the old event-editor.c. Made it store a clone of the component for when we need to expand the recurrence set. 2001-05-22 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/event-page.c (event_page_get_dates): New function. * gui/dialogs/editor-page.c (editor_page_set_dates): Renamed from editor_page_set_dtstart(); now sets both DTSTART and DTEND. * gui/dialogs/alarm-page.c (alarm_page_set_dates): Ahem, it is a svn path=/trunk/; revision=9953
* Fix bug #2831; the tasks toolbar and menu now have a button to delete theFederico Mena Quintero2001-05-226-59/+213
| | | | | | | | | | | | | | | | | | | | | | 2001-05-21 Federico Mena Quintero <federico@ximian.com> Fix bug #2831; the tasks toolbar and menu now have a button to delete the selected tasks. * gui/e-calendar-table.c (e_calendar_table_delete_selected): New function. (delete_cb): Use e_calendar_table_delete_selected(). (e_calendar_table_get_table): New function. * gui/tasks-control.c (tasks_control_new_task_cmd): Handle the delete command. (selection_changed_cb): Change the sensitivity of the TasksDelete command when the selection in the table changes. * gui/e-tasks.c (table_selection_change_cb): Notify upstream when the ETable selection changes. svn path=/trunk/; revision=9910
* Fix bug #2829.Federico Mena Quintero2001-05-196-141/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-18 Federico Mena Quintero <federico@ximian.com> Fix bug #2829. * gui/dialogs/delete-comp.c (delete_component_dialog): Allow the caller to specify whether just one or many components are to be deleted. * gui/e-calendar-table.c (tasks_popup_one): Popup menu definition for when one and only one task is selected. (tasks_popup_many): Likewise, for more than one task. (e_calendar_table_on_right_click): Do not create a structure for the closure data; we can simply pass the cal_table. Use a different menu depending on the number of selected tasks. (mark_as_complete_cb): Renamed; now iterates over the selected rows. (delete_selected_components): New function to delete all the selected components. (delete_cb): Adjusted for delete_component_dialog(). (open_task): New function, simply open a CalComponent in the task editor. (open_task_by_row): Renamed; use open_task(). * gui/e-week-view.c (e_week_view_on_delete_appointment): Updated for delete_component_dialog(). * gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise. svn path=/trunk/; revision=9886
* Removed editor-page.[ch]Duncan Mak2001-05-171-0/+5
| | | | svn path=/trunk/; revision=9864
* *** empty log message ***Duncan Mak2001-05-171-2/+0
| | | | svn path=/trunk/; revision=9862
* Split the event and task editors into different objects for the separateFederico Mena Quintero2001-05-1721-638/+5239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-16 Federico Mena Quintero <federico@ximian.com> Split the event and task editors into different objects for the separate pages; this way they can be shared by both editors. * gui/dialogs/editor-page.[ch]: New abstract class for a page in a calendar component editor. * gui/dialogs/event-page.[ch]: Main page of an event editor. * gui/dialogs/alarm-page.[ch]: Alarm page of a calendar component editor. * gui/dialogs/recurrence-page.[ch]: Recurrence page of a calendar component editor. * gui/dialogs/event-page.c (event_page_fill_widgets): Eeek, this was missing a bunch of break statements. (event_page_fill_component): Use a temporary variable rather than allocating a struct icaltimetype. * gui/dialogs/alarm-page.c (get_alarm_string): Do not use fixed-size buffers. (alarm_page_fill_widgets): Use cal_obj_uid_list_free(). (append_reminder): Now the list stores the plain CalComponentAlarm structures in the row data. We do *NOT* want to be frobbing the component's data directly. Rather, we clone the alarms from the component and maintain them on our own. (alarm_page_fill_component): Clone the alarms before adding them to the component so that we maintain the invariant that the alarm structures in the list did *not* come from the component. * cal-util/cal-component.c (cal_component_add_alarm): Added documentation. (cal_component_remove_alarm): Added documentation. (cal_component_remove_alarm): Do a lookup in our hash table of alarms instead of scanning the whole component. (CalComponentAlarm): Removed the `parent' field, since it was unused. (cal_component_free_alarm_uids): Removed function, since cal_component_get_alarm_uids() is documented so that the user will know that he must use cal_obj_uid_list_free(). (cal_component_alarm_clone): New function. svn path=/trunk/; revision=9861
* switch on the correct widget and mapJP Rosevear2001-05-102-1/+17
| | | | | | | | | 2001-05-09 JP Rosevear <jpr@ximian.com> * gui/event-editor.c (reminder_add_cb): switch on the correct widget and map svn path=/trunk/; revision=9735
* free the alarm component if it doesn't have a parent, rather than if itJP Rosevear2001-05-093-5/+15
| | | | | | | | | | | | | 2001-05-08 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_alarm_free): (cal_component_alarm_free): free the alarm component if it doesn't have a parent, rather than if it does * gui/Makefile.am: sanitize LD_ADDS and CFLAGS so the libtool lines are shorter (fixes problem on solaries due to sed) svn path=/trunk/; revision=9720
* unref the property bag when we finish with itJP Rosevear2001-05-094-2/+6
| | | | | | | | | | | | | | | 2001-05-08 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (e_itip_control_factory): unref the property bag when we finish with it * gui/evolution-calendar-control.c (calendar_properties_init): ditto * gui/control-factory.c (calendar_properties_init): ditto * gui/calendar-summary.c (create_summary_view): ditto svn path=/trunk/; revision=9719
* Convert to bonobo xobjectJP Rosevear2001-05-085-495/+224
| | | | | | | | | | 2001-05-07 JP Rosevear <jpr@ximian.com> * pcs/cal-factory.[hc]: Convert to bonobo xobject * pcs/cal.[hc]: Convert to bonobo xobject svn path=/trunk/; revision=9703
* use define from widgets/misc/e-filter-bar.h instead of own enumeration andGediminas Paulauskas2001-05-084-60/+59
| | | | | | | | | | | | | | | | | | | | | | | | 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gui/component/addressbook.c: use define from widgets/misc/e-filter-bar.h instead of own enumeration and search menu names. * gui/component/Makefile.am, gui/component/select-names/Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gui/event-editor.c (make_title_from_comp): conversion summary from utf8 here, use translated strings as is. (set_title_from_comp): reflect this, simplify. * gui/dialogs/task-editor.c: updated copies of above functions here. * gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for consistency in "Show all". svn path=/trunk/; revision=9693
* unref the calcomponent when we're done with itJP Rosevear2001-05-043-8/+22
| | | | | | | | | | | | 2001-05-04 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (calendar_model_append_row): unref the calcomponent when we're done with it * cal-util/cal-component.c (cal_component_gen_uid): free the iso date string when we finish with it svn path=/trunk/; revision=9670
* remove hardcoded values (edit_attendee): ditto, and there are only 4 rolesJP Rosevear2001-04-284-27/+38
| | | | | | | | | | | | | | 2001-04-27 JP Rosevear <jpr@ximian.com> * gui/e-meeting-edit.c (put_property_in_list): remove hardcoded values (edit_attendee): ditto, and there are only 4 roles now * gui/e-meeting-dialog.glade: tweak * gui/itip-utils.c: There shouldn't be an "other" role svn path=/trunk/; revision=9616
* use enums not hard code valuesJP Rosevear2001-04-273-2/+6
| | | | | | | | | 2001-04-26 JP Rosevear <jpr@ximian.com> * gui/e-meeting-edit.c (edit_attendee): use enums not hard code values svn path=/trunk/; revision=9613
* icalparameter_new_rsvp now takes an enumJP Rosevear2001-04-272-1/+6
| | | | | | | | | 2001-04-26 JP Rosevear <jpr@ximian.com> * gui/e-meeting-edit.c (add_button_clicked_cb): icalparameter_new_rsvp now takes an enum svn path=/trunk/; revision=9612
* the value type should be inited with ICAL_VALUE_* rather than ICAL_*_VALUEJP Rosevear2001-04-272-3/+9
| | | | | | | | | | 2001-04-26 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_alarm_set_trigger): the value type should be inited with ICAL_VALUE_* rather than ICAL_*_VALUE because it is a param argument. svn path=/trunk/; revision=9611
* Replace "<" by "<=" in the comparison for due dates against the currentFederico Mena Quintero2001-04-273-3/+17
| | | | | | | | | | | | | | | | 2001-04-26 Federico Mena Quintero <federico@ximian.com> * gui/calendar-model.c (get_is_overdue): Replace "<" by "<=" in the comparison for due dates against the current time. This makes tasks appear immediately as red when you click Now in the due date popup field. This is not a complete solution to the more general problem of tasks staying the same color even if they become overdue while the task list remains the same on the screen. This has been logged as bug #2399. svn path=/trunk/; revision=9606
* Merge build fix from the branch:Ettore Perazzoli2001-04-272-0/+5
| | | | | | | Add `$(EXTRA_GNOME_CFLAGS)' to the include path list for building the dialogs (we use GAL there). svn path=/trunk/; revision=9598
* Remove UNICODE_LIBSDan Winship2001-04-273-2/+7
| | | | | | | | | * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Remove UNICODE_LIBS * cal-client/Makefile.am (client_test_LDADD): Remove -lunicode svn path=/trunk/; revision=9588
* Fixed Strftime so it uses the locale prefered way to display date/time.Duncan Mak2001-04-252-1/+7
| | | | | | | | * gui/alarm-notify/notify-main.c (funny_trigger_cb): Fixed Strftime so it uses the locale prefered way to display date/time. ("%x %X" instead of "%Y/%m/%d %H:%M:%S") svn path=/trunk/; revision=9553
* translate "Things to do" etc. and convert them to utf8. Changed some linkGediminas Paulauskas2001-04-222-13/+24
| | | | | | | | | 2001-04-21 Gediminas Paulauskas <menesis@delfi.lt> * gui/calendar-summary.c: translate "Things to do" etc. and convert them to utf8. Changed some link from helixcode to ximian. svn path=/trunk/; revision=9491
* Hot builddir != srcdir loving action.Ettore Perazzoli2001-04-194-1/+15
| | | | svn path=/trunk/; revision=9444
* Connect to the "changed" signal of the categories entry so that they willFederico Mena Quintero2001-04-184-9/+53
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-17 Federico Mena Quintero <federico@ximian.com> * gui/event-editor.c (init_widgets): Connect to the "changed" signal of the categories entry so that they will be applied correctly. (EventEditorPrivate): Added fields for the contacts button and entry. (init_widgets): Disable the contacts widgets as we do not support them yet. (get_widgets): Get the contacts widgets. * gui/dialogs/task-editor.c (get_widgets): Get the contacts button, which was missing. (init_widgets): Disable the contacts widgets as we do not support them yet. * pcs/query.c (matches_text_list): Use e_utf8_strstrcasedecomp() instead of plain e_utf8_strstrcase(). (matches_summary): Likewise. svn path=/trunk/; revision=9436
* the libical action stuff uses enums rather than strings to enumerate theJP Rosevear2001-04-182-15/+36
| | | | | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_alarm_set_action): the libical action stuff uses enums rather than strings to enumerate the various actions now (cal_component_alarm_get_action): ditto svn path=/trunk/; revision=9429
* Pull up fix from the branch:Ettore Perazzoli2001-04-182-0/+7
| | | | | | | Add the CORBA_GENERATED files to the SOURCES for the alarm notify daemon. svn path=/trunk/; revision=9405
* Add EXTRA_GNOME_CFLAGS, for gal.Dan Winship2001-04-172-0/+5
| | | | | | * pcs/Makefile.am (INCLUDES): Add EXTRA_GNOME_CFLAGS, for gal. svn path=/trunk/; revision=9395
* Create the ESearchBar thingy. (search_bar_query_changed_cb): Build theFederico Mena Quintero2001-04-165-18/+482
| | | | | | | | | | | | | | | | | | | | | 2001-04-15 Federico Mena Quintero <federico@ximian.com> * gui/gnome-cal.c (setup_widgets): Create the ESearchBar thingy. (search_bar_query_changed_cb): Build the different queries based on the type and string. * pcs/query.c (backend_obj_updated_cb): Ref the query while we are notifying the listener so that it will not disappear from under us. (backend_obj_removed_cb): Likewise. (process_component_cb): Likewise. (func_contains): New function to match text fields. (matches_comment): New function to match comment lists. (matches_description): New function to match description lists. (matches_summary): New function to match summaries. (matches_any): New function to match any text field. (func_has_categories): New function to match categories. svn path=/trunk/; revision=9340
* Do this everywhere, also fixup CLEANFILESMichael Meeks2001-04-143-0/+10
| | | | | | | | | | Do this everywhere, also fixup CLEANFILES 2001-04-14 Michael Meeks <michael@ximian.com> * Makefile.am (dist-hook): remove built sources from dist. svn path=/trunk/; revision=9309
* Fix the syntactic bogon here, and attempt to fix the logical bogon too.Dan Winship2001-04-142-2/+10
| | | | | | | | | | * cal-util/timeutil.c (time_from_isodate): Fix the syntactic bogon here, and attempt to fix the logical bogon too. (tm_gmtoff and timezone have opposite signs... I'm assuming Federico tested the Linux case, so I'm flipping the sign of the BSD case. But maybe he didn't and it's supposed to be the other way...) svn path=/trunk/; revision=9300
* New function to restart a query for the day view. (query_obj_updated_cb):Federico Mena Quintero2001-04-1311-284/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-12 Federico Mena Quintero <federico@ximian.com> * gui/e-day-view.c (update_query): New function to restart a query for the day view. (query_obj_updated_cb): Renamed from obj_updated_cb(); updated for queries instead of calendar clients. (query_obj_removed_cb): Likewise. (cal_opened_cb): Just update_query() instead of queueing reloading all the events. (e_day_view_set_cal_client): Likewise. (e_day_view_set_query): Likewise. (e_day_view_set_selected_time_range): Likewise. (e_day_view_set_days_shown): Likewise. (e_day_view_recalc_work_week): Likewise. (e_day_view_queue_reload_events): Removed function now that events are updated entirely by the query. (e_day_view_reload_events_idle_cb): Likewise. (e_day_view_reload_events): Likewise. (e_day_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW. * gui/e-week-view.c: Analogous changes to the ones in e-day-view.c. (e_week_view_init): Use a pretty arrow instead of GDK_TOP_LEFT_ARROW. * cal-util/timeutil.c (isodate_from_time_t): Return a g_strdup()ed version of the string instead of a pointer to a static buffer. (time_from_isodate): Resurrected function. Polished up to our current standards of paranoia. * pcs/query.c (func_time_now): New function (time-now). (func_make_time): New function (make-time ISODATE). (func_time_add_day): New function (time-add-day TIME N). (func_time_day_begin): New function (time-day-begin TIME). (func_time_day_end): New function (time-day-end TIME). (func_occur_in_time_range): Use time_t values instead of ints. (match_component): Free the stringized component. Free the ESexp result value. * gui/e-day-view.h: Removed a couple of unused prototypes. * pcs/query.c (query_destroy): Oops, disconnect from the backend. * pcs/cal.c (Cal_get_query): Duplicate the query reference before we return it. * gui/calendar-commands.c (pixmaps): Fixed paths to image files. svn path=/trunk/; revision=9266
* prepend to both changes and change_ids when different and mark asJP Rosevear2001-04-122-2/+8
| | | | | | | | | | 2001-04-11 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c (cal_backend_file_compute_changes): prepend to both changes and change_ids when different and mark as modified, not added svn path=/trunk/; revision=9246
* Fix this to just send the data to the wombat instead of inserting itChristopher James Lahey2001-04-112-44/+26
| | | | | | | | | | 2001-04-11 Christopher James Lahey <clahey@ximian.com> * gui/calendar-model.c (calendar_model_append_row): Fix this to just send the data to the wombat instead of inserting it ourselves. svn path=/trunk/; revision=9223
* Display fixes, thanks to Kjartan for finding these.Gediminas Paulauskas2001-04-113-21/+26
| | | | | | | | | | | | | | 2001-04-11 Gediminas Paulauskas <menesis@delfi.lt> Display fixes, thanks to Kjartan for finding these. * gui/event-editor.c: use simple (not e_utf8_) gtk_clist_append for strings which are never in utf-8. * dialogs/delete-comp.c (delete_component_dialog): convert only summary from utf-8 to gtk charset. Translated values are in correct craset already. svn path=/trunk/; revision=9219
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-057-48/+46
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here. Same here. Same here. Same here. Same here. SameKjartan Maraas2001-04-0515-0/+78
| | | | | | | | | | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * gui/calendar-commands.c: Fix headers. * gui/calendar-config.c: Same here. * gui/calendar-model.c: Same here. * gui/e-day-view-time-item.c: Same here. * gui/e-day-view-top-item.c: Same here. * gui/e-day-view.c: Same here. * gui/e-meeting-edit.c: Same here. * gui/e-week-view-main-item.c: Same here. * gui/e-week-view.c: Same here. * gui/event-editor.c: Same here. * gui/gnome-cal.c: Same here. * gui/goto.c: Same here. * gui/main.c: Same her. * gui/print.c: Same here. svn path=/trunk/; revision=9180
* Plug leak.Federico Mena Quintero2001-04-0313-25/+942
| | | | | | | | | | | | | | | | | 2001-04-02 Federico Mena Quintero <federico@ximian.com> * gui/e-tasks.c (e_tasks_setup_menus): Plug leak. * gui/event-editor.c (obj_updated_cb): Do nothing for now until we think of something sensible to do. (obj_removed_cb): Likewise. * gui/dialogs/task-editor.c (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. * gui/event-editor.c (dialog_to_comp_object): Plug leak. svn path=/trunk/; revision=9124
* Plug leak.Federico Mena Quintero2001-04-032-61/+81
| | | | | | | | 2001-04-02 Federico Mena Quintero <federico@ximian.com> * gui/event-editor.c (dialog_to_comp_object): Plug leak. svn path=/trunk/; revision=9117
* Blessed by Ettore.Gediminas Paulauskas2001-04-023-39/+41
| | | | | | | | | | | | | | Guided by Jacub Stener's mail, where he explaned which icons were renamed or added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash and Executive summary folder type icons. Fixed art/Makefile.am for these changes. Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made all components and dialogs use cache and not load pixmaps every time. Accidentally got a couple of includes fix in, but they won't break anything. svn path=/trunk/; revision=9092
* Engine for live queries to calendars. A query object watches a CalBackendFederico Mena Quintero2001-03-3011-15/+1173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Federico Mena Quintero <federico@ximian.com> Engine for live queries to calendars. A query object watches a CalBackend in the PCS and is otherwise completely separate from it; backends need to do nothing to support live queries. Right now we have the following functions: (get-vtype) Returns a string indicating the type of component (VEVENT, VTODO, VJOURNAL, VFREEBUSY, VTIMEZONE, UNKNOWN). (occur-in-time-range? START END) START - int, time_t start of the time range END - int, time_t end of the time range Returns a boolean indicating whether the component has any occurrences in the specified time range. * idl/evolution-calendar.idl (Cal::getQuery): New method that initiates a live query. (Query): New interface for a handle to a live query. (QueryListener): New interface for a listener to changes in a live query. * pcs/query.[ch]: New files with the live query engine. * pcs/cal-backend.h (CalBackendClass): Added notification signals so that the query system can catch them. (CalBackendClass): New virtual method ::get_load_state(). * pcs/cal-backend.c (cal_backend_opened): (cal_backend_obj_updated): (cal_backend_obj_updated): New functions to emit the notification signals; to be used only by backend implementations. (cal_backend_get_load_state): New function. * pcs/cal-backend-file.c (notify_update): Call cal_backend_obj_updated(). (notify_remove): Call call_backend_obj_removed(). (open_cal): Free the icalcomp if it is not of the correct type. (cal_backend_file_get_load_state): Implemented new method. * pcs/cal-backend-db.c (cal_backend_db_update_object): Call cal_backend_obj_updated(). (cal_backend_db_remove_object): Call cal_backend_obj_removed(). (cal_backend_db_get_load_state): Implemented new method. * pcs/cal.c (Cal_get_query): Implementation of the ::getQuery() method. svn path=/trunk/; revision=9013
* A mockup of how meeting scheduling and editting should work. This design is ↵Anna Dirks2001-03-291-0/+488
| | | | | | basically outlookish. svn path=/trunk/; revision=8995
* fixed button placement to comply with gnome standards.Anna Marie Dirks2001-03-282-6/+11
| | | | | | | | 001-03-27 Anna Marie Dirks <anna@ximian.com> * gui/e-itip-control.c: fixed button placement to comply with gnome standards. svn path=/trunk/; revision=8983
* fixed spacing and label alignment to comply with gnome standards. AlsoAnna Marie Dirks2001-03-282-129/+105
| | | | | | | | | | | | 2001-03-27 Anna Marie Dirks <anna@ximian.com> * gui/e-itip-control.glade: fixed spacing and label alignment to comply with gnome standards. Also removed shadows from extraneous scrolled windows to avoid bevelitous. There are many more changes that need to happen to this viewer, but they all require a hacker to do some c-coding, so I will avoid committing them until after the .10 release. svn path=/trunk/; revision=8981
* Replace includes of <gnome.h>, <bonobo.h> and <gtk/gtk.h> with the neededKjartan Maraas2001-03-2624-32/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-26 Kjartan Maraas <kmaraas@gnome.org> * cal-client/client-test.c: Replace includes of <gnome.h>, <bonobo.h> and <gtk/gtk.h> with the needed headers to speed up compile. * cal-util/test-recur.c: Same here for <gtk/gtk.h> * gui/calendar-commands.c: Replace <bonobo.h> and remove <libgnorba/gnorba.h> * gui/calendar-summary.c: Replace <gnome.h> and <bonobo.h> * gui/calendar-summary.h: Added <bonobo/bonobo-generic-factory.h> * gui/component-factory.c: Remove <bonobo.h> * gui/control-factory.c: Replace <bonobo.h> * gui/e-calendar-table.c: Remove <gnome.h> * gui/e-itip-control.c: Replace <gnome.h> and <bonobo.h> * gui/e-meeting-edit.c: Replace <bonobo.h> * gui/e-tasks.c: Replace <gnome.h> * gui/e-tasks.h: Replace <bonobo.h> * gui/gnome-cal.h: Remove <bonobo.h> * gui/main.c: Replace <bonobo.h> and <glade/glade.h> * gui/tasks-control-factory.c: Replace <bonobo.h> * gui/tasks-control.c: Replace <gnome.h> and <bonobo.h> * gui/weekday-picker.c: Add <string.h> and <libgnome/gnome-defs.h> * gui/alarm-notify/client-main.c: Remove <gnome.h> and <bonobo.h> * gui/alarm-notify/notify-main.c: Replace <gnome.h> and <bonobo.h> * gui/dialogs/alarm-notify-dialog.c: Replace <gnome.h> * pcs/cal-backend.c: Replace <gtk/gtk.h> svn path=/trunk/; revision=8937
* The model_rows_{inserted,deleted} signals changed names; deal with it.Federico Mena Quintero2001-03-258-58/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-25 Federico Mena Quintero <federico@ximian.com> * gui/e-calendar-table.c (e_calendar_table_init): The model_rows_{inserted,deleted} signals changed names; deal with it. (e_calendar_table_on_rows_inserted): Updated for new ETable API. (e_calendar_table_on_rows_deleted): Likewise. * gui/gnome-cal.h (GnomeCalendarOpenMode): Removed unused enum. * gui/gnome-cal.c (gnome_calendar_open): Constify. * gui/calendar-commands.c (calendar_set_uri): Removed function, since it was just calling gnome_calendar_open(). * gui/control-factory.c (set_prop): Replace usage of calendar_set_uri() with gnome_calendar_open(). (load_calendar): Likewise. (calendar_persist_init): Made static. * gui/e-tasks.c: #include "calendar-config.h" (e_tasks_update_all_config_settings): We are configuring a table, not a calendar! Use the appropriate function. svn path=/trunk/; revision=8928
* Added ShowWeekView, ShowMonthView, ShowDay, ShowWorkWeek to the View menu.Miguel de Icaza2001-03-186-95/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Miguel de Icaza <miguel@ximian.com> * evolution-calendar.xml: Added ShowWeekView, ShowMonthView, ShowDay, ShowWorkWeek to the View menu. * evolution.xml, evolution-mail.xml: Provide "Actions" in the toplevel evolution. Fill in Actions/Component in Evolution-mail (no visual changes, just internal changes). * evolution-calendar.xml: Added Actions menu. Added New Verb EditNewEvent. 2001-03-17 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_new_event, e_day_view_on_new_appointment): Simplifed this function to use the shared code. * gui/e-week-view.c (e_week_view_on_new_event, e_week_view_on_new_appointment): ditto. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): New function used to launch editor components with a time range. A bunch of functions use this code now instead of duplicating code all over the place svn path=/trunk/; revision=8794
* Moved functionality here from e_day_view_on_new_appointment. AllowsMiguel de Icaza2001-03-175-17/+139
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-17 Miguel de Icaza <miguel@ximian.com> * gui/e-week-view.c (e_week_view_new_event): Moved functionality here from e_day_view_on_new_appointment. Allows setting for "full day" event. (e_week_view_on_new_full_day): New function for making a full day event. (e_week_view_on_goto_date): Go To support. (e_week_view_on_goto_today): Goto today support. * gui/e-day-view.c (e_day_view_new_event): Moved functionality here from e_day_view_on_new_appointment. Allows setting for "full day" event. (e_day_view_on_new_full_day): New function for making a full day event. (e_day_view_on_goto_date): Go To support. (e_day_view_on_goto_today): Goto today support. * main_items: Add New All Day Event; Go to Today; Go to Date. svn path=/trunk/; revision=8778
* New function: inits the BonoboPersistFile server.Miguel de Icaza2001-03-173-1/+46
| | | | | | | | | | | | | | | 2001-03-07 Miguel de Icaza <miguel@ximian.com> * gui/control-factory.c (calendar_persist_init): New function: inits the BonoboPersistFile server. * gui/GNOME_Evolution_Calendar.oaf.in: Added BonoboPropertyBag to the list of supported interfaces that were supported but not reported. Add the new PersistFile. Add text/calendar mime type attribute. svn path=/trunk/; revision=8771
* Update arguments to e_canvas_item_grab_focus.Dan Winship2001-03-163-2/+8
| | | | | | | | * gui/e-week-view.c (e_week_view_start_editing_event): * gui/e-day-view.c (e_day_view_start_editing_event): Update arguments to e_canvas_item_grab_focus. svn path=/trunk/; revision=8748
* Removed .oafinfo files -- they are obsolete. Moved pixmaps fromGediminas Paulauskas2001-03-1513-309/+18
| | | | | | | | | | | | 2001-03-15 Gediminas Paulauskas <menesis@delfi.lt> Removed .oafinfo files -- they are obsolete. Moved pixmaps from calendar/gui/ to art/ Moved evolution.png to art/ Moved evolution.desktop.in to data/ Generate doc/devel/executive-summary/Makefile svn path=/trunk/; revision=8727
* create doc/devel/executive-summary/MakefileGediminas Paulauskas2001-03-152-0/+15
| | | | | | | | | | | | | 2001-03-14 Gediminas Paulauskas <menesis@delfi.lt> * configure.in: create doc/devel/executive-summary/Makefile * doc/C/Makefile.am: there's no apx-fdl.sgml and evolution-guide.sgml anymore * filter/filter-system-flag.c: translate status flag title. svn path=/trunk/; revision=8714
* PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and removeJP Rosevear2001-03-138-758/+12
| | | | | | | | | | | 2001-03-09 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8651
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-084-9/+16
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-071-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* keep list of all Tasks folders so we can update the preference settingsDamon Chaplin2001-03-0519-386/+715
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-05 Damon Chaplin <damon@ximian.com> * gui/e-tasks.c: keep list of all Tasks folders so we can update the preference settings when necessary. * gui/gnome-cal.c: configure the TaskPad according to the settings. * gui/e-calendar-table.c: use ECellCombo and ECellDateEdit for fields, so the tasks folders is almost usable now. * gui/calendar-model.c: added support for the Status property. * gui/calendar-config.[hc]: added convenience functions to setup ECalendarTable and ECellDateEdit objects. * gui/calendar-commands.c: connected to "destroy" signal of calendars so we can remove them from all_calendars list. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): call e_tasks_update_all_config_settings() to update all the settings in the Tasks folders as well. * cal-util/cal-component.h: added CAL_COMPONENT_FIELD_STATUS. * cal-util/cal-component.c (cal_component_get_transparency): fixed calls to strcasecmp so they check for '== 0'. Applied patch from Miguel... 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. svn path=/trunk/; revision=8549
* install conduit iconsJP Rosevear2001-03-035-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 JP Rosevear <jpr@ximian.com> * art/Makefile.am: install conduit icons 2001-03-02 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: update sed script * conduit/e-address.conduit.in: update for new pilot foo 2001-03-02 JP Rosevear <jpr@ximian.com> * conduits/todo/e-todo.conduit.in: update for new pilot foo * conduits/calendar/e-calendar.conduit.in: ditto * conduits/todo/Makefile.am: update sed script * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8529
* When when when when when when oh WHEN will I remember to add the files - ↵Federico Mena Quintero2001-03-021-0/+180
| | | | | | Federico svn path=/trunk/; revision=8457
* New function to set the EDateEdit's value when a row is selected in theFederico Mena Quintero2001-03-014-13/+74
| | | | | | | | | | | | | | | | | 2001-02-28 Federico Mena Quintero <federico@ximian.com> * gui/event-editor.c (recurrence_exception_select_row_cb): New function to set the EDateEdit's value when a row is selected in the exception date list. Fixes bug #1638. (append_exception): Set the value as well. Block/unblock signals from the clist as appropriate. Gotta love non-model/view widgets. (recurrence_exception_delete_cb): Be more paranoid about the contents of the list row's data. (recur_to_comp_object): Likewise. (fill_exception_widgets): Select the first row after we are done appending the exception dates. svn path=/trunk/; revision=8430
* Create a little stand-alone library for the low-level alarm triggerFederico Mena Quintero2001-02-277-413/+31
| | | | | | | | | | | | | | | | | | | | | | 2001-02-26 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/Makefile.am (libalarm_a_SOURCES): Create a little stand-alone library for the low-level alarm trigger mechanism. This is so that the GUI parts of the calendar can use it in addition to the alarm daemon. * gui/main.c: #include "alarm-notify/alarm.h". * gui/calendar-summary.c: Likewise. (alarm_fn): Do not remove the previous alarm; it is removed automatically when it is triggered. * gui/Makefile.am (evolution_calendar_SOURCES): Removed alarm.[ch] from the sources. * gui/alarm.[ch]: Removed obsolete files. svn path=/trunk/; revision=8394
* Switched to using our own refcounted structure for loaded clients.Federico Mena Quintero2001-02-2415-242/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-23 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify.c (AlarmNotify_addCalendar): Switched to using our own refcounted structure for loaded clients. (AlarmNotify_removeCalendar): Ditto. Also, do the full destruction of the client. (alarm_notify_destroy): Destroy each element in the hash table. * cal-client/cal-client.c (cal_client_construct): Test for exceptions from OAF when activating the Wombat calendar factory. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.oaf.in: New .oaf.in file. * gui/alarm-notify/Makefile.am (oaf_in_files): Updated. * gui/GNOME_Evolution_Calendar.oaf.in: Put all the servers here instead of in a million files. * gui/GNOME_Evolution_Calendar_Control.oaf.in: Removed file. * gui/GNOME_Evolution_Calendar_gnomecal.oaf.in: Removed *REALLY* obsolete file. * gui/Makefile.am (oaf_in_files): Updated. svn path=/trunk/; revision=8375
* fixed generation of history recordsRodrigo Moya2001-02-242-2/+42
| | | | | | | | 2001-02-23 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c (add_history): fixed generation of history records svn path=/trunk/; revision=8370
* IMAP subscriptions stuff.Aaron Weber2001-02-231-0/+1
| | | | | | | | 2001-02-23 Aaron Weber <aaron@helixcode.com> * C/usage-mail.sgml: IMAP subscriptions stuff. svn path=/trunk/; revision=8366
* Added a `registered' field. (cal_factory_oaf_register): New function; nowFederico Mena Quintero2001-02-216-5/+149
| | | | | | | | | | | | 2001-02-16 Federico Mena Quintero <federico@ximian.com> * pcs/cal-factory.c (CalFactoryPrivate): Added a `registered' field. (cal_factory_oaf_register): New function; now the factory performs its own registration with OAF. (cal_factory_destroy): Unregister from OAF if appropriate. svn path=/trunk/; revision=8308
* Oops, forgotten bits from last commitJP Rosevear2001-02-202-2/+2
| | | | svn path=/trunk/; revision=8294
* Remove PISOCK_LIBDIRJP Rosevear2001-02-203-2/+8
| | | | | | | | | | | | | | 001-02-19 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: Remove PISOCK_LIBDIR * conduits/calendar/Makefile.am: ditto 2001-02-19 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: Remove PISOCK_LIBDIR svn path=/trunk/; revision=8287
* close DB environment. Some compilation warnings removedRodrigo Moya2001-02-172-14/+33
| | | | | | | | | 2001-02-16 Rodrigo Moya <rodrigo@ximian.com> * pcs/calbackend-db.c (cal_backend_db_destroy): close DB environment. Some compilation warnings removed svn path=/trunk/; revision=8254
* Ignore generated .oaf filesDan Winship2001-02-151-1/+4
| | | | | | * various .cvsignore files: Ignore generated .oaf files svn path=/trunk/; revision=8237
* Added libmenus.la.Christopher James Lahey2001-02-147-9/+82
| | | | | | | | | | | | | | | | | 2001-02-13 Christopher James Lahey <clahey@ximian.com> * gui/Makefile.am (evolution_calendar_LDADD): Added libmenus.la. * gui/e-calendar-table.c, gui/e-calendar-table.h (e_calendar_table_get_spec): Added this function. * gui/e-tasks.c, gui/e-tasks.h (e_tasks_setup_menus): Added this function. * gui/tasks-control.c (tasks_control_activate): Call e_tasks_setup_menus. svn path=/trunk/; revision=8219
* call task_editor_focusJP Rosevear2001-02-142-1/+6
| | | | | | | | 2001-02-13 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_new_task): call task_editor_focus svn path=/trunk/; revision=8217
* Set toolbar new appointment icon (set_pixmap): load files rather thanJP Rosevear2001-02-147-222/+45
| | | | | | | | | | | | | | | | | | 2001-02-13 JP Rosevear <jpr@ximian.com> * gui/calendar-commands.c (update_pixmaps): Set toolbar new appointment icon (set_pixmap): load files rather than create from xpm file * gui/*view.xpm: move to the art directory 2001-02-13 JP Rosevear <jpr@ximian.com> * art/Makefile.am: install new files * art/*view.xpm: add files from calendar/gui svn path=/trunk/; revision=8216
* implementedRodrigo Moya2001-02-142-38/+78
| | | | | | | | | 2001-02-13 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c (cal_backend_db_get_alarms_for_object): implemented svn path=/trunk/; revision=8213
* Missing change log bitJP Rosevear2001-02-141-0/+2
| | | | | | | | 2001-02-13 JP Rosevear <jpr@ximian.com> * gui/e-calendar-table.c: Add titles to pixbuf column for grouping svn path=/trunk/; revision=8212
* override value to string virtual method (calendar_model_value_to_string):JP Rosevear2001-02-143-6/+53
| | | | | | | | | | | 2001-02-13 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (calendar_model_class_init): override value to string virtual method (calendar_model_value_to_string): implement value to string for etable (necessary for group by) svn path=/trunk/; revision=8211
* cal_backend_db_update_object(): manage both updates and additions/addRodrigo Moya2001-02-132-194/+496
| | | | | | | | | | | | | 2001-02-12 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c: cal_backend_db_update_object(): manage both updates and additions/add notification cal_backend_db_get_object(): don't use DB cursors cal_backend_db_get_type_by_uid(): don't use DB cursors cal_backend_db_remove_object(): don't use DB cursors/add notification cal_backend_db_get_alarms_in_range(): implemented svn path=/trunk/; revision=8204
* Hook up the xml-i18n-tools + .oaf.in stuff. Marked strings forKjartan Maraas2001-02-135-13/+25
| | | | | | | | | 2001-02-12 Kjartan Maraas <kmaraas@gnome.org> * gui/Makefile.am: Hook up the xml-i18n-tools + .oaf.in stuff. * gui/GNOME_Evolution_Calendar*.oaf.in: Marked strings for translation. svn path=/trunk/; revision=8185
* added DB3 transactions supportRodrigo Moya2001-02-131-29/+145
| | | | | | | | 2001-02-11 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.c: added DB3 transactions support svn path=/trunk/; revision=8184
* added the new DB3-based backend. This is just the beginning, there areRodrigo Moya2001-02-134-0/+1058
| | | | | | | | | 2001-02-11 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-db.[ch]: added the new DB3-based backend. This is just the beginning, there are some missing things still. svn path=/trunk/; revision=8182
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-1128-351/+45
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* Oops, remove old widgetJP Rosevear2001-02-094-80/+8
| | | | | | | | 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor-dialog.glade: Oops, remove old widget svn path=/trunk/; revision=8133
* fill in new classification stuff properly (get_widgets): load new class.JP Rosevear2001-02-099-1603/+1711
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (fill_widgets): fill in new classification stuff properly (get_widgets): load new class. widgets (init_widgets): if the class. widgets change, mark the dialog dirty (dialog_to_comp_object): set the comp class. from the new widgets * gui/dialogs/task-editor-dialog.glade: Make more consistent, fixing bugs 1247 and 1249 * gui/dialogs/task-editor.c (fill_widgets): * gui/event-editor-dialog.glade: Gui tidying * gui/event-editor.c: Remove old alarm cruft * cal-util/cal-component.c (cal_component_set_url): Don't try and write an empty string as a property svn path=/trunk/; revision=8132
* Move the get_change code hereJP Rosevear2001-02-094-149/+191
| | | | | | | | | | | | | | | | | 2001-02-08 JP Rosevear <jpr@ximian.com> * pcs/cal-backend-file.c: Move the get_change code here * pcs/cal-backend.c: Remove get_changes related stuff and implement by calling the virtual method instead * pcs/cal-backend.h: New virtual method. * pcs/cal-backend-file.c (compute_alarm_range): Use icaldurationtype_as_int (replace _as_timet) (add_alarm_occurrences_cb): ditto svn path=/trunk/; revision=8123
* More 0.9 stuffJP Rosevear2001-02-092-0/+35
| | | | | | | | | | | 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (e_week_view_on_schedule_meet): new routine to throw up the meeting schedule dialog (e_week_view_show_popup_menu): add schedule meeting to the contextual menu where appropriate svn path=/trunk/; revision=8117
* Pull up from 0.9 branchJP Rosevear2001-02-0910-1380/+1214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-08 JP Rosevear <jpr@ximian.com> * gui/event-editor.c: Remove assorted menu/bonobo stuff * gui/dialogs/task-editor.c: Remove assorted menu/bonobo stuff (task_editor_construct): no longer suck out the glade contents into a bonobo win, listen for apply and close signals (tedit_apply_event_cb): listen for apply signal and save object (tedit_close_event_cb): listen for close signal and prompt to save if need be (task_editor_focus): new function to bring the dialog to the front * gui/dialogs/task-editor.h: new prototype * gui/e-meeting-edit.c (schedule_button_clicked_cb): no need to update widgets in the event editor since the event editor won't be open (e_meeting_editor_new): don't need the event editor reference any more * gui/e-meeting-edit.h: Change prototype * gui/e-day-view.c (e_day_view_on_event_right_click): Make schedule meeting a new contextual menu item (e_day_view_on_schedule_meet): new routine to schedule a meeting from the contextual menu * gui/e-calendar-table.c (e_calendar_table_open_task): Call task_editor_focus * gui/event-editor-dialog.glade: Update to be a property box * gui/dialogs/task-editor-dialog.glade: Update to be a property box svn path=/trunk/; revision=8115
* Fix the title and icon bug, and sort the UIDs into order beforeIain Holmes2001-02-082-1/+144
| | | | | | displaying them. svn path=/trunk/; revision=8054
* Pulling stuff up from the branchJP Rosevear2001-02-079-36/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-06 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_set_categories): If the categories string is empty, remove the property (get_period_list): Fixes from clahey to handle the new rdate format in libical (set_period_list): ditto 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/event-editor.c (fill_reminder_widgets): Match new append_alarm signature (reminder_to_comp_object): only add alarms tagged as new, no longer delete all alarms first (append_reminder): the row data is now of type ReminderData, rename from append_alarm (reminder_add_cb): math new append_alarm signature (reminder_delete_cb): if the alarm existed before the dialog was loaded, delete it immediately from the cal component 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/event-editor-dialog.glade: Gui tweaks for bugs 1248 and 1246 * gui/dialogs/task-editor-dialog.glade: ditto 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (e_week_view_show_popup_menu): Make the menus more consistent * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-calendar-table.c: ditto svn path=/trunk/; revision=8037
* If the categories string is empty, remove the property (get_period_list):JP Rosevear2001-02-072-11/+19
| | | | | | | | | | | | 2001-02-06 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_set_categories): If the categories string is empty, remove the property (get_period_list): Fixes from clahey to handle the new rdate format in libical (set_period_list): ditto svn path=/trunk/; revision=8023
* Oops, that shouldn't have gone inJP Rosevear2001-02-072-11/+0
| | | | svn path=/trunk/; revision=8021
* Match new append_alarm signature (reminder_to_comp_object): only addJP Rosevear2001-02-074-22/+61
| | | | | | | | | | | | | | | | 2001-02-06 JP Rosevear <jpr@ximian.com> * gui/event-editor.c (fill_reminder_widgets): Match new append_alarm signature (reminder_to_comp_object): only add alarms tagged as new, no longer delete all alarms first (append_reminder): the row data is now of type ReminderData, rename from append_alarm (reminder_add_cb): math new append_alarm signature (reminder_delete_cb): if the alarm existed before the dialog was loaded, delete it immediately from the cal component svn path=/trunk/; revision=8020
* Set the time and duration values in the trigger to null by defaultJP Rosevear2001-02-062-1/+10
| | | | | | | | | | | 2001-02-05 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.c (cal_component_alarm_set_trigger): Set the time and duration values in the trigger to null by default (cal_component_free_alarm_uids): properly free the list of alarm uids svn path=/trunk/; revision=8005
* get the new reminder widgets (sync_entries): different callback dataJP Rosevear2001-02-0611-675/+776
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-05 JP Rosevear <jpr@ximian.com> * gui/event-editor.c (get_widgets): get the new reminder widgets (sync_entries): different callback data (summary_changed_cb): take different data and handle various cases (init_widgets): connect signals for the new widgets (get_alarm_duration_string): give a text string of the alarm duration (get_alarm_string): give a string representing the alarm (fill_widgets): make sure we don't loop infinitely and remove old alarm cruft (reminder_to_comp_object): dump alarm info in the gui into the cal component (append_alarm): add alarm to the clist (reminder_add_cb): create new alarm (reminder_delete_cb): remove the alarm from the list * gui/event-editor-dialog.glade: Update gui * gui/e-calendar-table.c: include gnome.h for all the menu stuff * gui/calendar-summary.c: for internationalization * gui/tasks-control.c: include gnome.h * gui/e-tasks.c: ditto * gui/e-itip-control.c: ditto * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Update for libical changes svn path=/trunk/; revision=8003
* Fixed up these #includes.Christopher James Lahey2001-02-062-1/+7
| | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Fixed up these #includes. svn path=/trunk/; revision=7997
* gnome_dialog_grab_focus() on the Yes button. Fixes bug #1242.Federico Mena Quintero2001-02-042-3/+10
| | | | | | | | | 2001-02-03 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): gnome_dialog_grab_focus() on the Yes button. Fixes bug #1242. svn path=/trunk/; revision=7947
* Mark a string for translation. Mark a bunch of strings for translation.Kjartan Maraas2001-01-303-20/+26
| | | | | | | | | 2001-01-30 Kjartan Maraas <kmaraas@gnome.org> * gui/e-calendar-table.c: Mark a string for translation. * gui/e-itip-control.c: Mark a bunch of strings for translation. svn path=/trunk/; revision=7911
* Add a #include <sys/time.h> to work around libgnomeprint.h's lack ofEttore Perazzoli2001-01-302-0/+5
| | | | | | it. svn path=/trunk/; revision=7907
* <gnome.h> trimming to reduce compilation time. Likewise. Likewise.Federico Mena Quintero2001-01-3022-24/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-29 Federico Mena Quintero <federico@ximian.com> * gui/calendar-config.c: <gnome.h> trimming to reduce compilation time. * gui/calendar-summary.c: Likewise. * gui/e-calendar-table.c: Likewise. * gui/e-day-view-time-item.c: Likewise. * gui/e-day-view.c: Likewise. * gui/e-itip-control.c: Likewise. * gui/e-meeting-edit.c: Likewise. * gui/e-meeting-edit.h: Likewise. * gui/e-tasks.c: Likewise. * gui/e-week-view.c: Likewise. * gui/event-editor.c: Likewise. * gui/gnome-cal.c: Likewise. * gui/goto.c: Likewise. * gui/itip-utils.h: Likewise. * gui/main.c: Likewise. * gui/popup-menu.c: Likewise. * gui/print.c: Likewise. * gui/tasks-control-factory.c: Likewise. * gui/tasks-control.c: Likewise. * gui/tasks-migrate.c: Likewise. svn path=/trunk/; revision=7896
* Added Slovak messagesStano Visnovsky2001-01-303-0/+6
| | | | svn path=/trunk/; revision=7893
* <gnome.h> trimming to reduce compilation time. Ditto. Ditto. Ditto. Ditto.Federico Mena Quintero2001-01-299-9/+32
| | | | | | | | | | | | | | 2001-01-25 Federico Mena Quintero <federico@ximian.com> * cal-util/timeutil.c: <gnome.h> trimming to reduce compilation time. * gui/dialogs/task-editor.c: Ditto. * gui/dialogs/cal-prefs-dialog.c: Ditto. * gui/dialogs/save-comp.c: Ditto. * gui/dialogs/delete-comp.c: Ditto. * gui/calendar-commands.c: Ditto. * gui/calendar-model.c: Ditto. svn path=/trunk/; revision=7880
* Fixed a crash that could happen when destroying a control without anyEttore Perazzoli2001-01-272-2/+9
| | | | | | ical component in it. svn path=/trunk/; revision=7846
* don't tag the calendar if no dates are shown.Damon Chaplin2001-01-252-6/+19
| | | | | | | | | 2001-01-25 Damon Chaplin <damon@ximian.com> * gui/tag-calendar.c: don't tag the calendar if no dates are shown. (e_calendar_item_get_date_range() now returns FALSE in this case.) svn path=/trunk/; revision=7800
* make sure the status is set to "Completed". Fixes bug #1253.Damon Chaplin2001-01-243-10/+35
| | | | | | | | | | | | | | | | | | | 2001-01-23 Damon Chaplin <damon@helixcode.com> * gui/calendar-model.c (ensure_task_complete): make sure the status is set to "Completed". Fixes bug #1253. * gui/e-tasks.c (e_tasks_open): load the ETable state after opening the tasks folder, since it relies on the folder uri, which isn't set now until you open the folder. * gui/calendar-model.c (obj_updated_cb): add the categories from the updated object to our tree, and emit the "categories-changed" signal if they have changed. Fixes bug #1255. * gui/e-tasks.c: removed debug messages. svn path=/trunk/; revision=7771
* libical import cleanupJP Rosevear2001-01-2412-48/+52
| | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * libical import cleanup svn path=/trunk/; revision=7753
* properly ref the cal component when we use it, prevents double freeJP Rosevear2001-01-233-1/+10
| | | | | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (local_record_from_comp): properly ref the cal component when we use it, prevents double free * conduits/calendar/calendar-conduit.c (local_record_from_comp): ditto svn path=/trunk/; revision=7741
* compile new stuffJP Rosevear2001-01-236-22/+105
| | | | | | | | | | | | | | | | | | 2001-01-22 JP Rosevear <jpr@ximian.com> * gui/dialogs/Makefile.am: compile new stuff * gui/dialogs/task-editor.c (prompt_to_save_changes): use new standard dialog * gui/event-editor.c (prompt_to_save_changes): ditto * gui/dialogs/save-comp.h: new header * gui/dialogs/save-comp.c (save_component_dialog): shows the save dialog svn path=/trunk/; revision=7733