aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #2829.Federico Mena Quintero2001-05-195-141/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* *** 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-1718-554/+5101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-1/+1
| | | | | | | | | 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-091-4/+5
| | | | | | | | | | | | | 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
* use define from widgets/misc/e-filter-bar.h instead of own enumeration andGediminas Paulauskas2001-05-083-60/+48
| | | | | | | | | | | | | | | | | | | | | | | | 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-041-0/+2
| | | | | | | | | | | | 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-283-27/+28
| | | | | | | | | | | | | | 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-272-2/+1
| | | | | | | | | 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-271-1/+1
| | | | | | | | | 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
* Replace "<" by "<=" in the comparison for due dates against the currentFederico Mena Quintero2001-04-272-3/+5
| | | | | | | | | | | | | | | | 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-271-0/+1
| | | | | | | Add `$(EXTRA_GNOME_CFLAGS)' to the include path list for building the dialogs (we use GAL there). svn path=/trunk/; revision=9598
* Fixed Strftime so it uses the locale prefered way to display date/time.Duncan Mak2001-04-251-1/+1
| | | | | | | | * 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-221-13/+19
| | | | | | | | | 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-192-0/+4
| | | | svn path=/trunk/; revision=9444
* Connect to the "changed" signal of the categories entry so that they willFederico Mena Quintero2001-04-182-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Pull up fix from the branch:Ettore Perazzoli2001-04-181-0/+2
| | | | | | | Add the CORBA_GENERATED files to the SOURCES for the alarm notify daemon. svn path=/trunk/; revision=9405
* Create the ESearchBar thingy. (search_bar_query_changed_cb): Build theFederico Mena Quintero2001-04-163-11/+188
| | | | | | | | | | | | | | | | | | | | | 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-141-0/+3
| | | | | | | | | | 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
* New function to restart a query for the day view. (query_obj_updated_cb):Federico Mena Quintero2001-04-135-265/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix this to just send the data to the wombat instead of inserting itChristopher James Lahey2001-04-111-44/+20
| | | | | | | | | | 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-112-21/+16
| | | | | | | | | | | | | | 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-0514-0/+61
| | | | | | | | | | | | | | | | | | | | | 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-033-2/+21
| | | | | | | | | | | | | | | | | 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-031-1/+1
| | | | | | | | 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-022-39/+35
| | | | | | | | | | | | | | 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
* 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-281-6/+6
| | | | | | | | 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-281-129/+97
| | | | | | | | | | | | 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-2620-27/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-257-58/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-185-95/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-174-17/+119
| | | | | | | | | | | | | | | | | | | | | | | | 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-172-1/+35
| | | | | | | | | | | | | | | 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-162-2/+2
| | | | | | | | * 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-1512-309/+11
| | | | | | | | | | | | 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
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-083-9/+11
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* keep list of all Tasks folders so we can update the preference settingsDamon Chaplin2001-03-0516-384/+661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-013-13/+61
| | | | | | | | | | | | | | | | | 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-276-413/+13
| | | | | | | | | | | | | | | | | | | | | | 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-2412-230/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-212-2/+59
| | | | | | | | | | | | 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
* 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-146-9/+69
| | | | | | | | | | | | | | | | | 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-141-1/+2
| | | | | | | | 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-146-222/+35
| | | | | | | | | | | | | | | | | | 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
* override value to string virtual method (calendar_model_value_to_string):JP Rosevear2001-02-142-6/+46
| | | | | | | | | | | 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
* Hook up the xml-i18n-tools + .oaf.in stuff. Marked strings forKjartan Maraas2001-02-134-13/+20
| | | | | | | | | 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
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-1118-270/+1
| | | | | | | | | | | | | | | | | 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-093-80/+4
| | | | | | | | 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-097-1602/+1688
| | | | | | | | | | | | | | | | | | | | | | | 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
* More 0.9 stuffJP Rosevear2001-02-091-0/+28
| | | | | | | | | | | 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-099-1372/+1161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+137
| | | | | | displaying them. svn path=/trunk/; revision=8054
* Pulling stuff up from the branchJP Rosevear2001-02-078-36/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Match new append_alarm signature (reminder_to_comp_object): only addJP Rosevear2001-02-071-22/+38
| | | | | | | | | | | | | | | | 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
* get the new reminder widgets (sync_entries): different callback dataJP Rosevear2001-02-068-675/+737
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-061-1/+3
| | | | | | | | 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-041-3/+5
| | | | | | | | | 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-302-20/+21
| | | | | | | | | 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-301-0/+1
| | | | | | it. svn path=/trunk/; revision=7907
* <gnome.h> trimming to reduce compilation time. Likewise. Likewise.Federico Mena Quintero2001-01-3021-24/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* <gnome.h> trimming to reduce compilation time. Ditto. Ditto. Ditto. Ditto.Federico Mena Quintero2001-01-297-8/+21
| | | | | | | | | | | | | | 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-271-2/+3
| | | | | | ical component in it. svn path=/trunk/; revision=7846
* don't tag the calendar if no dates are shown.Damon Chaplin2001-01-251-6/+14
| | | | | | | | | 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-242-10/+20
| | | | | | | | | | | | | | | | | | | 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-246-35/+35
| | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * libical import cleanup svn path=/trunk/; revision=7753
* compile new stuffJP Rosevear2001-01-235-22/+91
| | | | | | | | | | | | | | | | | | 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
* Fix bug #1250; now we present a confirmation dialog before deleting theFederico Mena Quintero2001-01-221-7/+11
| | | | | | | | | 2001-01-21 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/task-editor.c (file_delete_cb): Fix bug #1250; now we present a confirmation dialog before deleting the component. svn path=/trunk/; revision=7684
* Fix bug #1243. Turn on the Y expand/fill options for the date widgets inFederico Mena Quintero2001-01-212-29/+28
| | | | | | | | | | | | | 2001-01-20 Federico Mena Quintero <federico@ximian.com> * gui/event-editor-dialog.glade: Fix bug #1243. Turn on the Y expand/fill options for the date widgets in the General page. This makes them be vertically aligned with the "All day event" toggle so that they will get the focus in the proper order; the toggle would get the focus before them because it was a pixel or two above them. svn path=/trunk/; revision=7668
* Unset the GTK_CAN_FOCUS flag on the weekday picker. This will do until itFederico Mena Quintero2001-01-201-0/+2
| | | | | | | | | | 2001-01-19 Federico Mena Quintero <federico@ximian.com> * gui/weekday-picker.c (weekday_picker_init): Unset the GTK_CAN_FOCUS flag on the weekday picker. This will do until it supports being used with the keyboard. svn path=/trunk/; revision=7664
* New files with a simple sequence to migrate the task components from theFederico Mena Quintero2001-01-1912-1424/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-18 Federico Mena Quintero <federico@ximian.com> * gui/tasks-migrate.[ch]: New files with a simple sequence to migrate the task components from the old calendar folder into the new tasks folder. * gui/component-factory.c (owner_set_cb): Call tasks_migrate() once evolution_dir is set. It sucks to have to do this here. * cal-client/cal-client.c (cal_client_get_uids): In the inline docs, indicate how to free the return value. (cal_opened_cb): Ahem, moved assertion to the right place. Also, ref() and unref() around our own signal emission because we are not inside a signal handler, rather a simple callback from the listener object; we want to have a chance to clean up even if the client is unrefed during the emission. * gui/Makefile.am (evolution_calendar_SOURCES): Added tasks-migrate.[ch] to the list of sources. 2001-01-17 Federico Mena Quintero <federico@ximian.com> * gui/event-editor.c (init_widgets): Use e_calendar_item_set_max_days_sel() instead of setting GTK+ object arguments. * gui/e-day-view.c (e_day_view_set_cal_client): Oops, we had a reversed test for the client being loaded. * gui/tag-calendar.c (tag_calendar_by_client): Fixed similarly reversed test. svn path=/trunk/; revision=7622
* gui/e-week-view*.c don't use the theme colors at all within the graphicalDamon Chaplin2001-01-188-97/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Damon Chaplin <damon@helixcode.com> * gui/e-week-view*.c * gui/e-day-view*.c: don't use the theme colors at all within the graphical parts of the widgets, since they may clash with our colors. May make them configurable in future so people can tweak them to go with their theme. At least the calendars are usable in any theme now, even though the colors may not go well with the theme. Also set the font of all the EText items in style_set. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): don't draw the icons if we are editing the event. * gui/e-day-view.c: * gui/e-week-view.c: reinstated the optimizations so we don't do a complete relayout if the event's dates haven't been changed. (Though we still do a re-layout when recurring events change, since comparing all the RDATES/RRULES/EXDATES/EXRULES is too much hassle.) A side-effect of this change is that the EWeekView won't crash so often - only recurring events will be a problem. * cal-util/cal-component.[hc]: added function to check if the start and end dates of a component match. Used for optimizing the updating of the EDayView & EWeekView. svn path=/trunk/; revision=7593
* Ximianified email addresses and copyrights.Federico Mena Quintero2001-01-1764-559/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * */*: Ximianified email addresses and copyrights. * idl/evolution-calendar.idl (CalFactory::open): Renamed from ::load(), and added an only_if_exists argument. (CalFactory::create): Removed method. (Listener::OpenStatus): Removed the IN_USE error and replaced it with a NOT_FOUND one; renamed the enum from LoadStatus. (Listener::notifyCalOpened): Renamed from notifyCalLoaded(). * pcs/cal-backend.h (CalBackend): Removed the uri field. (CalBackendOpenStatus): Renamed from CalBackendLoadStatus and added a NOT_FOUND value. (CalBackendClass::open): Put in a slot for the open method. * pcs/cal-backend.c (cal_backend_create): Removed function. * pcs/cal-backend-file.c (cal_backend_file_open): Return the appropriate value when only_if_exists is TRUE. (create_cal): We are Ximian now, so set the PRODID property to the appropriate foo. * pcs/cal-factory.c (CalFactory_open): implemented, replacing CalFactory_load() and CalFactory_create(). (CalFactory_open): Moved the queue_load_create_job() stuff to here, since we now only need to contemplate the open case instead of load/create ones. (open_backend): Do everything here; replaces load_backend() and create_backend(). * cal-client/cal-listener.h (CalListenerClass::cal_opened): Renamed from cal_loaded. (CalListenerClass): Replaced the silly signals, which are gratuitous abstraction, by a set of function pointers in the instance structure. * cal-client/cal-listener.c (cal_listener_get_calendar): Removed unused function. (cal_listener_construct): Added the listener notification functions. (cal_listener_new): Ditto. (Listener_notifyCalOpened): Renamed to our new naming convention for servant implementations. (Listener_notifyObjUpdated): Ditto. (Listener_notifyObjRemoved): Ditto. * cal-client/cal-client.h (CalClientOpenStatus): Renamed from CalClientLoadStatus. (CalClientClass::cal_opened): Renamed from ::cal_loaded(). (CalClientLoadState): New enum; basically make LoadState public so that users of this code do not have to maintain their own states. * cal-client/cal-client.c (cal_client_create_calendar): Removed function. (cal_client_open_calendar): Moved the functionality over from load_or_create(); now we do everything here. (*): Use the CalClientLoadState enum values instead of the old LoadState values. (cal_client_get_load_state): Renamed from cal_client_is_loaded(), and return the appropriate value. (CalClientPrivate): Added an uri field. (cal_client_init): Initialize priv->uri. (cal_client_destroy): Free the priv->uri. (cal_opened_cb): Maintain the priv->uri. (cal_client_open_calendar): Fill in the priv->uri. (cal_client_get_uri): New function. * gui/calendar-model.c (calendar_model_set_new_comp_vtype): New function to configure the type of calendar components to create when doing click-to-add. This makes the model usable for something other than task lists. (calendar_model_get_new_comp_vtype): New function. * gui/e-calendar-table.c (e_calendar_table_get_model): New function. (e_calendar_table_destroy): Unref the subset_model. * gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum. * gui/gnome-cal.c (LoadState): Removed enum; we now use the CalClientLoadState from the client objects. (GnomeCalendarPrivate): Removed the loading_uri and task_pad_loading_uri fields as well as the load_state and task_pad_load_state fields, as we can now query them directly from the CalClient. (open_error): Renamed from load_error(). (create_error): Removed function. (gnome_calendar_open): Do not take in the mode parameter. (cal_opened_cb): Get rid of our beautifully-crafted state machine and replace it with simple code; all the loading smarts are in the Wombat now. (setup_widgets): Set the new component vtype of the table model to CAL_COMPONENT_TODO. * gui/Makefile.am (evolution_calendar_SOURCES): Removed gnome-month-item.[ch] from the list of sources. * gui/calendar-summary.c (CalSummary): Removed unused cal_loaded field. (create_summary_view): Do not check if the file exists; this is the job of the Wombat. (generate_html_summary): Fixed prototype. (alarm_fn): Fixed prototype. (property_dialog): Fixed prototype. Wonder if/how this ever worked. (create_summary_view): Cast the component and view as appropriate. Removed unused html variable. [Iain dude, are you compiling with -Wall?] * gui/e-itip-control.c (cal_opened_cb): Sigh, this function signature was *very* wrong. It was using CalClientGetStatus instead of CalClientOpenStatus. * gui/e-tasks.h (ETasksOpenMode): Removed enum. * gui/e-tasks.c (setup_widgets): Set the new component vtype of the table model to CAL_COMPONENT_TODO. (LoadState): Removed the state machine foo. (e_tasks_open): Removed the mode parameter. (initial_load): Removed function. (create_error): Removed function. (ETasksPrivate): Removed folder_uri field. (cal_opened_cb): Remove the state machine. * gui/component-factory.c: #include "tasks-control.h" * conduits/calendar/calendar-conduit.h (ECalConduitContext): Removed calendar_load_tried field. * conduits/calendar/calendar-conduit.c (start_calendar_server_cb): Sigh, fixed function prototype. * conduits/todo/todo-conduit.h (EToDoConduitContext): Removed calendar_load_tried field. * conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed function prototype. svn path=/trunk/; revision=7571
* changed the signature of the property_bag get/set functionsDietmar Maurer2001-01-154-4/+17
| | | | svn path=/trunk/; revision=7499
* changed the expansion values so that small text fields are 1.0, all theDamon Chaplin2001-01-151-6/+6
| | | | | | | | | | | 2001-01-14 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): changed the expansion values so that small text fields are 1.0, all the date fields and the URL field are 2.0, and the Summary is 3.0. Hopefully the user will resize the fields as desired, but at least this is a better start. svn path=/trunk/; revision=7493
* moved #include <cal-client/cal-client.h> to the .h file.Damon Chaplin2001-01-1416-210/+799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-14 Damon Chaplin <damon@helixcode.com> * gui/dialogs/task-editor.[hc]: moved #include <cal-client/cal-client.h> to the .h file. * gui/e-tasks.c: load & save the Tasks folders' ETable layout. Added an option menu to filter tasks by category. * gui/gnome-cal.c: use the "Tasks" folder for the TaskPad. (We may make the actual tasks folder shown a per-calendar option.) * gui/tasks-control.c (tasks_control_new_task_cmd): added support for the New Task icon on the toolbar. * gui/e-calendar-table.[hc]: we now use an ETableSubsetVariable model to filter the tasks by a category. And tidied up a little. * gui/calendar-model.[hc]: added way to get all the categories used by the tasks, so we can show an option menu of them. Also a signal which is emitted when they are changed. Also allows a default category to be set, which is used to initialize the 'click-to-add' row. Also made sure the initialize_value()/get_value() functions don't return NULL since that can cause a SEGV. * gui/e-week-view.c: * gui/e-day-view.c: set the "fill_color_rgba" arg of the EText items to black since it doesn't seem to set up a default color properly. Hopefully this fixes the bug on Solaris where the items appear with strange colors. * gui/widget-util.c (date_edit_new): use the calendar_config function to set most of the options. It wasn't setting the 12/24 hour option before. * gui/dialogs/task-editor-dialog.glade: added "Undefined" priority. svn path=/trunk/; revision=7483
* Add an ::asyncCopyFolder method to the ShellComponent interface. MoveEttore Perazzoli2001-01-132-2/+12
| | | | | | all the message hiding options to the View menu. svn path=/trunk/; revision=7456
* Add translation strings.Miguel de Icaza2001-01-121-0/+17
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * gui/e-calendar-table.c: Add translation strings. svn path=/trunk/; revision=7448
* Add a PropertyControl interface so you can set the appointments on or offIain Holmes2001-01-101-91/+316
| | | | | | Add a PersistStream interface to remember this. svn path=/trunk/; revision=7348
* Replaced e-meet-dialog.glade.h with e-meeting-dialog.glade inDave Camp2001-01-105-1/+61
| | | | | | | | | | | | | 2001-01-09 Dave Camp <dave@helixcode.com> * gui/Makefile.am: Replaced e-meet-dialog.glade.h with e-meeting-dialog.glade in glade_messages. * gui/e-meeting-dialog.glade: Enabled the translatable string option. * gui/e-itip-control.glade: Likewise. svn path=/trunk/; revision=7347
* New interface for the alarm notification system.Federico Mena Quintero2001-01-108-55/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-09 Federico Mena Quintero <federico@helixcode.com> * idl/evolution-calendar.idl (AlarmNotify): New interface for the alarm notification system. * gui/alarm-notify: New directory for the alarm notification daemon and its auxiliary stuff. * gui/alarm-notify/alarm.[ch]: Moved over from gui/alarm.[ch]. * gui/alarm-notify/alarm-queue.[ch]: Moved over from gui/alarm-notify.[ch]. Renamed functions from alarm_notify_*() to alarm_queue_*(). * gui/alarm-notify/alarm-notify.[ch]: Implementation of the GNOME::Evolution::Calendar::AlarmNotify interface. * gui/Makefile.am (evolution_calendar_LDADD): Removed the LINK_FLAGS variable and reordered the libraries to remove some duplicated ones. (SUBDIRS): Added the alarm-notify directory. svn path=/trunk/; revision=7338
* Mark tasks completedIain Holmes2001-01-091-1/+9
| | | | svn path=/trunk/; revision=7309
* Tasks work properlyIain Holmes2001-01-091-8/+1
| | | | svn path=/trunk/; revision=7306
* added new source files for the Tasks folders.Damon Chaplin2001-01-0815-33/+1034
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-08 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files for the Tasks folders. * gui/e-tasks.[hc]: new widget to encapsulate the Tasks view. * gui/tasks-control.[hc]: new files to implement the Tasks control. * gui/tasks-control-factory.[hc]: new files to implement the factory for the Tasks controls. (I think the way I've split the code up is a lot cleaner than the GnomeCal implementation - the factory file just contains the factory functions and the control file contains all the control functions. Maybe we should make GnomeCal like this.) * gui/main.c: initialize the Tasks control factory. * gui/component-factory.c: added support for the Tasks control. Also added a "create_folder" function so we can now create new Tasks and Calendar folders within Evolution. I'm not a Bonobo expert so someone might want to check these over. * gui/calendar-config.[hc]: added convenience functions to configure the common settings of ECalendar and EDateEdit widgets. * gui/dialogs/task-editor.c (task_editor_create_date_edit): * gui/gnome-cal.c (gnome_calendar_update_config_settings): * gui/event-editor.c: used function to configure the ECalendars and EDateEdits. * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): fixed minor bug in format strings. svn path=/trunk/; revision=7297
* Neaten the HTML, add Tasks, and make the day change when the day changes :)Iain Holmes2001-01-071-6/+79
| | | | | | Calendar summary. svn path=/trunk/; revision=7285
* get categories button (init_widgets): listen for button clickJP Rosevear2001-01-065-41/+184
| | | | | | | | | | | | | | | | | | 2001-01-05 JP Rosevear <jpr@helixcode.com> * gui/event-editor.c (get_widgets): get categories button (init_widgets): listen for button click (fill_widgets): fill in the categories area (dialog_to_comp_object): set the cal component categories (categories_clicked): throw up the categories dialog and update when ok is clicked * gui/event-editor-dialog.glade: Add categories and contacts buttons and fields * gui/dialogs/task-editor-dialog.glade: Rename button svn path=/trunk/; revision=7270
* get categories button (init_widgets): listen for button clickJP Rosevear2001-01-065-51/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-05 JP Rosevear <jpr@helixcode.com> * gui/dialogs/task-editor.c (get_widgets): get categories button (init_widgets): listen for button click (fill_widgets): fill in the categories area (dialog_to_comp_object): set the cal component categories (categories_clicked): throw up the categories dialog and update when ok is clicked * gui/dialogs/task-editor-dialog.glade: Tweak to name the categories button and make it active * gui/calendar-model.c (get_categories): We can get the string list of categories directly now * cal-util/cal-component.c (cal_component_get_categories): new function to get the categories list as a string (cal_component_set_categories): same but for setting (free_icalcomponent): init the categories var (scan_categories): kill (scan_property): assign the prop to the categories var (cal_component_get_categories_list): deal with renaming var to categories (cal_component_set_categories_list): fix brokeness svn path=/trunk/; revision=7268
* Handle the case where the calendar view cannot be created; present aFederico Mena Quintero2001-01-045-3/+22
| | | | | | | | | | | | | | | | | | | 2001-01-03 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (new_calendar): Handle the case where the calendar view cannot be created; present a warning dialog box. (new_calendar): Do not show the widget here, since we already show it in control-factory.c. * gui/control-factory.c (control_factory_new_control): Handle the case where the calendar view cannot be created. * gui/component-factory.c (create_view): Ditto. * gui/calendar-summary.h: Added prototype for calendar_summary_factory_init(). svn path=/trunk/; revision=7233
* If the component has no alarms, do not try to queue them.Federico Mena Quintero2001-01-032-2/+94
| | | | | | | | | | | | 2001-01-02 Federico Mena Quintero <federico@helixcode.com> * gui/alarm-notify.c (add_component_alarms): If the component has no alarms, do not try to queue them. (remove_client_alarms): New function to remove all the queued alarms for a calendar client. (alarm_notify_remove_client): Remove the client's alarms. svn path=/trunk/; revision=7218
* Do not compose strings so that they can be localized correctly. Also,Federico Mena Quintero2001-01-0310-112/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-02 Federico Mena Quintero <federico@helixcode.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Do not compose strings so that they can be localized correctly. Also, convert from UTF8 into the font's encoding. Fixes bug #1030. * gui/e-calendar-table.c (delete_component): Pass the widget argument to delete_component_dialog(). * gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise. * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise. * gui/event-editor.c (file_delete_cb): Likewise. * gui/calendar-commands.c: Use BONOBO_UI_VERB() instead of BONOBO_UI_UNSAFE_VERB(). Guess what, all of our handler signatures were wrong. * gui/event-editor.c: Likewise. * gui/dialogs/task-editor.c: Likewise. * gui/goto-dialog.glade: Added some spacing between the month/year widgets and the calendar widget. svn path=/trunk/; revision=7211
* Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-0310-773/+832
| | | | | | | | | | | | | | | | | | | | | | | | 2001-01-01 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove the client from the alarm notification system. Removed all the obsolete alarm code. * gui/event-editor.c: Removed some crufty externs left over from Gnomecal. * gui/calendar-commands.c: #include "goto.h" Removed crufty variables left over from Gnomecal. (new_calendar): Do not take a full_name parameter. (init_username): Removed function. (init_calendar): Wheeeeeeee! Removed crufty function. (quit_cmd): Removed function. * gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally FALSE because we do not use the configuration setting anyways. Sigh, all the printing code needs to be revamped. svn path=/trunk/; revision=7209
* New BonoboPropertyEventless stuffIain Holmes2000-12-271-2/+6
| | | | | | pt 1 svn path=/trunk/; revision=7177
* Set draw background to FALSE. (e_day_view_reshape_long_event): ditto.Miguel de Icaza2000-12-251-0/+4
| | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gui/e-day-view.c (e_day_view_init): Set draw background to FALSE. (e_day_view_reshape_long_event): ditto. (e_day_view_reshape_day_event): ditto. svn path=/trunk/; revision=7166
* Clean up translatable strings for translators, fixes bug 993JP Rosevear2000-12-231-6/+5
| | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Clean up translatable strings for translators, fixes bug 993 svn path=/trunk/; revision=7136
* Make sure the current month is shown when the dialog pops up.JP Rosevear2000-12-232-2/+9
| | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto.c (create_ecal): Make sure the current month is shown when the dialog pops up. * gui/goto-dialog.glade: Remove flicker svn path=/trunk/; revision=7135
* New function to keep the ecal marked properly (create_ecal): move moreJP Rosevear2000-12-236-451/+26
| | | | | | | | | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto.c (ecal_date_range_changed): New function to keep the ecal marked properly (create_ecal): move more creation code here, update marks (goto_dialog_init_widgets): listen for date_range_changed signal in the ecal * gui/calendar-commands.c (init_calendar): Remove ancient gnomecal cruft * gui/mark.[hc], gui/prop.c: Remove ancient gnomecal code that is no longer needed, last bit of bug 904 svn path=/trunk/; revision=7133
* translationsJP Rosevear2000-12-237-270/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-22 JP Rosevear <jpr@helixcode.com> * gui/goto-dialog.glade.h: translations * gui/goto-dialog.glade: new glade file for goto dialog * gui/gnome-cal.c (setup_widgets): Set date navigator attributes * gui/calendar-commands.h: remove prototype * gui/goto.h: Add prototype * gui/Makefile.am: Add glade file stuff * gui/gnome-cal.c (setup_widgets): Use accessors to configure the calendar item properly 2000-12-22 JP Rosevear <jpr@helixcode.com> * e-calendar-item.h: add prototypes * e-calendar-item.c (e_calendar_item_init): Set max_days_selected to 1 and days_to_start_week_selection to -1 as documented in header (e_calendar_item_set_arg): use new accessor methods (e_calendar_item_get_arg): ditto (e_calendar_item_get_max_days_sel): accessor (e_calendar_item_set_max_days_sel): ditto (e_calendar_item_get_days_start_week_sel): ditto (e_calendar_item_set_days_start_week_sel): ditto (e_calendar_item_class_init): add display_popup argument (e_calendar_item_init): initialize display_popup member (e_calendar_item_get_arg): get display_popup member (e_calendar_item_set_arg): set display_popup member (e_calendar_item_button_press): only show the popup menu if the member is set (e_calendar_item_get_display_popup): acessor (e_calendar_item_set_display_popup): ditto svn path=/trunk/; revision=7132
* Alarm trigger queueing for the GUI part.Federico Mena Quintero2000-12-2315-254/+1321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-21 Federico Mena Quintero <federico@helixcode.com> Alarm trigger queueing for the GUI part. * gui/alarm-notify.[ch]: New files with the high-level alarm notification system; mostly moved over from gnome-cal.c. The low-level timer stuff is still in alarm.[ch]. * gui/alarm-notify.c (alarm_notify_init): New function to initialize the alarm notification system. (alarm_notify_done): New function to shut down the alarm notification system. (alarm_notify_add_client): New function to start monitoring a calendar client for alarm notification. (alarm_notify_remove_client): New function to stop monitoring a client. * gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so the callback may know which ID is being destroyed. * gui/alarm.c (clear_itimer): New function. (pop_alarm): Use clear_itimer(). (alarm_done): New function to shut down the timer system. (alarm_add): Add some preconditions. Do not call the destroy notification function if we could not create the alarm. (alarm_ready): Pass the alarm ID to the destroy notify function. (alarm_remove): Likewise. Also, add some preconditions. * gui/gnome-cal.c: Removed the alarm notification functions from here since they are now in alarm-notify.c. (gnome_calendar_construct): Register the client with alarm_notify_add_client(). (gnome_calendar_destroy): Use alarm_notify_remove_client() to unregister the client. (obj_updated_cb): Do not do any alarm-related stuff. (obj_removed_cb): Likewise. * gui/main.c (main): Shut down the alarm timer system. (main): Initialize and shut down the alarm notification system. * gui/Makefile.am (evolution_calendar_SOURCES): Added alarm-notify.[ch] to the list of sources. * gui/calendar-model.c (calendar_model_set_cal_client): Only connect to the "cal_loaded" signal if the client is not already loaded. * gui/e-day-view.c (e_day_view_set_cal_client): Likewise. * gui/e-week-view.c (e_week_view_set_cal_client): Likewise. * gui/e-itip-control.c (update_calendar): Connect to "cal_loaded" before issuing the load request. svn path=/trunk/; revision=7130
* removed conflict indicatorsIain Holmes2000-12-221-8/+0
| | | | svn path=/trunk/; revision=7124
* Working Calendar summary.Iain Holmes2000-12-228-146/+307
| | | | | | Smile. svn path=/trunk/; revision=7123
* Fix confusion in the way the range is expanded.Federico Mena Quintero2000-12-203-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-19 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.c (compute_alarm_range): Fix confusion in the way the range is expanded. * cal-util/cal-component.c (cal_component_alarms_free): Doh, alarms->alarms is a list, not a generic pointer. Free it properly. (cal_component_free_pilot_id): Removed unused function. (cal_component_free_pilot_status): Likewise. * gui/main.c (init_bonobo): Use VERSION instead of a hardcoded string. Pass argc by value, not by reference. Test the return value of gnome_init_with_popt_table(). * cal-client/cal-client.c (cal_client_free_alarms): Oops, missed implementing this function. * cal-util/timeutil.c (print_time_t): Better printing format. (isodiff_to_secs): Removed unused function. (isodiff_from_secs): Removed unused function. (time_day_end): Removed crufty part. (time_day_begin): Removed crufty part. (time_day_hour): Removed unused function. (format_simple_hour): Removed unused function. (get_time_t_hour): Removed unused function. (time_from_start_duration): Removed unused function. * cal-util/timeutil.h (parse_date): Removed unimplemented, unused function prototype. svn path=/trunk/; revision=7083
* Removed prototype for setup_alarm to fix a warning.Christopher James Lahey2000-12-201-0/+2
| | | | | | | | | 2000-12-19 Christopher James Lahey <clahey@helixcode.com> * gui/gnome-cal.c: Removed prototype for setup_alarm to fix a warning. svn path=/trunk/; revision=7081
* Alarm instance generation support for the Wombat.Federico Mena Quintero2000-12-191-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-18 Federico Mena Quintero <federico@helixcode.com> Alarm instance generation support for the Wombat. * idl/evolution-calendar.idl (Cal::CalAlarmInstance): Changed to have an alarm UID, the trigger time, and the actual occurrence time. (Cal::CalComponentAlarms): New structure to hold a pair of a component and its alarms that trigger in a particular range of time. (Cal::getAlarmsInRange): Changed to return a CalComponentAlarmsSeq. * cal-util/cal-component.h (CalAlarmInstance): New C-side structure to match the one on the IDL. (CalComponentAlarms): Ditto. (CalAlarmAction): Renamed from CalComponentAlarmAction. (CalAlarmTriggerType): Renamed from CalComponentAlarmTriggerType. Encoded the START and END parameters for the RELATED parameter in this enum, too. Added a NONE value for invalid or missing trigger specifications. (CalComponentAlarmTriggerRelated): Removed. (CalAlarmTrigger): Renamed from CalComponentAlarmTrigger. Renamed the duration/time fields to rel_duration/abs_time, respectively. * cal-util/cal-component.c (cal_component_alarm_get_trigger): Changed to use the new trigger structure. (cal_component_alarm_set_trigger): Likewise. (cal_component_alarm_free_trigger): Removed function. (cal_component_has_alarms): Count the elements in the alarm_uid_hash instead of trying to fetch the first alarm subcomponent. (cal_component_alarms_free): New function to free a CalComponentAlarms structure. (CalComponentAlarmPrivate): Added an uid property pointer. (scan_alarm_property): Scan for the our extension UID property. (cal_component_alarm_get_uid): New function. * pcs/cal-backend.h (CalBackendClass): Changed the signatures of the ::get_alarms_in_range() and ::get_alarms_for_object() methods. * pcs/cal-backend.c (cal_backend_get_alarms_in_range): Changed signature; use the new method. (cal_backend_get_alarms_for_object): Likewise. * pcs/cal-backend-file.c (compute_alarm_range): New spiffy function to compute a range of time for alarm occurrences. (add_alarm_occurrences_cb): New function to add alarms for a particular occurrence of the component. (generate_absolute_triggers): New function to add the absolute alarm triggers. (generate_alarms_for_comp): New function to generate all the alarm instances for a component. (cal_backend_file_get_alarms_in_range): Implemented. * pcs/cal.c (Cal_get_alarms_in_range): Use the new CalBackend API. (Cal_get_alarms_for_object): Likewise. (build_alarm_instance_seq): Removed old function. * cal-util/cal-util.c (cal_alarm_instance_list_free): Removed function. * cal-client/cal-client.c (build_component_alarms_list): New function to demarshal the component alarms sequence. (build_alarm_instance_list): New function to demarshal the alarm instances sequence. (cal_client_get_alarms_in_range): Updated for the new API. (cal_client_get_alarms_for_object): Updated for the new API. * gui/gnome-cal.c: Temporary #ifdef-ing out of alarm-related stuff to make it build. svn path=/trunk/; revision=7076
* Removed getdate.y. We no longer use it; it is a relic from Gnomecal.Federico Mena Quintero2000-12-162-1005/+0
| | | | | | | | | | | 2000-12-15 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am (evolution_calendar_SOURCES): Removed getdate.y. We no longer use it; it is a relic from Gnomecal. * gui/getdate.y: Removed file. svn path=/trunk/; revision=7051
* Fixes bug #955.Federico Mena Quintero2000-12-159-118/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> Fixes bug #955. * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for the week_start_day, to be used in the same way as calendar-config.h defines it. Removed the week_starts_on_monday flag. (day_event_cb): Use the week_start_day. (colorize_items): Likewise. (configure_items): Likewise. (weekday_picker_set_week_start_day): New function. (weekday_picker_get_week_start_day): New function. (weekday_picker_set_week_starts_on_monday): Removed function. (weekday_picker_get_week_starts_on_monday): Removed function. * gui/widget-util.[ch]: New files with utilities for creating or configuring widgets. * gui/widget-util.c (date_edit_new): New function to create an EDateEdit configured with the calendar's preferences; moved over from event-editor.c. * gui/event-editor.c (make_recur_weekly_special): Use weekday_picker_set_week_start_day() and the corresponding function from calendar-config.h. (init_widgets): Likewise. (make_date_edit_with_time): Removed function. (make_recur_ending_until_special): Use date_edit_new(). (make_date_edit): Likewise. * gui/dialogs/task-editor.c (task_editor_create_date_edit): Likewise. * gui/event-editor-dialog.glade: Removed references to make_date_edit_with_time(); replace them with make_date_edit(). * gui/Makefile.am (evolution_calendar_SOURCES): Added widget-util.[ch] to the list of sources. svn path=/trunk/; revision=7037
* Reset the widths of the columns with pixbufs to the actual pixbufs' sizes;Federico Mena Quintero2000-12-151-2/+2
| | | | | | | | | | | 2000-12-14 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reset the widths of the columns with pixbufs to the actual pixbufs' sizes; now ETable properly computes its column widths so we do not need to add extra padding here. svn path=/trunk/; revision=7031
* #define this to 500, not nothing. Also, move this bit after the otherDan Winship2000-12-141-6/+6
| | | | | | | | * gui/calendar-model.c (_XOPEN_SOURCE): #define this to 500, not nothing. Also, move this bit after the other #includes to prevent potential messiness. svn path=/trunk/; revision=7008
* Even though icaltime_from_timet() now properly ignores the is_utc argumentFederico Mena Quintero2000-12-146-35/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-13 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (ensure_mandatory_properties): Even though icaltime_from_timet() now properly ignores the is_utc argument since time_t values *are* in UTC by definition, we were passing FALSE for that argument's value in a bunch of places. So although it is ignored, changed them to TRUE for consistency. Hopefully newer versions of libical will remove that argument entirely since it does not make sense to speak of non-absolute time_t values. * cal-util/cal-recur.c (cal_recur_set_rule_end_date): Likewise. * conduits/calendar/calendar-conduit.c (comp_from_remote_record): Likewise. * conduits/todo/todo-conduit.c (comp_from_remote_record): Likewise. * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise. * gui/e-day-view.c (e_day_view_on_new_appointment): Likewise. (e_day_view_on_delete_occurrence): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_on_unrecur_appointment): Likewise. (e_day_view_finish_long_event_resize): Likewise. (e_day_view_finish_resize): Likewise. (e_day_view_key_press): Likewise. (e_day_view_on_top_canvas_drag_data_received): Likewise. (e_day_view_on_main_canvas_drag_data_received): Likewise. * gui/e-week-view.c (e_week_view_key_press): Likewise. (e_week_view_on_new_appointment): Likewise. (e_week_view_on_delete_occurrence): Likewise. (e_week_view_on_unrecur_appointment): Likewise. * gui/event-editor.c (simple_recur_to_comp_object): Likewise. (recur_to_comp_object): Likewise. (dialog_to_comp_object): Likewise. * gui/gnome-cal.c (gnome_calendar_new_appointment): Likewise. svn path=/trunk/; revision=6995
* #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end):Christopher James Lahey2000-12-146-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * cal-util/cal-recur.c: #if 0ed cal_obj_date_only_compare_func. (cal_object_get_rdate_end): Changed this function to get rid of a possible uninitialized error on the rdate function. * gui/calendar-model.c: Fixed some warnings involving the #define _XOPEN_SOURCE lines here. * gui/component-factory.c: #ifdef WANT_THE_EXECUTIVE_SUMMARYed out the summary_factory object since it's unused if WANT_THE_EXCUTIVE_SUMMARY is not defined. * gui/e-day-view.c: #if 0ed out e_day_view_remove_event_cb. (obj_updated_cb): #ifndef NO_WARNINGSed out a #warning. * gui/e-week-view-event-item.c (e_week_view_event_item_draw): Made it so that * gui/e-week-view.c (obj_updated_cb): #ifndef NO_WARNINGSed out a #warning. svn path=/trunk/; revision=6982
* Use set_title_from_comp (save_todo_object): ditto (set_title_from_comp):JP Rosevear2000-12-131-10/+25
| | | | | | | | | | | | 2000-12-12 JP Rosevear <jpr@helixcode.com> * gui/dialogs/task-editor.c (task_editor_set_todo_object): Use set_title_from_comp (save_todo_object): ditto (set_title_from_comp): Make sure the title is encoded properly (as in event-editor) svn path=/trunk/; revision=6962
* Constify for new libical API. (set_text_list): Likewise.Federico Mena Quintero2000-12-133-35/+4
| | | | | | | | | | | | | | | | | | | | | 2000-12-12 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (get_text_list): Constify for new libical API. (set_text_list): Likewise. * cal-util/cal-recur.c (cal_recur_get_rule_end_date): Likewise. (cal_recur_set_rule_end_date): Likewise. * gui/e-itip-control.c (find_attendee): Likewise. (pstream_load): Likewise. * gui/gnome-cal.c (released_event_object_cb): Removed unused function. * gui/dialogs/task-editor.c (status_string_map): Removed unused variable. svn path=/trunk/; revision=6943
* More fixage - FedericoFederico Mena Quintero2000-12-121-11/+11
| | | | svn path=/trunk/; revision=6939
* This is to make things work with libical 0.21helix1 and later. WarningsFederico Mena Quintero2000-12-125-53/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Federico Mena Quintero <federico@helixcode.com> This is to make things work with libical 0.21helix1 and later. Warnings remain because at last libical was constified; will take care of those tomorrow. * cal-util/timeutil.h: #include <ical.h> instead of <icaltypes.h> * gui/e-itip-control.c: Likewise. * gui/e-meeting-edit.c: Likewise. * gui/itip-utils.h: Likewise. * cal-util/cal-component.c (alarm_uid_from_prop): constify. (cal_component_get_status): Updated for new libical API. (cal_component_set_status): Likewise. * gui/calendar-model.c (ensure_task_complete): Removed unused status code. (ensure_task_not_complete): Update for new status API. * gui/dialogs/task-editor.c (status_string_to_value): Removed function. (status_value_to_string): Removed function. (status_string_map): Removed variable. (fill_widgets): Update for new status API. (dialog_to_comp_object): Likewise. svn path=/trunk/; revision=6932
* added changed flags and added calls to a new functionDamon Chaplin2000-12-116-87/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-11 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c: added changed flags and added calls to a new function event_editor_set_changed() to set & reset this flag. Added prompt_to_save_changed() which is called when the user selects File/Close or the window's close button. Fixed the 'All day event' toggle button. Made the 'Alarm' page sensitive as appropriate when filling widgets. (Though note that the alarm widgets are not being set yet.) * gui/dialogs/task-editor.c: added changed flag as above. * gui/event-editor-dialog.glade: used good names for all the classification radio buttons so we can access them in the code. * gui/event-editor.c (init_widgets): use the "show week numbers" config option in the recurrence preview calendar. * gui/e-day-view.c (e_day_view_update_event_label): use 9:00 instead of 09:00 in the main view, as we do everywhere else now. It means the times won't line up, but they are easier to read which I think is better. Added support for Page Up/Down, though I think it should move the selection rather than just scroll the canvas. * cal-util/cal-recur.c (generate_instances_for_chunk): removed the end parameter since we should be using the chunk end time now. Added single_rule parameter for when we are generating the occurrences of a single RRULE, in which case the event's start date is not included in the occurrences output (unless it results from the RRULE expansion). Both of these fix problems when using COUNT. * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): fixed bug when checking if the new start day starts on the week start day. If you select a complete week it should now show the Week view. svn path=/trunk/; revision=6896
* Free the strings we get from the editables.Federico Mena Quintero2000-12-092-18/+47
| | | | | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (dialog_to_comp_object): Free the strings we get from the editables. * gui/dialogs/task-editor.c (dialog_to_comp_object): Likewise. This sucks; this code should be shared between the two dialogs. svn path=/trunk/; revision=6868
* Free the dates we get from the component.Federico Mena Quintero2000-12-091-0/+3
| | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (fill_widgets): Free the dates we get from the component. svn path=/trunk/; revision=6867
* Attach signal handlers to the e_scrolled_table's etable rather than to theJP Rosevear2000-12-091-4/+11
| | | | | | | | | | | | 2000-12-08 JP Rosevear <jpr@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Attach signal handlers to the e_scrolled_table's etable rather than to the e_scrolled_table directly (e_calendar_table_on_double_click): This signal provides more params now svn path=/trunk/; revision=6866
* Got rid of code referencing the ETableScrolled proxy functions.Christopher James Lahey2000-12-081-3/+3
| | | | | | | | | 2000-12-07 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Got rid of code referencing the ETableScrolled proxy functions. svn path=/trunk/; revision=6855
* Confirm before deleting the event.Federico Mena Quintero2000-12-071-7/+11
| | | | | | | | | 2000-12-06 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (file_delete_cb): Confirm before deleting the event. svn path=/trunk/; revision=6833
* unref the pixbuf when finished with it62000-12-071-1/+1
| | | | | | | | | 2000-12-06 <purify@the-dot-in.helixcode.com> * gui/e-week-view.c (e_week_view_init): unref the pixbuf when finished with it svn path=/trunk/; revision=6832
* Fixes bug #920.Federico Mena Quintero2000-12-0710-63/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-06 Federico Mena Quintero <federico@helixcode.com> Fixes bug #920. * gui/e-calendar-table.c (delete_component): New function. (e_calendar_table_on_delete_task): Use delete_component(). (e_calendar_table_on_key_press): Likewise. Also, mark the event as handled. * gui/calendar-model.c (calendar_model_get_component): Renamed function from calendar_model_get_cal_object(). (calendar_model_delete_task): Removed function. * gui/dialogs/delete-comp.[ch]: New files with the dialog for deleting a calendar component. * gui/e-day-view.c (e_day_view_on_delete_appointment): Confirm before actually deleting the appointment. * gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise. * gui/dialogs/Makefile.am (libcal_dialogs_a_SOURCES): Added delete-comp.[ch] to the list of sources. * cal-util/cal-component.c (cal_component_destroy): Free the alarm UID hash. svn path=/trunk/; revision=6828
* Initialize max_large_digit_width to 0 to prevent crazy sizing issues.JP Rosevear2000-12-051-1/+1
| | | | | | | | | 2000-12-04 JP Rosevear <jpr@helixcode.com> * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): Initialize max_large_digit_width to 0 to prevent crazy sizing issues. svn path=/trunk/; revision=6782
* Remove mysterious #include inserted by mmeeks to break the build.Dan Winship2000-12-051-1/+0
| | | | | | | * gui/e-itip-control.c: Remove mysterious #include inserted by mmeeks to break the build. svn path=/trunk/; revision=6779
* return NULL if we can't create a view.Michael Meeks2000-12-0515-326/+55
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* Fixes bug #918.Federico Mena Quintero2000-12-033-0/+102
| | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> Fixes bug #918. * gui/weekday-picker.c (WeekdayPickerPrivate): Added a field for a set of blocked days. (weekday_picker_set_blocked_days): New function to configure a set of days that cannot be modified by the user. (weekday_picker_get_blocked_days): Query function for the above. (day_event_cb): Block the appropriate days from being modified. * gui/event-editor.c (get_start_weekday_mask): New function to compute a day mask for the start day of a calendar component. (set_recur_special_defaults): New function to set sane defaults for the recurrence special widgets. (fill_recurrence_widgets): Use set_recur_special_defaults(). (make_recur_weekly_special): Block the appropriate days. svn path=/trunk/; revision=6767
* Removed debugging message. (control_factory_init): Ditto.Federico Mena Quintero2000-12-023-14/+3
| | | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> * gui/control-factory.c (set_prop): Removed debugging message. (control_factory_init): Ditto. * gui/calendar-commands.c (calendar_set_uri): Ditto. * gui/main.c (main): Ditto. svn path=/trunk/; revision=6762
* New function to generate a title and convert it from UTF8 before settingFederico Mena Quintero2000-12-021-10/+24
| | | | | | | | | | | | 2000-12-01 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (set_title_from_comp): New function to generate a title and convert it from UTF8 before setting it on the window. (save_event_object): Uset set_title_from_comp(). (event_editor_set_event_object): Likewise. svn path=/trunk/; revision=6761
* fixed a bug that caused the calendar to segfault when the iTip control wasJesse Pavel2000-12-011-0/+3
| | | | | | | * gui/e-itip-control.c: fixed a bug that caused the calendar to segfault when the iTip control was destroyed. svn path=/trunk/; revision=6741
* removed #ifdef ENABLE_NLS/#endif on Miguel's request.Gediminas Paulauskas2000-11-301-2/+0
| | | | | | | | 2000-11-30 Gediminas Paulauskas <menesis@delfi.lt> removed #ifdef ENABLE_NLS/#endif on Miguel's request. svn path=/trunk/; revision=6727
* Reformatted the table spec to make it easier to read.Federico Mena Quintero2000-11-293-25/+59
| | | | | | | | | | | | 2000-11-28 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Reformatted the table spec to make it easier to read. * gui/tag-calendar.c: Oops, Damon wrote this, not me. Fixed the Authors line. svn path=/trunk/; revision=6707
* finished 12-hour support and tried to tidy up & comment the drawing codeDamon Chaplin2000-11-298-358/+712
| | | | | | | | | | | 2000-11-28 Damon Chaplin <damon@helixcode.com> * gui/e-day-view*.[hc]: * gui/e-week-view*.[hc]: finished 12-hour support and tried to tidy up & comment the drawing code in places. Also fixed a couple of bugs I spotted. All the options on the 'Calendar' page should now work. svn path=/trunk/; revision=6706
* Removed debugging shizz.Jesse Pavel2000-11-291-12/+0
| | | | svn path=/trunk/; revision=6701
* *gui/calendar-model.c: added a preliminary change to have AssignedJesse Pavel2000-11-281-3/+13
| | | | | | To-Do items have a corresponding icon. svn path=/trunk/; revision=6686
* == instead of =.Damon Chaplin2000-11-271-1/+1
| | | | | | | | 2000-11-26 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c (e_day_view_set_days_shown): == instead of =. svn path=/trunk/; revision=6676
* added more support for config settings.Damon Chaplin2000-11-279-199/+864
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-26 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.c: added more support for config settings. * gui/e-week-view.[hc]: * gui/e-day-view.[hc]: added support for setting - show event end times, week start day and 12-hour format (unfinished). * gui/e-day-view-time-item.c: started 12-hour support. * gui/tag-calendar.c (prepare_tag): use end_day + 1 since we want to include the last day. * gui/event-editor.c (set_all_day): minor change when turning all_day off - set the event end to one hour after the event start if it is on or before the start time. Also added more comments to make it a bit clearer. * cal-util/cal-recur.c (cal_obj_time_add_days): use a gint for day rather than a guint since we now support -ve days. Also fixed bug with weekly recurrences. * gui/dialogs/task-editor.c (task_editor_create_date_edit): use config settings. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): updated EDateEdit calls. svn path=/trunk/; revision=6675
* use config settings.Damon Chaplin2000-11-272-18/+11
| | | | | | | | | | * gui/dialogs/task-editor.c (task_editor_create_date_edit): use config settings. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_update_config): updated EDateEdit calls. svn path=/trunk/; revision=6673
* Unref the ETable extras.Federico Mena Quintero2000-11-251-0/+2
| | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Unref the ETable extras. svn path=/trunk/; revision=6663
* Use the new libical external iterators (icalcomponent_begin_component()Federico Mena Quintero2000-11-252-5/+9
| | | | | | | | | | | | | | | | | | | | | | | 2000-11-24 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-backend-file.c (scan_vcalendar): Use the new libical external iterators (icalcomponent_begin_component() and friends); the internal iterators are deprecated. * cal-util/test-recur.c (generate_occurrences): Likewise. * gui/e-itip-control.c (pstream_load): Likewise. * gui/e-meeting-edit.c (e_meeting_edit): Likewise. * pcs/cal-backend.c (cal_backend_log_entry): Plug leak. (cal_backend_log_sync): Free the entry->uid. * util/icalendar-save.[ch]: * util/icalendar-test.c: * util/icalendar.[ch]: Removed obsolete files. svn path=/trunk/; revision=6660
* Remove the check because it makes it look like the task is alreadyFederico Mena Quintero2000-11-225-55/+88
| | | | | | | | | | | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * gui/task.xpm: Remove the check because it makes it look like the task is already completed. This fixes bug #819. * gui/task-recurring.xpm: Make it use a prettier overlaid icon. * gui/task-*.xpm: Made the things look like little spiral-bound notebooks. * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): Make the default column order be icon/completed/summary. 2000-11-21 Federico Mena Quintero <federico@helixcode.com> svn path=/trunk/; revision=6646
* The icon column is not editable!Federico Mena Quintero2000-11-229-1323/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (calendar_model_is_cell_editable): The icon column is not editable! * gui/calendar-commands.c (todo_properties_changed): Removed. (time_format_changed): Removed. (colors_changed): Removed. * gui/calendar-commands.h: * gui/prop.c (prop_apply): * gui/calendar-commands.c (init_calendar): Removed the old to-do list crap. * gui/gncal-todo.[ch]: Removed obsolete files. * gui/Makefile.am (evolution_calendar_SOURCES): Removed gncal-todo.[ch]. * gui/gnome-cal.c (gnome_calendar_todo_properties_changed): Removed. (gnome_calendar_time_format_changed): Removed. (gnome_calendar_colors_changed): Removed. svn path=/trunk/; revision=6635
* Fixed size allocation bug.Jesse Pavel2000-11-222-54/+13
| | | | svn path=/trunk/; revision=6634
* added cancellation code to our program; people can cancel meetings,Jesse Pavel2000-11-172-21/+125
| | | | | | which is the best thing to do for most meetings. svn path=/trunk/; revision=6594
* #!/usr/bin/perl -pi.bakMichael Meeks2000-11-169-14/+14
| | | | | | | | s/GNOME\/GenericFactory/GNOME\/ObjectFactory/g; s/Bonobo\/EmbeddableFactory/GNOME\/ObjectFactory/g; s/Bonobo\/GenericFactory/GNOME\/ObjectFactory/g; svn path=/trunk/; revision=6580
* Fixed REPLY code.Jesse Pavel2000-11-151-0/+1
| | | | svn path=/trunk/; revision=6573
* I created this file to store some commonly used enumeration to stringJesse Pavel2000-11-145-48/+220
| | | | | | | | | | * gui/itip-utils.[ch]: I created this file to store some commonly used enumeration to string mappings and functions. * gui/Makefile.am: this was changed to reflect the addition of the above file. * gui/e-itip-control.c: added code to take action on a REPLY message. * gui/e-meeting-edit.c: bug fixes. svn path=/trunk/; revision=6566
* OK, bugzilla bug #829 is fixed and that does not redeem me from extremeFederico Mena Quintero2000-11-132-2/+2
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> OK, bugzilla bug #829 is fixed and that does not redeem me from extreme procrastination. Wheeeeeeeeeeeeeeee! * gui/event-editor-dialog.c: Changed the "Rule view" label to "Preview" svn path=/trunk/; revision=6558
* Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "CustomFederico Mena Quintero2000-11-132-84/+136
| | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (make_recur_ending_count_special): Misspelled "occurrences". (fill_recurrence_widgets): Sensitize the "Custom recurrence" radio button as appropriate. (sensitize_recur_widgets): Resurrected the recurrence custom warning label. (get_widgets): Load the recurrence custom warning bin. * gui/event-editor-dialog.glade: Add an empty alignment for the recurrence custom warning label. svn path=/trunk/; revision=6556
* New function; re-tag the calendar when its date range changes.Federico Mena Quintero2000-11-131-13/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_preview_date_range_changed_cb): New function; re-tag the calendar when its date range changes. (init_widgets): Connect to "date_range_changed" on the recurrence preview calendar. (make_recur_weekly_special): Connect to "changed" on the weekday picker. (recur_weekday_picker_changed_cb): New function; re-tag the calendar. (month_day_menu_selection_done_cb): Re-tag the calendar. (recur_month_index_value_changed_cb): Likewise. (recur_ending_until_changed_cb): Likewise. (recur_ending_count_value_changed_cb): Likewise. (make_recur_monthly_special): Connect to "value_changed" on the adjustment of the month index. (make_recur_ending_until_special): Connect to "changed" on the ending-until date picker. (make_recur_ending_count_special): Connect to "value_changed" on the ending-count adjustment. (init_widgets): Set to zero the maximum number of selectable days in the recurrence preview calendar. Set the week_start_day from the calendar's configuration. svn path=/trunk/; revision=6552
* Block the signals as appropriate. (fill_ending_date): Ditto.Federico Mena Quintero2000-11-131-3/+69
| | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (clear_widgets): Block the signals as appropriate. (fill_ending_date): Ditto. (fill_recurrence_widgets): Ditto. (recurrence_type_toggled_cb): Only sensitize the widgets and preview the recurrence if the toggle button is active. svn path=/trunk/; revision=6550
* Add the stupid files, yo - FedericoFederico Mena Quintero2000-11-132-0/+188
| | | | svn path=/trunk/; revision=6549
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-1310-249/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-12 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (recur_to_comp_object): Clear the rdate and exrule lists from the component if we are setting a simple recurrence. (recur_to_comp_object): Set the exdate list here instead of in dialog_to_comp_object(). (preview_recur): New function to tag the recurrence preview calendar based on the information from the dialog box. (fill_exception_widgets): Fill the exception widgets here; moved over from fill_widgets(). (fill_recurrence_widgets): Call preview_recur(). Also, call fill_exception_widgets() first of all. (recurrence_type_toggled_cb): Call preview_recur(). (recur_interval_selection_done_cb): Likewise. (recur_ending_selection_done_cb): Likewise. (recurrence_exception_add_cb): Likewise. (recurrence_exception_modify_cb): Likewise. (recurrence_exception_delete_cb): Likewise. (date_changed_cb): Likewise. (recur_interval_value_changed_cb): Likewise, new function. * gui/tag-calendar.[ch]: New files with utilities for tagging calendars. mark.[ch] should go away some day. * gui/tag-calendar.c (tag_calendar): Moved over from gnome_calendar_tag_calendar(). Take in a CalClient instead of a GnomeCalendar. Added API docs. (tag_calendar_by_comp): New function to tag a calendar based on a single calendar component instead of a whole client. * gui/gnome-cal.c (initial_load): Use tag_calendar_by_client(). (obj_updated_cb): Likewise. (obj_removed_cb): Likewise. (gnome_calendar_on_date_navigator_date_range_changed): Likewise. (editor_closed_cb): Free the closure. (destroy_editor_cb): Renamed from free_uid(). Do not free the UID; just unref the event editor. Our destroy handler to it will free things properly. This will also cause the corresponding calendar client to be unrefed. (editor_closed_cb): Use a flag on the GnomeCalendar to decide whether to remove the editor from the hash table. This is sort of icky. * gui/calendar-model.c (obj_updated_cb): If the object is new, we have to use e_table_model_row_inserted(), not row_changed(). Thanks to JP Rosevear for reporting this. * gui/Makefile.am (evolution_calendar_SOURCES): Added tag-calendar.[ch] to the list of sources. svn path=/trunk/; revision=6547
* Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync upMatt Bissiri2000-11-115-10/+10
| | | | | | | | | 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*" to sync up with yesterday's IDL re-scoping. svn path=/trunk/; revision=6541
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-114-320/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this script + some grunt approximates the work: s/Evolution_MessageList/GNOME_Evolution_MessageList/g; s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g; s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g; s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g; s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g; s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g; s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g; s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g; s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g; s/Evolution_ShellView/GNOME_Evolution_ShellView/g; s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g; s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g; s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g; s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g; s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g; s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g; s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g; s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g; s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g; s/Evolution_Shell/GNOME_Evolution_Shell/g; s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g; s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g; s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g; s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g; s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g; s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g; s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g; s/Evolution_Storage/GNOME_Evolution_Storage/g; s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g; s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g; s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g; s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g; s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g; s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g; s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g; s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g; s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g; s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g; s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g; s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g; s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g; s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g; s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g; s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g; s/Evolution_Session/GNOME_Evolution_Session/g; s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g; s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g; s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g; s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g; s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g; s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g; s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g; s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g; s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g; s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g; s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g; s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g; s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g; s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g; s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g; s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g; s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g; s/Evolution_Composer/GNOME_Evolution_Composer/g; s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g; s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g; s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g; s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g; s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g; s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g; s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g; s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g; s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g; s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g; s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g; s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g; s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g; s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g; s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g; s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g; s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g; s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g; s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g; s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g; s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g; s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g; s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g; s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g; s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g; s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g; s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g; s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g; s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g; s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g; s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g; s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g; s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g; s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g; s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g; s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g; s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g; s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g; s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g; s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g; s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g; s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; svn path=/trunk/; revision=6535
* I wrote the code so that recipients of meeting requests can replyJesse Pavel2000-11-101-8/+180
| | | | | | | * gui/e-itip-control.c: I wrote the code so that recipients of meeting requests can reply appropriately. svn path=/trunk/; revision=6527
* fixed a bug that would make the calendar segfault if the meeting editorJesse Pavel2000-11-101-6/+8
| | | | | | | | * gui/e-meeting-edit.c: fixed a bug that would make the calendar segfault if the meeting editor were called up twice without first saving the component. svn path=/trunk/; revision=6526
* updated the GUI to allow the user to add PUBLISHed events to his calendar,Jesse Pavel2000-11-092-27/+119
| | | | | | | | * gui/e-itip-control.c, gui/e-itip-control.glade: updated the GUI to allow the user to add PUBLISHed events to his calendar, and created unworking buttons for meeting requests. svn path=/trunk/; revision=6518
* These changes fix bugzilla bugs #874 and #875.Federico Mena Quintero2000-11-096-64/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Federico Mena Quintero <federico@helixcode.com> These changes fix bugzilla bugs #874 and #875. * cal-util/cal-component.c (cal_component_get_exdate_list): Return a list of CalComponentDateTime instead of simple struct icaltimetype objects. Exception date properties *can* contain a timezone parameter, so we need to include those if they are present. (cal_component_set_exdate_list): On the input, handle a list of CalComponentDateTime structures. On the internals, handle a list of struct datetime instead of plain properties. (cal_component_free_exdate_list): Handle a list of CalComponentDateTime structures. (scan_exdate): Create a list of struct datetime structures. (free_icalcomponent): Free the exdate_list properly. * cal-util/cal-recur.c (generate_instances_for_chunk): Use the proper types for exception dates. * gui/comp-util.h: * gui/comp-util.c: New files with utilities for manipulating calendar component objects. (cal_comp_util_add_exdate): New function. * gui/Makefile.am (evolution_calendar_SOURCES): Added comp-util.[ch] to the list of sources. * gui/e-day-view.c (add_exdate): New convenience function to add an exception date to a calendar component. (e_day_view_on_unrecur_appointment): Use cal_comp_util_add_exdate(). (e_day_view_on_delete_occurrence): Likewise. * gui/e-week-view.c (e_week_view_on_delete_occurrence): Likewise. (e_week_view_on_unrecur_appointment): Likewise. * gui/event-editor.c (nth_weekday): Be paranoid about valid position values. (fill_widgets): Use the proper types for exdates. (dialog_to_comp_object): Likewise. svn path=/trunk/; revision=6517
* Adjust the valid range of the month index spin button depending on theFederico Mena Quintero2000-11-091-0/+70
| | | | | | | | | | 2000-11-08 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (adjust_day_index_spin): Adjust the valid range of the month index spin button depending on the selection of the day/weekday menu. svn path=/trunk/; revision=6514
* *gui/e-itip-control.c, gui/e-itip-control.glade: changed the GUI,Jesse Pavel2000-11-082-108/+138
| | | | | | and added some extra feedback for the user. svn path=/trunk/; revision=6495
* Added a "changed" signal to notify of changes to the set of selected days.Federico Mena Quintero2000-11-082-1/+24
| | | | | | | | | | | | | 2000-11-07 Federico Mena Quintero <federico@helixcode.com> * gui/weekday-picker.h (WeekdayPickerClass): Added a "changed" signal to notify of changes to the set of selected days. * gui/weekday-picker.c (weekday_picker_class_init): Create the "changed" signal. (weekday_picker_set_days): Emit the "changed" signal. svn path=/trunk/; revision=6487
* *gui/e-itip-control.c, gui/e-itip-control.glade: changed to GUI toJesse Pavel2000-11-074-57/+247
| | | | | | | | | | accomodate dynamically generated buttons, which will be tailored to the type of iTip message that is incoming. *gui/e-meeting-dialog.glade gui/e-meeting-edit.c: added a new button to publish events, in addition to requesting meetings. svn path=/trunk/; revision=6463
* Removed the old recurrence page. Wheeeeeeeeee!Federico Mena Quintero2000-11-075-473/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-05 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor-dialog.glade: Removed the old recurrence page. Wheeeeeeeeee! * gui/event-editor.c (make_recurrence_special): Clear the monthly widgets. (make_recur_monthly_special): Create the monthly widgets. (clear_widgets): Clear the monthly values. (simple_recur_to_comp_object): Fill in the monthly values. (fill_recurrence_widgets): Fill in the monthly and yearly source values. (dialog_to_comp_object): Take in a CalComponent instead of using the event editor's directly. (recur_to_comp_object): Likewise. (simple_recur_to_comp_object): Likewise. (EventEditorPrivate): Removed the widgets from the old recurrence page. (get_widgets): Likewise. (clear_widgets): Likewise. (dialog_to_comp_object): If the description or summary are empty, just clear the description list or summary property, respectively, instead of saving empty ones. (simple_recur_to_comp_object): Set the week_start field. * gui/main.c: Fix includes, and add calendar-config.h. * gui/Makefile.am (evolution_calendar_SOURCES): The glade messages file should not be in SOURCES. svn path=/trunk/; revision=6417
* added some checks for the type of an incoming iCal component beforeJesse Pavel2000-11-072-6/+32
| | | | | | passing it off to the CalComponent routines svn path=/trunk/; revision=6415
* Block signals from the toggle button. (date_changed_cb): MergedFederico Mena Quintero2000-11-051-86/+45
| | | | | | | | | | | | | | | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (check_all_day): Block signals from the toggle button. (date_changed_cb): Merged check_dates() and check_times() into this function; provide better behavior as well. (check_dates): Removed function. (check_times): Removed function. (init_widgets): Connect to the "changed" signal on the start_time and end_time widgets. (check_all_day): Use a better test. 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/component/select-names/Makefile.am: Clean the idl-generated files properly. svn path=/trunk/; revision=6396
* Clean the idl-generated sources properly. Likewise.Federico Mena Quintero2000-11-043-20/+23
| | | | | | | | | | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * gui/Makefile.am: Clean the idl-generated sources properly. * cal-client/Makefile.am: Likewise. 2000-11-02 Federico Mena Quintero <federico@helixcode.com> * gui/dialogs/task-editor.c (init_widgets): The date editor's signal is now "changed". (completed_changed): Renamed callback to reflect the name of the signal. svn path=/trunk/; revision=6366
* The big api rename ...Michael Meeks2000-11-024-9/+378
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Makefile.am: renamed GNOMELOCALEDIR to EVOLUTION_LOCALEDIRGediminas Paulauskas2000-11-021-1/+1
| | | | svn path=/trunk/; revision=6323
* modified or added a bunch of .cvsignore to ignore generated files, whichGediminas Paulauskas2000-11-012-1/+4
| | | | | | | | | * modified or added a bunch of .cvsignore to ignore generated files, which are not in repository. * call *textdomain() in various files only when ENABLE_NLS is defined svn path=/trunk/; revision=6310
* calendar: made all gui show localizedGediminas Paulauskas2000-11-011-0/+3
| | | | | | | camel: updated charset info from newest libunicode po: updated Lithuanian translation svn path=/trunk/; revision=6308
* Hmmm. SHRT_MAX changed to ICAL_RECURRENCE_ARRAY_MAX in libical. Deal withFederico Mena Quintero2000-11-011-6/+8
| | | | | | | | | | | | | | | | | 2000-10-31 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (count_by_xxx): Hmmm. SHRT_MAX changed to ICAL_RECURRENCE_ARRAY_MAX in libical. Deal with it. (fill_recurrence_widgets): Likewise. (simple_recur_to_comp_object): Fixed incorrect assertion. The weekday picker is not the immediate child of the recurrence special container. (fill_recurrence_widgets): Call make_recurrence_special() after setting the recurrence period type. (fill_ending_date): Call make_recurrence_ending_special(). This would be so much nicer if GTK+ were model/view all over. svn path=/trunk/; revision=6305
* this is a generated file. remove itDan Winship2000-11-011-369/+0
| | | | svn path=/trunk/; revision=6301
* New function. We split it from the radio callback so that we can call itFederico Mena Quintero2000-11-011-7/+20
| | | | | | | | | | | | 2000-10-30 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sensitize_recur_widgets): New function. We split it from the radio callback so that we can call it explicitly from fill_recurrence_widgets(). (fill_recurrence_widgets): Call sensitize_recur_widgets() as appropriate. svn path=/trunk/; revision=6293
* Removed the geometry and hidden arguments. This code is ancient.Federico Mena Quintero2000-10-313-54/+12
| | | | | | | | | | | | | | 2000-10-30 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (new_calendar): Removed the geometry and hidden arguments. This code is ancient. (all_calendars): Made static. This sucks; configuration should be notification-based instead of "let's iterate through all open calendars". (active_calendars): Removed. Functions can check the length of the all_calendars list if they are interested. svn path=/trunk/; revision=6274
* Do not take in an extra data pointer. (summary_changed_cb): Use a singleFederico Mena Quintero2000-10-311-25/+36
| | | | | | | | | | | | | 2000-10-30 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sync_entries): Do not take in an extra data pointer. (summary_changed_cb): Use a single call back to sync both entries. (sync_date_edits): New function to sync two EDateEdit widgets. (init_widgets): Connect the general and recurrence starting date widgets. svn path=/trunk/; revision=6268
* New function. (general_summary_changed_cb): Sync the general summary toFederico Mena Quintero2000-10-283-1331/+505
| | | | | | | | | | | | | | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (sync_entries): New function. (general_summary_changed_cb): Sync the general summary to the recurrence summary widget. (recurrence_summary_changed_cb): Vice-versa. (init_widgets): Hook to the summaries. * event-editor-dialog.glade: Do not expand/fill the start and end date so that the "all day event" button is not pushed all the way to the right. Decrease the spacing between the recurrence sentence widgets. Remove a spurious empty label that was lurking around the recurrence widgets. Make the alarm widgets expand the right way. Delete old recurrence widgets. svn path=/trunk/; revision=6246
* Connect to the recurrence ending menu. (recur_ending_selection_done_cb):Federico Mena Quintero2000-10-283-330/+239
| | | | | | | | | | | | | | | | | | | | | 2000-10-27 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (init_widgets): Connect to the recurrence ending menu. (recur_ending_selection_done_cb): Implemented. (make_recurrence_ending_special): Implemented. (make_recur_ending_until_special): Implemented. (fill_ending_date): Implemented. (make_recur_ending_count_special): Implemented. (simple_recur_to_comp_object): Fill in the ending date. (clear_widgets): Clear the recurrence ending widgets. * gui/event-editor-dialog.glade: Moved the recurrence type radio buttons to a single hbox to save space. Fixed the lower value of the recurrence interval spin button. Removed the stale widgets from the recurrence ending date part. svn path=/trunk/; revision=6245
* fixed problems in which I allocated CORBAJesse Pavel2000-10-281-0/+2
| | | | | | strings of 0 length, but then didn't NULL terminate them. svn path=/trunk/; revision=6243
* SHUT THE FUCK UP, DONNIE. DUDE, THEY PEED YOUR FUCKING RUG.Federico Mena Quintero2000-10-271-11/+3
| | | | svn path=/trunk/; revision=6220
* This is the new recurrence page, partially finished. I just want it on CVSFederico Mena Quintero2000-10-276-249/+1452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the new recurrence page, partially finished. I just want it on CVS for if my laptop explodes. This is highly disgusting code. It has to discriminate between the recurrence types we support and the ones we do not. I hate iCalendar. I hate it more than Hi-Fi\'s pizza. 2000-10-26 Federico Mena Quintero <federico@helixcode.com> * gui/event-editor.c (EventEditorPrivate): Integrate Anna's new recurrence page. Replace the old widget pointers with the new ones. Modified the relevant functions accordingly and added plenty of new ones. (event_editor_get_cal_client): New function. (fill_recurrence_widgets): This is *THE* tricky function for you. It has to discriminate whether we get a recurrence we support for editing or not. And this is not trivial. Sigh. (event_editor_update_widgets): Added preconditions and API docs. * event-editor-dialog.glade: Fixed all the spacings/ paddings/packing options so that the widgets will look right if the dialog box is resized. Also fixes some misaligned widgets. * cal-util/cal-component.c (cal_component_set_rdate_list): Removed incorrect assertion. svn path=/trunk/; revision=6219
* unsigned chars to isalphaMichael Meeks2000-10-271-1/+0
| | | | | | | | | | 2000-10-26 Michael Meeks <michael@helixcode.com> * pcs/cal-factory.c (str_tolower): unsigned chars to isalpha * cal-util/calobj.c (weekdaylist, weekdaynum): ditto. svn path=/trunk/; revision=6217
* Small fixes.Jesse Pavel2000-10-272-25/+54
| | | | svn path=/trunk/; revision=6211
* User bonobo_control_get_remote_uid_container, not the old version52000-10-261-0/+1
| | | | | | | | | 2000-10-25 <jpr@helixcode.com> * component/e-summary-factory.c (control_activate): User bonobo_control_get_remote_uid_container, not the old version svn path=/trunk/; revision=6196
* removed the Evolution-Composer generated files, due to a tip on how we doJesse Pavel2000-10-263-98/+4
| | | | | | | | | | | | | * removed the Evolution-Composer generated files, due to a tip on how we do things. * gui/e-meeting-edit.c: I fixed a bunch of memory-deallocation bugs, and finished the initial integration with the mailer. * gui/Makefile.am: made the build us the Evolution-Composer.idl from the composer directory. svn path=/trunk/; revision=6176
* Removed generated files.Jesse Pavel2000-10-264-1868/+4
| | | | svn path=/trunk/; revision=6175
* added this from the composer IDL sourcesJesse Pavel2000-10-267-6/+2425
| | | | | | | | | | | | | | | | | * gui/Evolution-Composer.idl: added this from the composer IDL sources * gui/Makefile.am: changed to reflect the above IDL and the associated orbit-idl generated files. * gui/Evolution-Composer.h, gui/Evolution-Composer-common.c, gui/Evolution-Composer-stubs.c, gui/Evolution-Composer-skels.c: the generated files, as per the above description. * gui/e-meeting-edit.c: more work towards mailer integration. svn path=/trunk/; revision=6174
* I've added code to interact with the mailer's CORBA interfaces, thoughJesse Pavel2000-10-251-15/+116
| | | | | | it's not yet working. svn path=/trunk/; revision=6155
* AM_GNOME_GETTEXT doesn't use $(datadir)/locale as the locale dir. (ItDan Winship2000-10-242-2/+2
| | | | | | | uses either $(prefix)/share/locale or $(prefix)/lib/locale.) Cope with this. svn path=/trunk/; revision=6141
* removed debug message.Damon Chaplin2000-10-216-12/+94
| | | | | | | | | | | | | | | | | | | | | | | 2000-10-21 Damon Chaplin <damon@helixcode.com> * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_use_24_hour_toggled): removed debug message. * gui/e-calendar-table.c (e_calendar_table_save_state): new function to save the state of the table to a given file. * gui/e-calendar-table.h (struct _ECalendarTable): added etable field so we can access it to save the state. * gui/gnome-cal.c (gnome_calendar_destroy): call e_calendar_table_save_state() to save the state of the TaskPad. (setup_widgets): load the state of the TaskPad. * gui/calendar-config.c: added support for the default view. * gui/gnome-cal.c (gnome_calendar_construct): (gnome_calendar_set_view_internal): use/set the default view setting. svn path=/trunk/; revision=6097
* added more (working) integration with theJesse Pavel2000-10-211-31/+14
| | | | | | meeting schedular. svn path=/trunk/; revision=6096
* added more (unworking) integration with theJesse Pavel2000-10-213-3/+67
| | | | | | meeting schedular. svn path=/trunk/; revision=6088
* s/BonoboUIHandler/BonoboUIComponent/Michael Meeks2000-10-212-17/+17
| | | | | | | | | | 2000-10-20 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.h: s/BonoboUIHandler/BonoboUIComponent/ * gui/calendar-commands.c (properties_cmd): ditto. svn path=/trunk/; revision=6084
* use cal_component_has_alarms().Damon Chaplin2000-10-201-15/+1
| | | | | | | | | 2000-10-20 Damon Chaplin <damon@helixcode.com> * gui/calendar-model.c (calendar_model_value_at): use cal_component_has_alarms(). svn path=/trunk/; revision=6075
* added _click-to-add-message, though I'm not sure if i18n will work.Damon Chaplin2000-10-208-31/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-20 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): added _click-to-add-message, though I'm not sure if i18n will work. * cal-util/cal-recur.c (cal_obj_time_add_hours): (cal_obj_time_add_minutes): (cal_obj_time_add_seconds): updated to handle -ve args. * cal-util/timeutil.c (time_add_day): set tm_isdst to -1 before calling mktime(). * cal-util/cal-recur.c (generate_instances_for_chunk): don't call the callback if the event ends exactly on the interval start time. * gui/e-week-view.c (e_week_view_reshape_event_span): * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): * gui/e-day-view.c (e_day_view_reshape_long_event): (e_day_view_reshape_day_event): use cal_component_has_alarms(). * cal-util/cal-component.[hc]: added cal_component_has_alarms(). 2000-10-16 Damon Chaplin <damon@helixcode.com> * gui/calendar-config.c (config_read): set default MonthVPanePosition to 1 rather than 0, so if you move the hpane you'll see the date navigator. svn path=/trunk/; revision=6063
* *** empty log message ***Jesse Pavel2000-10-203-5/+90
| | | | svn path=/trunk/; revision=6062
* *** empty log message ***Jesse Pavel2000-10-203-1/+22
| | | | svn path=/trunk/; revision=6050
* Build fixes from Jacob, same as the other branch.Ettore Perazzoli2000-10-201-0/+2
| | | | svn path=/trunk/; revision=6035
* remove; redundant.Michael Meeks2000-10-192-268/+42
| | | | | | | | | | | | | 2000-10-19 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c (tb_print_cb): remove; redundant. * gui/event-editor.c (create_menu, create_toolbar): kill. (event_editor_destroy): upd. (event_editor_construct): update to new UI handler, cast priv->general_summary to a widget not an object. svn path=/trunk/; revision=6009
* die. (debug_xml_cb): add debugging hook.Michael Meeks2000-10-183-295/+43
| | | | | | | | | | | | | 2000-10-18 Michael Meeks <michael@helixcode.com> * gui/dialogs/task-editor.c (create_menu, create_toolbar): die. (debug_xml_cb): add debugging hook. * gui/dialogs/Makefile.am: add EVOLUTION_DATADIR * gui/dialogs/task-editor.c (task_editor_construct): upd for new UI. svn path=/trunk/; revision=5973
* Added focus to the general_summary text entry.Anna Marie Dirks2000-10-171-0/+8
| | | | | | | 2000-10-17 Anna Marie Dirks <anna@helixcode.com> * gui/event-editor.c: Added focus to the general_summary text entry. svn path=/trunk/; revision=5964
* Minor update to the icon /tigertTuomas Kuosmanen2000-10-171-25/+25
| | | | svn path=/trunk/; revision=5963
* *** empty log message ***Jesse Pavel2000-10-172-7/+186
| | | | svn path=/trunk/; revision=5950
* new versions of the calendar view icons - comments welcome.Tuomas Kuosmanen2000-10-165-187/+150
| | | | | | /tigert svn path=/trunk/; revision=5939
* Move a bunch of CPPFLAGS defs into INCLUDES so they doesn't overrideDan Winship2000-10-161-3/+0
| | | | | | any CPPFLAGS set at configure time svn path=/trunk/; revision=5935
* Icon property for the calendar component.Ettore Perazzoli2000-10-155-0/+10
| | | | svn path=/trunk/; revision=5915
* *** empty log message ***Jesse Pavel2000-10-141-2/+2
| | | | svn path=/trunk/; revision=5906
* *** empty log message ***Jesse Pavel2000-10-142-13/+435
| | | | svn path=/trunk/; revision=5905
* set the 2 icon columns to a min width of 18 and resizable to FALSE.Damon Chaplin2000-10-131-2/+2
| | | | | | | | | 2000-10-12 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (E_CALENDAR_TABLE_SPEC): set the 2 icon columns to a min width of 18 and resizable to FALSE. svn path=/trunk/; revision=5892
* set the pixmaps of the toolbar buttons for the views, and removed a lot ofDamon Chaplin2000-10-122-59/+54
| | | | | | | | | | | | | | | | 2000-10-12 Damon Chaplin <damon@helixcode.com> * gui/calendar-commands.c (calendar_control_activate): (update_pixmaps): (set_pixmap): set the pixmaps of the toolbar buttons for the views, and removed a lot of old unused stuff. We'll use plain buttons for the view buttons for now, until Bonobo toolbars support radio buttons. * gui/gnome-cal.c (gnome_calendar_dayjump): check day_button is not NULL before using it. (gnome_calendar_update_view_buttons): check button is not NULL. svn path=/trunk/; revision=5889
* got 12/24 hour format the wrong way round.Damon Chaplin2000-10-121-2/+2
| | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/e-day-view-time-item.c (e_day_view_time_item_draw): got 12/24 hour format the wrong way round. svn path=/trunk/; revision=5880
* Disable stuffIain Holmes2000-10-122-2/+4
| | | | svn path=/trunk/; revision=5875
* Disable executive-summaryIain Holmes2000-10-124-8/+21
| | | | svn path=/trunk/; revision=5874
* *** empty log message ***Jesse Pavel2000-10-121-9/+23
| | | | svn path=/trunk/; revision=5865
* New versions of the task icons /tigertTuomas Kuosmanen2000-10-125-473/+106
| | | | svn path=/trunk/; revision=5860
* don't free evolution_dir as we need it to save the config settings.Damon Chaplin2000-10-122-2/+0
| | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/component-factory.c (owner_unset_cb): don't free evolution_dir as we need it to save the config settings. svn path=/trunk/; revision=5858
* call calendar_config_write_on_exit() to write out some special configDamon Chaplin2000-10-1222-100/+2730
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * gui/main.c (main): call calendar_config_write_on_exit() to write out some special config settings (as the mail component does). * gui/calendar-commands.c (properties_cmd): changed to use the new preferences dialog. (update_all_config_settings): new function to iterate over all the calendars and update the config settings. * gui/dialogs/cal-prefs-dialog.glade: preferences dialog. * gui/dialogs/cal-prefs-dialog.[hc]: new files for the preferences dialog. * gui/calendar-config.[hc]: new files to handle loading/saving config settings. * cal-util/cal-recur.c: fixed bug in YEARLY when no filters were set, plus minor changes. * cal-util/test-recur.c: updated. * gui/e-day-view-time-item.c: * gui/popup-menu.c: update to #include <gal/widgets/e-gui-utils.h> * gui/component-factory.c (owner_set_cb): called calendar_config_init. (owner_set_cb): (owner_unset_cb): updated the prototypes. * gui/main.c (main): added call to calendar_config_write_on_exit(). * gui/component-factory.h: * gui/component-factory.c (owner_set_cb): added global evolution_dir just like the mail component, so we know we to store config stuff. svn path=/trunk/; revision=5856
* Fixed the column elements here.Christopher James Lahey2000-10-111-3/+3
| | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Fixed the column elements here. svn path=/trunk/; revision=5850
* Updated to use the new ETable specification stuff.Christopher James Lahey2000-10-111-51/+30
| | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * gui/e-calendar-table.c: Updated to use the new ETable specification stuff. svn path=/trunk/; revision=5846
* *** empty log message ***Jesse Pavel2000-10-1111-54/+480
| | | | svn path=/trunk/; revision=5825
* new round-and-around-and-around-and-arou..duh. New icon. For repeatingTuomas Kuosmanen2000-10-101-78/+16
| | | | | | appointments. /tigert svn path=/trunk/; revision=5811
* Added the executive-summary library and cflagsIain Holmes2000-10-1010-3/+341
| | | | | | | | | | | | | | | | | 2000-10-09 Iain Holmes <iain@helixcode.com> * Makefile.am: Added the executive-summary library and cflags * evolution-calendar.oafinfo: Added oaf servers for the executive summary and executive summary factory. * calendar-summary.[ch]: New files to create the summary. * component-factory.c (summary_fn): Create the executive summary component. (component_factory_init): Start the summary factory as well. svn path=/trunk/; revision=5807
* New widget to pick weekdays.Federico Mena Quintero2000-10-072-0/+604
| | | | | | | | 2000-10-06 Federico Mena Quintero <federico@helixcode.com> * gui/weekday-picker.[ch]: New widget to pick weekdays. svn path=/trunk/; revision=5774
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-051-38/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* when the user types in a new event, don't create it until the user hitsDamon Chaplin2000-10-054-73/+10
| | | | | | | | | | | | | | | | | | | 2000-10-05 Damon Chaplin <damon@helixcode.com> * gui/e-day-view.c: * gui/e-week-view.c: when the user types in a new event, don't create it until the user hits Return or switches focus. Removed the editing_new_event flags. * cal-util/test-recur.c: rewritten to work on ics files. Now I can start testing the recurrence code. * cal-util/cal-recur.c: a few fixes. * gui/e-day-view.c (e_day_view_check_if_new_event_fits): fixed to return TRUE for long events, not FALSE. svn path=/trunk/; revision=5729
* As a temporary solution to the to-do printing, just print the summaries.Federico Mena Quintero2000-10-051-34/+40
| | | | | | | | | | 2000-10-04 Federico Mena Quintero <federico@helixcode.com> * gui/print.c (print_todo_details): As a temporary solution to the to-do printing, just print the summaries. We'll use the ETable printing stuff later. svn path=/trunk/; revision=5721
* Use g_list_append() correctly. (print_todo_details_cb): Likewise.Federico Mena Quintero2000-10-051-20/+26
| | | | | | | | | | | | | 2000-10-04 Federico Mena Quintero <federico@helixcode.com> * gui/print.c (print_day_summary_cb): Use g_list_append() correctly. (print_todo_details_cb): Likewise. (print_day_summary): Initialize psi.events. This code was obviously never tested. (print_todo_details): Likewise. (print_day_details): Initialize pdi.slots. svn path=/trunk/; revision=5711
* Fix strftime() %a versus %b confusion. Fixes bugzilla #644.Federico Mena Quintero2000-10-051-38/+14
| | | | | | | | | | | | 2000-10-04 Federico Mena Quintero <federico@helixcode.com> * gui/print.c (range_selector_new): Fix strftime() %a versus %b confusion. Fixes bugzilla #644. (range_selector_new): Fix the whole localization mess by making better use of strftime(). Now we generate whole date strings at a time and compose them later. Fixes bugzilla #643. svn path=/trunk/; revision=5709
* *** empty log message ***Jesse Pavel2000-10-042-135/+500
| | | | svn path=/trunk/; revision=5695
* *** empty log message ***Jesse Pavel2000-10-034-140/+403
| | | | svn path=/trunk/; revision=5658
* updated to support RDATE end times or durations. Note that if you have twoDamon Chaplin2000-09-306-108/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-29 Damon Chaplin <damon@helixcode.com> * cal-util/cal-recur.c: updated to support RDATE end times or durations. Note that if you have two RDATEs with the same start times, but with different end dates/durations set, the results are unpredictable. So the event editor dialog should check for this. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): make strftime() strings translatable, and changed the formats a bit. * NOTE: someone needs to check print.c to make sure strftime strings are OK for i18n. * gui/e-day-view.h: Changed EDayViewDateFormat enum. We now try to include the weekday if possible. Also changed EDayView struct so we store the month & weekdays with the longest names rather than the actual widths. This helps i18n. * gui/e-day-view.c (e_day_view_recalc_cell_sizes): used _() for strftime strings, tried to see if weekday fits, and rearranged a bit to make i18n easier. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): used _() for strftime strings, and updated to use new formats. * gui/calendar-model.c: added use_24_hour_format boolean to CalendarModelPrivate so we can display dates in 12-hour format if requested. This meant adding a CalendarModel argument to a few functions. Also added get/set functions to set use_24_hour_format. I suppose ideally we should have an ECellDate renderer and this option should go there. svn path=/trunk/; revision=5646
* *** empty log message ***Jesse Pavel2000-09-285-7/+616
| | | | svn path=/trunk/; revision=5603
* set the height of the scrolled window for the description field, since theDamon Chaplin2000-09-254-17/+18
| | | | | | | | | | | | | | | | | | | | | 2000-09-24 Damon Chaplin <damon@helixcode.com> * gui/dialogs/task-editor-dialog.glade: set the height of the scrolled window for the description field, since the default window height doesn't seem to be working. * cal-util/cal-component.h: added functions to get the actual icalproperty lists for RRULE and EXRULE properties. * cal-util/cal-recur.[hc]: added support for COUNT, though I need to test it a bit. Also fixed the call to generate_instances_for_year() so it uses the chunk dates. 2000-09-20 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c: got rid of 1 '_' in '__Formatting'. svn path=/trunk/; revision=5562
* Updates for the Bonobo changes from Michael who is having someEttore Perazzoli2000-09-231-14/+6
| | | | | | troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560
* Removed the "about calendar" command, since we don't want to have bothFederico Mena Quintero2000-09-221-23/+0
| | | | | | | | | | 2000-09-21 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-commands.c (verbs): Removed the "about calendar" command, since we don't want to have both "About Evolution" and "About Calendar". svn path=/trunk/; revision=5545
* Dear native speakers,Federico Mena Quintero2000-09-221-1/+1
| | | | | | | | | | | | | Dear native speakers, It is spelled "calendar". This has been a public service announcement courtesy of a non-native speaker. Thank you for your attention. svn path=/trunk/; revision=5543
* s/Bonobo_UIHandler/Bonobo_UIContainer/Michael Meeks2000-09-211-1/+1
| | | | | | s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1813-24/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Everywhere add a -DEVOLUTION_DATADIR=${datadir} in the Makefile.amMichael Meeks2000-09-172-1/+3
| | | | | | | | And use this in grabbing the ui from the xml file. Requires HEAD bonobo. svn path=/trunk/; revision=5474
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-143-123/+96
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Removed an unused variable.Federico Mena Quintero2000-09-141-3/+0
| | | | | | | | | 2000-09-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (obj_updated_cb): Removed an unused variable. svn path=/trunk/; revision=5411
* See if the new object matches the type of objects we were told to dealFederico Mena Quintero2000-09-141-0/+31
| | | | | | | | | | 2000-09-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (obj_updated_cb): See if the new object matches the type of objects we were told to deal with. (load_objects): Likewise. svn path=/trunk/; revision=5410
* Get rid of the `ui.xml' stuff that Michael committed, as it's breakingEttore Perazzoli2000-09-131-5/+0
| | | | | | distcheck. svn path=/trunk/; revision=5381
* Tidy some xml.Michael Meeks2000-09-131-87/+0
| | | | svn path=/trunk/; revision=5376
* Connect to the "cal_loaded" signal of the client here. (connect_load):Federico Mena Quintero2000-09-121-75/+38
| | | | | | | | | | | | | | | 2000-09-12 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_construct): Connect to the "cal_loaded" signal of the client here. (connect_load): Removed function. (disconnect_load): Removed function. (cal_loaded_cb): Store the URI we are loading in the GnomeCal structure instead of in a weird closure. This gets rid of the connect/disconnect mess as well. (gnome_calendar_open): Store the URI in the GnomeCal. svn path=/trunk/; revision=5357
* Fixed a warning (removed unused variable gfloat width fromChristopher James Lahey2000-09-111-1/+0
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * gui/e-day-view.c: Fixed a warning (removed unused variable gfloat width from e_day_view_get_event_position.) svn path=/trunk/; revision=5318
* Relying on the status field is somewhat faulty since it is related toJP Rosevear2000-09-111-8/+1
| | | | | | | | | 2000-09-10 JP Rosevear <jpr@helixcode.com> * gui/calendar-model.c (get_is_complete): Relying on the status field is somewhat faulty since it is related to group scheduling svn path=/trunk/; revision=5308