aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bunch of gal includes that are no longer neededJP Rosevear2003-11-201-1/+0
| | | | | | | | 2003-11-20 JP Rosevear <jpr@ximian.com> * Remove a bunch of gal includes that are no longer needed svn path=/trunk/; revision=23457
* Cleanup some ref/unref callsJP Rosevear2003-11-181-2/+2
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * Cleanup some ref/unref calls svn path=/trunk/; revision=23412
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-171-2/+1
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* remove the AlarmNotify service, no more need for it, since the alarmRodrigo Moya2003-11-174-101/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-17 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: remove the AlarmNotify service, no more need for it, since the alarm daemon will listen for changes on the GConf key. * gui/gnome-cal.c (add_alarms): removed function to talk to the alarm daemon. (client_cal_opened_cb): don't call add_alarms(). * gui/alarm-notify/alarm-notify.[ch]: made it a basic GObject. (AlarmNotify_addCalendar, AlarmNotify_removeCalendar): removed AlarmNotify interface implementation. (alarm_notify_class_init): no epv to initialize. (alarm_notify_remove_calendar): new function, copied from the CORBA method implementation. (alarm_notify_factory_fn): return NULL, since there is no objects that can be created via this factory now. * gui/alarm-notify/notify-main.c (main): now the factory is the alarm notification service itself. (load_calendars): no need to use exceptions here. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: now the factory is the alarm notification service itself. * gui/main.c (launch_alarm_daemon_cb): dont use the AlarmNotify CORBA types. svn path=/trunk/; revision=23384
* use a standard calendar status (backend_cal_opened_online): dittoJP Rosevear2003-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2003-11-11 JP Rosevear <jpr@ximian.com> * gui/calendar-offline-handler.c (backend_cal_opened_offline): use a standard calendar status (backend_cal_opened_online): ditto * gui/alarm-notify/alarm-queue.c (cal_opened_cb): ditto * gui/gnome-cal.c (client_cal_opened_cb): ditto * gui/e-tasks.c (cal_opened_cb): ditto * gui/e-itip-control.c (default_server_started_cb): ditto * gui/e-cal-model.c (cal_opened_cb): ditto * gui/comp-editor-factory.c (cal_opened_cb): ditto svn path=/trunk/; revision=23286
* Shush.JP Rosevear2003-11-071-2/+2
| | | | svn path=/trunk/; revision=23215
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-078-97/+94
| | | | svn path=/trunk/; revision=23206
* set up vars and rules for versioning the .server filesJP Rosevear2003-10-311-9/+5
| | | | | | | | | | | | 2003-10-31 JP Rosevear <jpr@ximian.com> * configure.in: set up vars and rules for versioning the .server files * Makefile.am's: use rules for versioning .server file, ensure built files are removed before disting svn path=/trunk/; revision=23149
* removed.Rodrigo Moya2003-10-311-0/+11
| | | | | | | | | | | | | | | | | 2003-10-30 Rodrigo Moya <rodrigo@ximian.com> * gui/e-tasks.[ch] (e_tasks_get_cal_client): removed. * gui/tasks-control.c (sensitize_commands): fixed to work correctly with the ECalView's model. (tasks_control_set_property): don't use e_tasks_get_cal_client. * gui/alarm-notify/alarm-notify.c (free_client_hash): new function to remove items from the CalClient's hash table. (alarm_notify_finalize): call free_client_hash() for each item in the hash table. svn path=/trunk/; revision=23136
* use bonobo_main_quit, not gtk_main_quit.Rodrigo Moya2003-10-312-1/+16
| | | | | | | | | | | | | | 2003-10-24 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (client_die_cb): use bonobo_main_quit, not gtk_main_quit. * gui/alarm-notify/alarm-queue.c (free_client_alarms_cb): callback for freeing ClientAlarms stored in the hash table. (alarm_queue_done): call free_client_alarms_cb() for each opened client. svn path=/trunk/; revision=23134
* if the component received is an instance, add it to the recurrences hashRodrigo Moya2003-10-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-23 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend-file.c (add_component): if the component received is an instance, add it to the recurrences hash table. (free_recurrence): callback for g_hash_table_foreach() to free the recurrences in the CalBackendFileObject structure. (free_object): call free_recurrence for each recurrence. (remove_recurrence_cb): g_hash_table_foreach() callback to remove recurrences from the calendar. (remove_component): remove all recurrences. (cal_backend_file_open): check write access on the file, and set read_only flag appropriately. (cal_backend_file_is_read_only): return the private flag. (cal_backend_file_init): initialize read_only flag. (cal_backend_file_get_object): deal with recurrences. * gui/alarm-notify/notify-main.c (main): unref the alarm notification service when terminating. (client_die_cb): call bonobo_main_quit instead of gtk_main_quit. svn path=/trunk/; revision=23055
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-222-185/+26
| | | | svn path=/trunk/; revision=22965
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-102-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * cal-client/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/alarm-notify/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/alarm-notify/config-data.h: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/dialogs/comp-editor-util.c: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/e-delegate-dialog.c: #include <libical/ical.h> instead of <ical.h> * importers/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/cal.c: #include <libical/ical.h> instead of <ical.h> svn path=/trunk/; revision=22845
* Use images that come with Evolution instead of unreleased stock, for now.Hans Petter Jansson2003-08-291-5/+8
| | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb) (display_notification): Use images that come with Evolution instead of unreleased stock, for now. svn path=/trunk/; revision=22409
* Added alarm-notify utils.Hans Petter Jansson2003-08-295-95/+284
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * gui/alarm-notify/util.[ch]: Added alarm-notify utils. * gui/alarm-notify/Makefile.am: Added alarm-notify utils. * gui/alarm-notify/alarm-notify-dialog.c (timet_to_str_with_zone): Move to util.c. * gui/alarm-notify/alarm-queue.c (notify_dialog_cb) (on_dialog_removed_cb) (notify_dialog_cb) (tray_icon_destroyed_cb) (tray_icon_clicked_cb) (tray_icon_blink_cb) (display_notification): Add Rodrigo Moya's code for tray icon notification of appointments, with some fixes and blink code by me. Requires HEAD gnome-icon-theme for now. svn path=/trunk/; revision=22406
* ** Fixes #47863.Jack Jia2003-08-271-0/+3
| | | | | | | | | | | 2003-08-26 Jack Jia <jack.jia@sun.com> ** Fixes #47863. * gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash. svn path=/trunk/; revision=22380
* Ensure we get UTF-8 strings from gettext.Frédéric Crozat2003-08-221-0/+1
| | | | | | | * gui/alarm-notify/notify-main.c: (main): Ensure we get UTF-8 strings from gettext. svn path=/trunk/; revision=22334
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-201-4/+5
| | | | svn path=/trunk/; revision=22308
* Fixes all "alarm daemon doesn't start with session"Rodrigo Moya2003-07-291-1/+2
| | | | | | | | | | | | 2003-07-29 Rodrigo Moya <rodrigo@ximian.com> Fixes all "alarm daemon doesn't start with session" * gui/alarm-notify/notify-main.c (main): use LIBGNOMEUI_MODULE instead of LIBGNOME_MODULE so that the default session client is created in gnome_program_init. svn path=/trunk/; revision=22011
* Fix an unused variableDan Winship2003-07-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix an unused variable * gui/calendar-commands.c (purge_cmd): Fix warnings. * gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match the actual functions * gui/control-factory.c: add some missing #includes * gui/dialogs/delete-comp.c (delete_component_dialog): Fix a warning * gui/e-itip-control.c (write_label_piece): Remove unused variable. * gui/print.c (print_calendar): Remove unused variable (print_comp): Likewise. * gui/tasks-control.c (confirm_purge): Fix warnings. (print_tasks): Remove unused variable. svn path=/trunk/; revision=21905
* Fixes #44719Rodrigo Moya2003-06-271-5/+2
| | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44719 * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use gtk_window_set_icon_from_file to set the window's icon and implemented the code to make the window sticky with GTK 2.x API. svn path=/trunk/; revision=21559
* ** For #42691.Not Zed2003-06-111-2/+2
| | | | | | | | | | | | | | | 2003-06-05 Not Zed <NotZed@Ximian.com> ** For #42691. * gui/Makefile.am (%.server.in): implicit rule for .in file. (BUILT_SOURCES): added server_DATA. * gui/alarm-notify/Makefile.am (%.server.in): added implicit rule for .in file. (BUILT_SOURCES): added server_DATA. svn path=/trunk/; revision=21403
* fixed memory leak introduced by previous commit.Rodrigo Moya2003-05-141-0/+4
| | | | | | | | | 2003-05-13 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): fixed memory leak introduced by previous commit. svn path=/trunk/; revision=21162
* Fixes #41760Rodrigo Moya2003-05-141-17/+5
| | | | | | | | | | | | | 2003-05-12 Rodrigo Moya <rodrigo@ximian.com> Fixes #41760 * gui/alarm-notify/alarm-queue.c (create_snooze): don't add a new alarm, but update the already existing one. (notify_dialog_cb): make sure we don't remove the alarm if we are snoozing. svn path=/trunk/; revision=21160
* Fixes #41811JP Rosevear2003-05-061-0/+3
| | | | | | | | | | 2003-05-05 JP Rosevear <jpr@ximian.com> Fixes #41811 * gui/alarm-notify/Makefile.am: don't dist idl generated files svn path=/trunk/; revision=21112
* removed unused code.Rodrigo Moya2003-04-301-18/+0
| | | | | | | | | 2003-04-30 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed unused code. svn path=/trunk/; revision=21032
* Fixes #41661Rodrigo Moya2003-04-271-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 Rodrigo Moya <rodrigo@ximian.com> Fixes #41661 * idl/evolution-calendar.idl: added discardAlarm method to GNOME:Evolution:Calendar:Cal interface. * pcs/cal.c (cal_class_init): set new epv's method. (impl_Cal_discardAlarm): implementation of new CORBA method. * pcs/cal-backend.[ch]: added 'discard_alarm' virtual method, and CAL_BACKEND_RESULT_NOT_IMPLEMENTED to CalBackendResult enum. (cal_backend_class_init): initialize new class method. (cal_backend_discard_alarm): new method. (cal_backend_update_objects, cal_backend_remove_object): return proper CalBackendResult values. * pcs/cal-backend-file.c (cal_backend_file_class_init): initialize new class method. (cal_backend_file_discard_alarm): implementation of new method. * pcs/cal-client.[ch] (cal_client_discard_alarm): new function. * gui/alarm-notify/alarm-queue.c (remove_qeueud_alarm): don't remove the alarm directly from the component, call cal_client_discard_alarm and let the backend deal with it. svn path=/trunk/; revision=20973
* Fixed typoRodrigo Moya2003-04-241-1/+1
| | | | svn path=/trunk/; revision=20948
* Fixes #41671Rodrigo Moya2003-04-242-3/+6
| | | | | | | | | | | | | | 2003-04-23 Rodrigo Moya <rodrigo@ximian.com> Fixes #41671 * gui/alarm-notify/notify-main.c (main): added calls to gnome_sound_init and gnome_sound_shutdown. * gui/alarm-notify/alarm-queue.c (audio_notification): check that the sound file exists, and gdk_beep if not. svn path=/trunk/; revision=20946
* Fixes part of #41148, #41216 and #41235Rodrigo Moya2003-04-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | 2003-04-22 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #41148, #41216 and #41235 * gui/e-itip-control.c (init): * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct, e_meeting_time_selector_add_key_color): * gui/e-timezone-entry.c (e_timezone_entry_init): * gui/gnome-cal.c (setup_widgets): * gui/tasks-control.c (confirm_expunge): * gui/dialogs/comp-editor.c (setup_widgets): * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): * gui/dialogs/meeting-page.c (meeting_page_construct): * gui/dialogs/recurrence-page.c (make_weekly_special, make_monthly_special, make_ending_count_special): * gui/dialogs/schedule-page.c (schedule_page_construct): use HIG-suggested spacing. svn path=/trunk/; revision=20927
* removed 'heading' and 'message' labels.Rodrigo Moya2003-04-192-47/+1
| | | | | | | | | | | | 2003-04-18 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.glade: removed 'heading' and 'message' labels. * gui/alarm-notify/alarm-notify-dialog.c: removed deleted widgets. (alarm_notify_dialog): don't load the removed widgets. svn path=/trunk/; revision=20895
* Fixes #34498Rodrigo Moya2003-04-171-4/+8
| | | | | | | | | | | | | | | 2003-04-17 Rodrigo Moya <rodrigo@ximian.com> Fixes #34498 * gui/alarm-notify/alarm-queue.c: added a 'uid' field to the CompQueuedAlarms structure. (remove_queued_alarm): free the 'uid' field when freeing the structure. (add_component_alarms): g_strdup the component's UID and use that as the key for the hash table. svn path=/trunk/; revision=20879
* Fixes #41129, #41215, #41221, #41256Rodrigo Moya2003-04-171-215/+227
| | | | | | | | | | | | | | | | | | | | | 2003-04-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #41129, #41215, #41221, #41256 * gui/alarm-notify/alarm-notify.glade: * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/meeting-page.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/schedule-page.glade: * gui/dialogs/task-details-dialog.glade: * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: set spacing to 6 pixels everywhere. svn path=/trunk/; revision=20869
* only remove the alarm for backends that want it (Exchange).Rodrigo Moya2003-04-101-1/+3
| | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): only remove the alarm for backends that want it (Exchange). svn path=/trunk/; revision=20801
* Clean up server namesDan Winship2003-04-081-4/+4
| | | | | | | | | | | | * gui/GNOME_Evolution_Calendar.server.in.in: Clean up server names * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Likewise * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Likewise. Also mark the evolution:menu_name for i18n svn path=/trunk/; revision=20705
* Fixes #40790JP Rosevear2003-04-051-1/+1
| | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> Fixes #40790 * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog): return based on the response code (not old button stuff) svn path=/trunk/; revision=20679
* Fixes #34505Rodrigo Moya2003-03-181-7/+21
| | | | | | | | | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> Fixes #34505 * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added removal of the alarm itself in the calendar if the (new) argument says so. Also, set expecting_update flag to TRUE. (add_component_alarms): initialize expecting_update to FALSE. (remove_alarms): don't remove the component if expecting_update is TRUE. (obj_updated_cb, notify_dialog_cb, procedure_notification): adapted to changes in remove_queued_alarm. svn path=/trunk/; revision=20335
* if we already have the client loaded, don't remove it, just increment itsRodrigo Moya2003-03-102-50/+56
| | | | | | | | | | | | | | | | | | | | 2003-03-09 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we already have the client loaded, don't remove it, just increment its reference count. * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new argument to specify whether we want the component's structure removed if no more alarms exist, and only free the structure if TRUE. (remove_alarms): added same new argument and pass it over to remove_queued_alarm. (remove_comp, obj_updated_cb): passed new argument to remove_alarms. (procedure_notification): passed new argument to remove_queued_alarm. (obj_removed_cb): set all freed pointers to NULL. (notify_dialog_cb): only remove the alarm if the pointers are not NULL. svn path=/trunk/; revision=20232
* create the array to be returned only once.Rodrigo Moya2003-03-071-3/+3
| | | | | | | | | 2003-03-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): create the array to be returned only once. svn path=/trunk/; revision=20217
* ref the CalClient. (notify_dialog_cb): unref the CalClient.Rodrigo Moya2003-03-061-0/+2
| | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-queue.c (display_notification): ref the CalClient. (notify_dialog_cb): unref the CalClient. svn path=/trunk/; revision=20186
* new function. (alarm_notify_dialog): made it return a pointer to theRodrigo Moya2003-03-063-37/+126
| | | | | | | | | | | | | | | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog_disable_buttons): new function. (alarm_notify_dialog): made it return a pointer to the dialog structure. * gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted alarm removal out of remove_comp. (obj_updated_cb): remove the component only when needed. In normal updates, just update the internal structure. (edit_component): don't get a CompQueuedAlarms as argument, since it might be removed. (on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for modifications during dialog display. (notify_dialog_cb): disconnect from "obj_*ed" signals and call edit_component with the new set of arguments. (display_notification): added more data to the closure structure. svn path=/trunk/; revision=20185
* Remove libalarm.a, which was not being used by the calendar.Dan Winship2003-03-011-6/+2
| | | | | | | | | | | | | | * gui/Makefile.am (libevolution_calendar_la_LIBADD): Remove libalarm.a, which was not being used by the calendar. * gui/main.c: Remove unneeded alarm.h include. * gui/alarm-notify/Makefile.am (noinst_LIBRARIES): Stop building libalarm.a (evolution_alarm_notify_SOURCES): Add alarm.c, alarm.h (evolution_alarm_notify_LDADD): Remove libalarm.a svn path=/trunk/; revision=20107
* This makes alarm notification work.Hans Petter Jansson2003-02-271-1/+1
| | | | | | | | | | | 2003-02-26 Hans Petter Jansson <hpj@ximian.com> This makes alarm notification work. * gui/alarm-notify/notify-main.c (main): Initialize GTK. Don't initialize bonobo activation - bonobo_init() does that for us. svn path=/trunk/; revision=20085
* gconf settings upgradesMichael Zucci2003-02-242-95/+42
| | | | svn path=/trunk/; revision=20018
* CVS server broke again. Here's the rest...Hans Petter Jansson2003-02-231-2/+2
| | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximian.com> CVS server broke again. Here's the rest... * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Ditto. svn path=/trunk/; revision=20009
* GObject, not GtkObject. (calendar_model_destroy): ->Hans Petter Jansson2003-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-21 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-model.c (calendar_model_class_init): GObject, not GtkObject. (calendar_model_destroy): -> calendar_model_finalize (). * gui/calendar-view.c (calendar_view_class_init): GObject, not GtkObject. (calendar_view_destroy): -> calendar_view_finalize (). * gui/comp-editor-factory.c (comp_editor_factory_class_init): GObject, not GtkObject. (comp_editor_factory_destroy): -> comp_editor_factory_finalize (). * gui/e-day-view.c (e_day_view_long_event_button_press): gtk_signal_disconnect () -> g_signal_handler_disconnect (). (e_day_view_on_event_button_press): Ditto. (e_day_view_on_long_event_click): Ditto. (e_day_view_on_event_click): Ditto. (e_day_view_on_event_double_click): Ditto. (e_day_view_on_delete_appointment): Ditto. * gui/e-week-view.c (e_week_view_on_text_item_event): gtk_signal_disconnect () -> g_signal_handler_disconnect (). * gui/alarm-notify/alarm-notify.c (AlarmNotify_RemoveCalendar): Don't cast to GtkObject. svn path=/trunk/; revision=19995
* Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-221-3/+0
| | | | | | some LDADDs in the process svn path=/trunk/; revision=19994
* revert previous changeDan Winship2003-02-201-3/+3
| | | | svn path=/trunk/; revision=19968
* Remove libversit. We haven't depended on that in forever.Dan Winship2003-02-201-3/+3
| | | | | | | | | | | | | | | | | * cal-client/Makefile.am (client_test_LDADD): Remove libversit. We haven't depended on that in forever. * cal-util/Makefile.am (test_recur_LDADD): Likewise * gui/alarm-notify/Makefile.am: build libalarm as a shared library instead of static. * gui/dialogs/Makefile.am: likewise for libcal-dialogs * gui/Makefile.am (libevolution_calendar_la_LIBADD): update for that. svn path=/trunk/; revision=19965
* add .server.in filesDan Winship2003-02-201-0/+1
| | | | svn path=/trunk/; revision=19944
* Make the CORBA IDL compilation work with parallel makes. Likewise.Ettore Perazzoli2003-02-111-4/+7
| | | | | | | | | * gui/Makefile.am: Make the CORBA IDL compilation work with parallel makes. * gui/dialogs/Makefile.am: Likewise. * gui/alarm-notify/Makefile.am: Likewise. svn path=/trunk/; revision=19872
* remove this file, as it's generated now Add this file to generate theRodney Dawes2003-02-082-3/+5
| | | | | | | | | | | | 2003-02-07 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in: remove this file, as it's generated now * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Add this file to generate the .server.in from, with hardcoded path * gui/alarm-notify/Makefile.am: Hardcode path in server file svn path=/trunk/; revision=19851
* Use privlibexecdir. (INCLUDES): Remove cruft. (gladedir, serversdir):Dan Winship2003-02-063-19/+11
| | | | | | | | | | | | | | | | * gui/alarm-notify/Makefile.am: Use privlibexecdir. (INCLUDES): Remove cruft. (gladedir, serversdir): Remove definitions (evolution_alarm_notify_LDFLAGS): Remove no-longer-needed -export-dynamic. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): s/ICONSDIR/IMAGESDIR * gui/alarm-notify/notify-main.c (main): Fix up gettext initialization svn path=/trunk/; revision=19793
* array of localized month day names ("1st" - "31st")Dan Winship2003-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-recur.c (cal_recur_nth): array of localized month day names ("1st" - "31st") * gui/dialogs/recurrence-page.c (make_recur_month_num_submenu, make_recur_month_num_menu, month_num_menu_selection_done_cb): Use the new cal_recur_nth[] array. The way this was done before didn't localize properly. * gui/alarm-notify/notify-main.c (main): s/glade_gnome_init/glade_init/ From evolution-1-2-branch: * gui/e-itip-control.c (write_recurrence_piece): Describe recurrences, if we can. #30993 (set_date_label): If the meeting has recurrences, call write_recurrence_piece after writing the start and end dates. (write_label_piece): Wrap the timezone in <font size=-1> to de-emphasize it a bit and try to keep the timestamp on a single line even with big Outlook timezone names. Add an option to show just the date, for describing the end of recurrences (since the time in the UNTIL is the *beginning* of the last instance, which would confuse people). (update_item): Set the VCALENDAR's METHOD. (ok_clicked_cb): Use update_item, not remove_item, to process a cancelation. Part of #33875. * pcs/cal-backend-file.c (cal_backend_file_cancel_object): New, handle an ICAL_METHOD_CANCEL update. (cal_backend_file_update_objects): Call cal_backend_file_update_object or cal_backend_file_cancel_object as appropriate. svn path=/trunk/; revision=19763
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-051-13/+13
| | | | svn path=/trunk/; revision=19736
* Fixes #35572Ronald Kuetemeier2003-01-311-0/+1
| | | | | | | | | | | | 2003-30-01 Ronald Kuetemeier <ronald@kuetemeier.com> Fixes #35572 * gui/alarm-notify/alarm-queue.c: set saved_notification_time to last notification time when we update the config to last notification, so alarms will not get trigged again if a new calendar window is opened. svn path=/trunk/; revision=19690
* Remove, this is now defined in configure.in.Ettore Perazzoli2003-01-251-1/+0
| | | | | | | | | | | | | * gui/dialogs/Makefile.am (iconsdir): Remove, this is now defined in configure.in. * gui/Makefile.am (iconsdir): Remove; this is now defined in configure.in. * gui/alarm-notify/Makefile.am (iconsdir): Remove; this is now defined in configure.in. svn path=/trunk/; revision=19620
* Fixes some trivial, but distracting, warnings.Hans Petter Jansson2003-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> Fixes some trivial, but distracting, warnings. * gui/calendar-config.c (on_timezone_set): Fix constness. * gui/e-timezone-entry.c (on_button_clicked): Fix constness. * gui/dialogs/event-page.c (contacts_changed_cb): Fix constness. * gui/dialogs/task-page.c (contacts_changed_cb): Fix constness. * gui/e-itip-control.c (start_default_server): Cast callback with G_CALLBACK (). * gui/dialogs/schedule-page.c (init_widgets): Cast callback with G_CALLBACK (). * gui/calendar-offline-handler.c (impl_dispose): Takes GObject, not GtkObject. (impl_finalize): Ditto. * gui/calendar-view.c (calendar_view_edit): Now takes parent window as second arg. * gui/e-meeting-model.c (select_names_ok_cb): Fix constness. (get_select_name_dialog): Cast callback to BonoboListenerCallbackFn. * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): Add the push_in arg to arg list. This was crash-prone before. (e_meeting_time_selector_autopick_menu_position_callback): Ditto. * gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h. svn path=/trunk/; revision=19605
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-232-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * gui/e-tasks.c (e_tasks_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install libcal-util.la in $(privlibdir) instead of $(libdir). * gui/dialogs/comp-editor.c (setup_widgets): Get evolution-comp-editor.xml from EVOLUTION_UIDIR. (comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR. * gui/tasks-control.c (tasks_control_activate): Get evolution-tasks.xml from EVOLUTION_UI_DIRECTORY. * gui/calendar-commands.c (calendar_control_activate): Get evolution-calendar.xml from EVOLUTION_UI_DIRECTORY. * pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION). * importers/Makefile.am: Install evolution-calendar-importer in $(libexecdir)/evolution/$(BASE_VERSION). (sounddir): Remove. * gui/dialogs/Makefile.am (iconsdir): Version using $(BASE_VERSION). (gladedir): Likewise. (etspecdir): Likewise. * gui/Makefile.am (help_base): Remove. (install-data-local): Do not make the $(help_base)/C directory. (etspecdir): Version using $(BASE_VERSION). (gladedir): Likewise. (iconsdir): Likewise. (INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned, and add a -DEVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install evolution-alarm-notify in $(libexecdir)/evolution/$(BASE_VERSION). * cal-util/Makefile.am (libcal_utilincludedir): Version using $(BASE_VERSION). * gui/alarm-notify/Makefile.am (iconsdir): Likewise. (gladedir): Likewise. * cal-client/Makefile.am: Install libcal-client.la in privlibdir instead of libdir. (libcal_clientincludedir): Version using $(BASE_VERSION). svn path=/trunk/; revision=19553
* Icons are now in $(datadir)/evolution/images instead ofEttore Perazzoli2003-01-091-1/+1
| | | | | | | | | | * gui/alarm-notify/Makefile.am: Icons are now in $(datadir)/evolution/images instead of $(datadir)/images/evolution. * gui/Makefile.am: Likewise. * gui/dialogs/Makefile.am: Likewise. svn path=/trunk/; revision=19296
* remove a dead headerJeffrey Stedfast2003-01-081-1/+0
| | | | svn path=/trunk/; revision=19272
* #include <string.h>Federico Mena Quintero2002-11-135-41/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-12 Federico Mena Quintero <federico@ximian.com> * pcs/cal-backend-util.c: #include <string.h> * pcs/cal.c: Fixed prototypes of the CORBA method implementations. * pcs/cal-backend-file.c (cal_backend_file_dispose): Added a dispose method. (cal_backend_file_get_free_busy): Converted to use EConfigListener rather than BonoboConfigDatabase. * gui/alarm-notify/alarm-notify.c: #include <string.h>, fix use of g_hash_table_lookup_extended(). * gui/alarm-notify/alarm-notify-dialog.c: Substitute deprecated GTK+ functions for new ones. * gui/alarm-notify/alarm-queue.c: Likewise. * gui/alarm-notify/notify-main.c: #include <string.h>, <gtk/gtkmain.h>. * gui/alarm-notify/save.c: #include <string.h>. svn path=/trunk/; revision=18726
* *** empty log message ***Rodrigo Moya2002-11-071-1/+1
| | | | svn path=/trunk/; revision=18620
* renmaed .oaf.in files.Rodrigo Moya2002-11-072-7/+7
| | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in: * gui/GNOME_Evolution_Calendar.server.in: renmaed .oaf.in files. * gui/alarm-notify/Makefile.am: * gui/Makefile.am: fixed rules for .server files. svn path=/trunk/; revision=18619
* don't return a Bonobo_EventSource_ListenerId, since it does not existRodrigo Moya2002-11-071-218/+217
| | | | | | | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor-util.[ch] (comp_editor_connect_contacts_changed): don't return a Bonobo_EventSource_ListenerId, since it does not exist anymore, and was not even being used. * gui/e-timezone-entry.h: use GLib macros. * gui/dialogs/*.glade: * gui/alarm-notify/*.glade: * gui/*.glade: converted to Glade2 format. svn path=/trunk/; revision=18616
* use libxml2 headers.Rodrigo Moya2002-11-058-85/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.c: use libxml2 headers. * gui/alarm-notify/Makefile.am: * gui/dialogs/Makefile.am: * gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of $(ORBIT_IDL). * gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject. * gui/alarm-notify/alarm-notify-dialog.c: compilation fixes. (alarm_notify_dialog): adapted to new glade_xml_new signature. * gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and GtkStock and GtkDialog. * gui/alarm-notify/notify-main.c: ported to BonoboActivation and use GObject functions instead of GtkObject ones. * gui/alarm-notify/save.h: removed BonoboConfig related functions. * gui/alarm-notify/config-data.c: use GObject functions instead of GtkObject ones. * TODO.port: added file for keeping track of disabled things while we port. svn path=/trunk/; revision=18550
* Fixes crash in #19159Rodrigo Moya2002-10-071-7/+13
| | | | | | | | | | | | | | 2002-10-07 Rodrigo Moya <rodrigo@ximian.com> Fixes crash in #19159 * gui/alarm-notify/alarm-queue.c (lookup_queued_alarm): don't crash if we don't find the queued alarm in the internal list. (alarm_trigger_cb, create_snooze, display_notification, audio_notification, procedure_notification, remove_queued_alarm): check return value from lookup_queued_alarm. svn path=/trunk/; revision=18331
* removed unneeded g_assert which was preventing the alarm daemon to startRodrigo Moya2002-10-031-2/+0
| | | | | | | | | | 2002-10-02 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): removed unneeded g_assert which was preventing the alarm daemon to start correctly in some cases. svn path=/trunk/; revision=18317
* only save the new notification time if it is bigger than the already savedRodrigo Moya2002-09-231-1/+7
| | | | | | | | | | 2002-09-23 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (save_notification_time): only save the new notification time if it is bigger than the already saved one. This should avoid some reminders showing up twice. svn path=/trunk/; revision=18162
* Fixes #12326Rodrigo Moya2002-08-264-157/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-08-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #12326 * gui/alarm-notify/config-data.c (ensure_inited): create a EConfigListener for configuration access. (do_cleanup): g_atexit installed function, to clean up configuration database resources. (config_data_get_timezone): retrieve the configuration for the EConfigListener object. (config_data_get_listener): new function. * gui/alarm-notify/save.c (get_config_db, discard_config_db): removed. Use EConfigListener instead. (save_notification_time, get_saved_notification_time, save_calendars_to_load, get_calendars_to_load, save_blessed_program, is_blessed_program): use EConfigListener. * gui/alarm-notify/notify-main.c (init_alarm_notify_service): removed. (alarm_notify_factory_fn): create here the alarm_notify_service if it hasn't been created yet. (load_calendars): likewise. (main): don't call init_alarm_notify_service. svn path=/trunk/; revision=17859
* Fixes the crash in #19159Rodrigo Moya2002-08-051-0/+2
| | | | | | | | | | | 2002-08-04 Rodrigo Moya <rodrigo@ximian.com> Fixes the crash in #19159 * gui/alarm-notify/alarm-queue.c (create_snooze): check for NULL pointers before using them. svn path=/trunk/; revision=17697
* if there's an exception, continue with the next item.Rodrigo Moya2002-07-191-1/+0
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (get_uri_from_folder_path): if there's an exception, continue with the next item. svn path=/trunk/; revision=17507
* Fixes #25410Rodrigo Moya2002-06-261-0/+8
| | | | | | | | | | | | 2002-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #25410 * gui/alarm-notify.c (AlarmNotify_removeCalendar): do proper cleanup on removal of clients. (alarm_notify_add_calendar): ditto. svn path=/trunk/; revision=17287
* added timeout_id to LoadedClient structure, to keep track of the timeoutRodrigo Moya2002-06-131-26/+23
| | | | | | | | | | | | | | 2002-06-12 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify.c: added timeout_id to LoadedClient structure, to keep track of the timeout function. (retry_timeout_cb): don't use RetryData, but the LoadedClient. (cal_opened_cb): ditto, and assigned lc->timeout_id to the return value of g_timeout_add(). (alarm_notify_add_calendar): destroy the timeout callback when destroying the LoadedClient structure. svn path=/trunk/; revision=17178
* removed already loaded client when asked to be opened again, and *really*Rodrigo Moya2002-06-121-11/+7
| | | | | | | | | | 2002-06-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed already loaded client when asked to be opened again, and *really* re-open it again. svn path=/trunk/; revision=17167
* ported changes from evolution-1-0 to make it work with reminders on remoteRodrigo Moya2002-05-212-9/+62
| | | | | | | | | | 2002-05-20 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: ported changes from evolution-1-0 to make it work with reminders on remote backends. svn path=/trunk/; revision=16944
* ignore .pureChris Toshok2002-04-021-0/+1
| | | | svn path=/trunk/; revision=16312
* Should fix #21240Rodrigo Moya2002-03-071-22/+31
| | | | | | | | | | | 2002-03-06 Rodrigo Moya <rodrigo@ximian.com> Should fix #21240 * gui/alarm-notify/alarm-notify.c: replaced use of GnomeVFSURI with EUri, to allow non-registered methods. svn path=/trunk/; revision=15944
* Clean up some of the Makefiles so we dont' link every library multipleEttore Perazzoli2002-01-251-17/+9
| | | | | | times, causing big libtool 1.4 pain. svn path=/trunk/; revision=15461
* add protosJP Rosevear2002-01-143-21/+151
| | | | | | | | | | | | | | | | | 2002-01-13 JP Rosevear <jpr@ximian.com> * gui/alarm-notify/save.h: add protos * gui/alarm-notify/save.c (save_blessed_program): records a program as blessed (is_blessed_program): checks to see if a program is blessed * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog): popup a dialog notifying the user that is a program and let them not see the dialog about this program again (procedure_notification): use above svn path=/trunk/; revision=15313
* make the timezone default to UTC. Fixes bug #14362.Damon Chaplin2001-11-141-4/+6
| | | | | | | | | | | | 2001-11-13 Damon Chaplin <damon@ximian.com> * gui/alarm-notify/config-data.c (ensure_inited): * gui/calendar-config.c (config_read): * conduits/todo/todo-conduit.c (get_default_timezone): * conduits/calendar/calendar-conduit.c (get_default_timezone): make the timezone default to UTC. Fixes bug #14362. svn path=/trunk/; revision=14691
* The last argument to the bonobo_config_get_XXX_with_default() is aFederico Mena Quintero2001-11-121-14/+9
| | | | | | | | | | 2001-11-11 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): The last argument to the bonobo_config_get_XXX_with_default() is a gboolean *, not a CORBA_Environment *. Fixes bug #14655. svn path=/trunk/; revision=14671
* -export-dynamic for libglade custom widget.Dan Winship2001-11-051-0/+2
| | | | | | | * gui/alarm-notify/Makefile.am (evolution_alarm_notify_LDFLAGS): -export-dynamic for libglade custom widget. svn path=/trunk/; revision=14588
* Removed. (KEY_NUM_CALENDARS_TO_LOAD): New key, containing the number ofEttore Perazzoli2001-10-311-64/+30
| | | | | | | | | | | | | | * gui/alarm-notify/save.c (KEY_CALENDARS_TO_LOAD): Removed. (KEY_NUM_CALENDARS_TO_LOAD): New key, containing the number of calendars to load. (BASE_KEY_CALENDAR_TO_LOAD): New base key name for the URIs of the calendars to load. (save_calendars_to_load): Rewrote to not use a sequence, to work around an ORBit bug that causes bonobo-moniker-xmldb to crash. (get_calendars_to_load): Likewise. svn path=/trunk/; revision=14520
* s/BONOBO_HTML_GNOME_LIBS/BONOBO_HTML_GNOME_CFLAGS/Dan Winship2001-10-311-2/+1
| | | | | | | * gui/alarm-notify/Makefile.am (INCLUDES): s/BONOBO_HTML_GNOME_LIBS/BONOBO_HTML_GNOME_CFLAGS/ svn path=/trunk/; revision=14467
* Require gal 0.15.99.8Joe Shaw2001-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* use libical-evolution.laDamon Chaplin2001-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * importers/Makefile.am (evolution_calendar_importer_LDADD): * gui/Makefile.am (evolution_calendar_LDADD): * cal-util/Makefile.am (test_recur_LDADD): * cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la * gui/dialogs/schedule-page.c: save the timezone passed in for the start time, so if our times are changed we use this. Also, if the end time was passed in in a different timezone, convert it. Also hide the time fields for DATE values. Note that DATE values still do not work. * gui/dialogs/meeting-page.glade: changed "Invite Others" to "Invite Others..." to be consistent with the other page. * gui/dialogs/event-page.c (times_updated): (all_day_event_toggled_cb): set is_date if appropriate. * gui/e-itip-control.c (write_label_piece): convert all UTC times to the current timezone. Outlook sends simple, non-recurring, events as UTC times, which isn't very useful. svn path=/trunk/; revision=14397
* Fixing the license text.Ettore Perazzoli2001-10-2813-52/+39
| | | | svn path=/trunk/; revision=14214
* Fixes bug #5282.Federico Mena Quintero2001-10-258-54/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-24 Federico Mena Quintero <federico@ximian.com> Fixes bug #5282. * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function to avoid copying the same code all over the place. (icaltimetype_to_tm): Also set the tm.tm_wday. * gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use time_day_end_with_zone(). (load_alarms_for_today): Likewise. And oops, we were only computing the times and not loading the alarms. (obj_updated_cb): Likewise. (load_alarms): Removed assertion that is no longer valid because we may load the alarms for a client in two stages. * gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute trigger times to the local timezone. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Convert the times to the local timezone. (alarm_notify_dialog): Likewise, for the window title. (alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP. * gui/e-cell-date-edit-text.c (ecd_get_text): Use icaltimetype_to_tm_with_zone(). * gui/alarm-notify/save.c (get_config_db): Made public. (discard_config_db): Made public. * gui/alarm-notify/config-data.[ch]: New files with functions to fetch the calendar configuration data used by the alarm daemon. svn path=/trunk/; revision=13986
* Do not assert if we fail to load the URI list. This would of course haveFederico Mena Quintero2001-10-204-12/+29
| | | | | | | | | | | | | | | | | 2001-10-19 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify.c (add_uri_to_load): Do not assert if we fail to load the URI list. This would of course have been a bonobo-conf activation problem. (remove_uri_to_load): Likewise. * gui/alarm-notify/notify-main.c (load_calendars): Likewise. * gui/alarm-notify/alarm-queue.c (load_missed_alarms): Make the time range half-open so that we do not display the last alarm twice. svn path=/trunk/; revision=13797
* add html widget (url_requested_cb): add function to load images from fileLarry Ewing2001-10-193-57/+154
| | | | | | | | | | | | | | | | | | | 2001-10-18 Larry Ewing <lewing@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c: add html widget (url_requested_cb): add function to load images from file as they are requested. (write_html_heading): convert to using html. (alarm_notify_dialog): convert to use html display. (make_html_display): this is the function the custom widget in the galde file uses to create the html widget. * gui/alarm-notify/alarm-notify.glade: add placeholder for the custom html widget. * gui/alarm-notify/Makefile.am: add flags for gtkhtml and gal. svn path=/trunk/; revision=13766
* Adds session management for the alarm daemon. Also makes it store a listFederico Mena Quintero2001-10-199-256/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-18 Federico Mena Quintero <federico@ximian.com> Adds session management for the alarm daemon. Also makes it store a list of calendars to be monitored. Those calendars will all be loaded when the alarm daemon starts up. * idl/evolution-calendar.idl (AlarmNotify): Removed the ::die() method. The alarm daemon now handles termination via the session manager's commands. * gui/alarm-notify/notify-main.c (set_session_parameters): New function, sets some parameters so that the session manager can restart the daemon via the evolution-alarm-client program. Also, sets up the "die" signal so that the daemon can terminate when the session ends. (load_calendars): New function to load the calendars on startup. (main): Set the session parameters. Load the calendars on startup. * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New function, moved over from the impl_ function. Added a load_afterwards argument to indicate whether the calendar should just be loaded or if it should also be added to the list of calendars to load on startup. (AlarmNotify_addCalendar): Use alarm_notify_add_calendar(). (AlarmNotify_removeCalendar): Remove the calendar from the list of calendars to load on startup. * gui/alarm-notify/save.c (save_calendars_to_load): New function, saves a sequence of the URIs to load. (get_calendars_to_load): New function, loads a sequence of calendars to load. * gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init(). * gui/component-factory.c (remove_folder): Ask the alarm daemon to stop monitoring alarms for the folder that is being deleted. svn path=/trunk/; revision=13763
* Fixes bug #884.Federico Mena Quintero2001-10-105-17/+217
| | | | | | | | | | | | | | | | | | | | | | 2001-10-09 Federico Mena Quintero <federico@ximian.com> Fixes bug #884. * gui/alarm-notify/save.[ch]: New files with functions to save/load the last notification time. * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Save the last notification time. (alarm_queue_init): Load the last notification time when the daemon is inited. (alarm_queue_add_client): Load the alarms that we missed while the alarm daemon was not running. (cal_opened_cb): Likewise. * gui/alarm-notify/Makefile.am (evolution_alarm_notify_SOURCES): Added save.[ch] to the list of sources. svn path=/trunk/; revision=13538
* Set the window state to sticky. Thanks to Peter Teichman for theFederico Mena Quintero2001-10-021-0/+6
| | | | | | | | | | 2001-10-01 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): Set the window state to sticky. Thanks to Peter Teichman for the suggestion. svn path=/trunk/; revision=13275
* Fixes the GUI part of bug #7892.Federico Mena Quintero2001-09-271-1/+1
| | | | | | | | | | | | | | | | 2001-09-26 Federico Mena Quintero <federico@ximian.com> Fixes the GUI part of bug #7892. * gui/dialogs/alarm-page.c (get_alarm_duration_string): Return NULL if the duration is zero. (get_alarm_string): Handle duration of zero. Also, hopefully make the strings be more l10n-friendly. * gui/alarm-notify/alarm.c (alarm_ready_cb): I am a moron. Fix reversed test. svn path=/trunk/; revision=13182
* Rebuge demugging printf() - FedericoFederico Mena Quintero2001-09-261-2/+0
| | | | svn path=/trunk/; revision=13118
* Check that the timeout is not set up before we create a new one; theFederico Mena Quintero2001-09-261-4/+10
| | | | | | | | | | | | 2001-09-25 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm.c (alarm_ready_cb): Check that the timeout is not set up before we create a new one; the alarm_fn callback may cause the alarm system to re-enter and add a new alarm. Fixes bug #10840. (pop_alarm): Assert that there is at least one alarm in the queue. svn path=/trunk/; revision=13117
* Display a notification message always, in addition to playing the sound.Federico Mena Quintero2001-09-201-26/+50
| | | | | | | | | | | | | | | | | | | | | | | | 2001-09-19 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-queue.c (audio_notification): Display a notification message always, in addition to playing the sound. (procedure_notification): Present a confirmation dialog before actually running the alarm's program. (procedure_notification): Use gnome_execute_shell() instead of gnome_execute_async() so that we handle multiple arguments properly. Plus, it is most likely what the user expects. (mail_notification): Display a message about unsupported email reminders instead of blindly dropping the alarm. * gui/dialogs/alarm-options.glade: Added an explanatory message about mail alarms not being supported. * gui/dialogs/alarm-page.glade: Removed the "Send an email" option. * gui/dialogs/alarm-page.c (action_map): Removed CAL_ALARM_EMAIL. svn path=/trunk/; revision=13004
* Duh, only setup the timeout if the list was empty. (alarm_ready_cb):Federico Mena Quintero2001-09-181-7/+15
| | | | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm.c (queue_alarm): Duh, only setup the timeout if the list was empty. (alarm_ready_cb): Notify with the ID of the original alarm. (alarm_remove): Likewise. svn path=/trunk/; revision=12912
* Switch the alarm system from using SIGALRM to normal glib timers. Also,Federico Mena Quintero2001-09-182-187/+95
| | | | | | | | | | | | | | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> Switch the alarm system from using SIGALRM to normal glib timers. Also, use a more robust de-queueing mechanism. * gui/alarm-notify/alarm.c (alarm_init): Removed. (alarm_done): Remove the glib timeout instead of closing the pipes and the signal handler. (alarm_add): Allow adding alarms that happen before right now. (queue_alarm): Use a glib timer instead of a signal. (alarm_remove): Adjust the timeout as appropriate. * gui/alarm-notify/notify-main.c (main): There is no need to initialize the alarm system now. * gui/main.c (main): Likewise. svn path=/trunk/; revision=12904
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-151-1/+1
| | | | | | | | | <richard@tartarus.org>, as per #9258.] * cal-client/Makefile.am: Set CLEANFILES directly instead of using `+='. svn path=/trunk/; revision=12841
* Added an use_description argument so that other alarms can fall back toFederico Mena Quintero2001-09-122-17/+143
| | | | | | | | | | | | | | | | | | | | 2001-09-11 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-queue.c (display_notification): Added an use_description argument so that other alarms can fall back to this type. (audio_notification): Implemented. (remove_comp): Call remove_queued_alarm() here; there is no longer a destroy notification function for alarms so must we do this manually. (alarm_trigger_cb): Do not pass the alarm to the notification functions so that we can free it ourselves before all the alarms in the component get freed. (display_notification): Get the alarm here instead of getting it as an argument. (procedure_notification): Implemented. svn path=/trunk/; revision=12772
* Handle the new icalattach type instead of struct icalattachtype.Federico Mena Quintero2001-09-111-406/+0
| | | | | | | | | | | | | | | 2001-09-10 Federico Mena Quintero <federico@ximian.com> * cal-util/cal-component.c (cal_component_alarm_get_attach): Handle the new icalattach type instead of struct icalattachtype. (cal_component_alarm_set_attach): Likewise. * gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Likewise. (alarm_to_palarm_widgets): Likewise. (aalarm_widgets_to_alarm): Likewise. (palarm_widgets_to_alarm): Likewise. svn path=/trunk/; revision=12749
* Implemented.Federico Mena Quintero2001-09-051-1/+51
| | | | | | | | | | | | | | | | | | | | 2001-09-04 Federico Mena Quintero <federico@ximian.com> * gui/component-factory.c (sc_user_create_new_item_cb): Implemented. * gui/main.c (component_editor_factory_init): New function to create the factory for the comp_editor_factory. * gui/comp-editor-factory.c: Finished implementation. * gui/alarm-notify/alarm-queue.c (edit_component): Implemented the Edit command. * gui/Makefile.am (evolution_calendar_SOURCES): Added comp-editor-factory.[ch] to the list of sources. svn path=/trunk/; revision=12619
* Added a snooze flag to differentiate snoozed alarms from real occurrences.Federico Mena Quintero2001-08-231-68/+143
| | | | | | | | | | | | | | | 2001-08-22 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-queue.c (QueuedAlarm): Added a snooze flag to differentiate snoozed alarms from real occurrences. (add_component_alarms): Do not specify a destroy function for the alarm trigger. We handle this in the callbacks now. (alarm_trigger_cb): Just remove the alarms for the unimplemented notification types. (create_snooze): Implemented snooze. (notify_dialog_cb): Snooze as appropriate. svn path=/trunk/; revision=12412
* Added missing underlined shortcuts.Taylor Hayward2001-07-131-3/+3
| | | | | | | | | | | | | | 2001-07-12 Taylor Hayward <taylorhayward@yahoo.com> * gui/goto-dialog.glade: * gui/meeting-mockup.glade: * gui/alarm-notifyålarm-notify.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/meeting-page.glade: * gui/dialogs/recurrence-page.glade: Added missing underlined shortcuts. svn path=/trunk/; revision=11067
* Handle the different alarm actions. (display_notification): Do the alarmFederico Mena Quintero2001-07-114-95/+131
| | | | | | | | | | | | | | | 2001-07-10 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Handle the different alarm actions. (display_notification): Do the alarm notification dialog here. * gui/alarm-notify/alarm-notify-dialog.c (make_heading): Take in a CalComponentVType, not a whole component. (alarm_notify_dialog): Take in a CalComponentVType and the final message instead of generating it ourselves. svn path=/trunk/; revision=10978
* Renamed the occur field to occur_start; added an occur_end field. This wayFederico Mena Quintero2001-06-273-21/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-26 Federico Mena Quintero <federico@ximian.com> * idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur field to occur_start; added an occur_end field. This way we can present the complete times for the occurrence from the server. * cal-util/cal-component.h (CalAlarmInstance): Likewise. * pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new fields appropriately. (generate_absolute_triggers): Likewise; we use -1 in case the component has no DTSTART or DTEND because there are no meaningful occurrence dates here. (fill_alarm_instances_seq): Fill in the new fields. * cal-client/cal-client.c (build_alarm_instance_list): Likewise. * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): Take in both the occur_start and occur_end times. * gui/goto.c (goto_dialog): Free the dlg structure on the bail-out cases. * gui/dialogs/event-page.c (get_widgets): Do not assert if we cannot find the main widget; just return FALSE. * gui/dialogs/alarm-page.c (get_widgets): Likewise. * gui/dialogs/task-page.c (get_widgets): Likewise. * gui/dialogs/task-details-page.c (get_widgets): Likewise. * gui/dialogs/meeting-page.c (get_widgets): Likewise. svn path=/trunk/; revision=10517
* Initialize libglade.Federico Mena Quintero2001-06-251-0/+3
| | | | | | | | | | | | | | | | | 2001-06-24 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/notify-main.c (main): Initialize libglade. * pcs/cal-backend-file.c (compute_alarm_range): icaldurationtype_as_int() will now return a negative value if dur->is_neg is true, so we need to flip the sign of some operations here. (add_alarm_occurrences_cb): Likewise. * pcs/cal-backend-db.c (compute_alarm_range): Likewise. (add_alarm_occurrences_cb): Likewise. svn path=/trunk/; revision=10456
* Converted to use BonoboXObject.Federico Mena Quintero2001-06-256-156/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-24 Federico Mena Quintero <federico@ximian.com> * gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject. * gui/gnome-cal.c (gnome_calendar_open): Ask the alarm notification service to add the calendar and tasks URIs. (add_alarms): New function. * gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the OAFIID. (main): Initialize and shut down gnome-vfs. * gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh. (evolution_calendar_SOURCES): Added the files generated from the IDL. * gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function used when an alarm is triggered. * gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files; they are now in gui/alarm-notify. * gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog files. * pcs/cal.c (cal_forget_password): This was incorrectly named cal_client_forget_password(); renamed it. * gui/main.c (main): Initialize and shut down gnome-vfs. svn path=/trunk/; revision=10453
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-239-9/+9
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* create a WombatClient when creating a CalClient object, so that we canRodrigo Moya2001-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | 2001-06-21 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch]: (cal_client_init): create a WombatClient when creating a CalClient object, so that we can receive authentication notifications from the wombat (cal_client_destroy): destroy the WombatClient object when dying (cal_client_set_auth_func): new function to set the authentication function to be called when a password is required by the calendar server (through the WombatClient object) (cal_client_get_free_busy): new function for calling the new IDL method Cal::getFreeBusy * gui/alarm-notify/Makefile.am: add libwombat to LDADD * gui/Makefile.am: add libwombat to LDADD svn path=/trunk/; revision=10366
* Replace "<" by "<=" in the comparison for due dates against the currentFederico Mena Quintero2001-04-271-1/+0
| | | | | | | | | | | | | | | | 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
* 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
* 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-161-0/+35
| | | | | | | | | | | | | | | | | | | | | 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
* Replace includes of <gnome.h>, <bonobo.h> and <gtk/gtk.h> with the neededKjartan Maraas2001-03-263-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-081-9/+9
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* 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-012-9/+17
| | | | | | | | | | | | | | | | | 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-271-2/+7
| | | | | | | | | | | | | | | | | | | | | | 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-245-26/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-111-2/+0
| | | | | | | | | | | | | | | | | 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
* New files with a simple sequence to migrate the task components from theFederico Mena Quintero2001-01-191-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Ximianified email addresses and copyrights.Federico Mena Quintero2001-01-179-12/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* New interface for the alarm notification system.Federico Mena Quintero2001-01-107-34/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* If the component has no alarms, do not try to queue them.Federico Mena Quintero2001-01-031-1/+47
| | | | | | | | | | | | 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
* Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-031-0/+406
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Alarm trigger queueing for the GUI part.Federico Mena Quintero2000-12-234-26/+626
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix confusion in the way the range is expanded.Federico Mena Quintero2000-12-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Now the views monitor the client by themselves; it does not make sense toFederico Mena Quintero2000-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-29 Federico Mena Quintero <federico@helixcode.com> Now the views monitor the client by themselves; it does not make sense to proxy all notifications through the GnomeCal. The GnomeCal should just be a meta-widget that holds all the views. At some later point we'll want to decouple the views from the GnomeCal so that they can be embedded anywhere; they should emit signals to request appropriate actions from the toplevel GUI instead of calling the GnomeCal directly. * gui/e-day-view.c (e_day_view_set_cal_client): New function; now the day view monitors the client by itself. (cal_loaded_cb): New callback; moved over from e_day_view_update_all_events(). (obj_updated_cb): New callback; moved over from e_day_view_update_event(). (obj_removed_cb): New callback; moved over from e_day_view_remove_event(). (e_day_view_update_all_events): Removed function. (e_day_view_update_event): Removed function. (e_day_view_remove_event): Removed function. (*): Use the day_view->client directly instead of fetching it from the GnomeCal. (e_day_view_destroy): Unref the client. (e_day_view_reload_events): Check if the client is loaded. (e_day_view_key_press): Set the vtype of the new component. * gui/e-week-view.c (e_week_view_set_cal_client): New function. (cal_loaded_cb): New callback. (obj_updated_cb): New callback. (obj_removed_cb): New callback. (e_week_view_update_all_events): Removed function. (e_week_view_update_event): Removed function. (e_week_view_remove_event): Removed function. (*): Use the week_view->client directly. (e_week_view_destroy): Unref the client. (e_week_view_reload_events): Check if the client is loaded. * gui/gnome-cal.c (setup_widgets): Set the cal_client on all the views. (gnome_calendar_update_all): Do not update the views, since now they do it themselves. (gnome_calendar_object_updated_cb): Likewise. (gnome_calendar_object_removed_cb): Likewise. (setup_widgets): Remove all to-do list cruft. (gnome_calendar_colors_changed): Likewise. (gnome_calendar_todo_properties_changed): Likewise. * gui/calendar-commands.h (todo_style_changed): Removed variable. * gui/gncal-todo.c: Removed old clist cruft; just left in the temporary dialog box for now. svn path=/trunk/; revision=5105
* Oops, subtract the new alarm's trigger time from the current time.Federico Mena Quintero2000-08-101-1/+1
| | | | | | | | | 2000-08-09 Federico Mena Quintero <federico@helixcode.com> * gui/alarm.c (pop_alarm): Oops, subtract the new alarm's trigger time from the current time. svn path=/trunk/; revision=4674
* New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCEFederico Mena Quintero2000-08-083-11/+17
| | | | | | | | | | | | | 2000-08-07 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-component.c (cal_component_clone): New function. (cal_component_get_icalcomponent): Ensure that the SEQUENCE property does not need incrementing. * gui/dialogs/alarm-notify-dialog.c (alarm_notify_dialog): Use CalComponent. Deal with an empty summary property. svn path=/trunk/; revision=4589
* Alarm stuff I had not cvs added, sigh - FedericoFederico Mena Quintero2000-05-163-0/+492
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-14 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (display_notification): Use the alarm notification dialog. (display_notification_cb): New callback for the result of the alarm notification dialog. * gui/dialogs/alarm-notify.glade: New file with the alarm notification dialog. * gui/dialogs/alarm-notify-dialog.[ch]: New file. * gui/dialogs/Makefile.am: New file. * gui/Makefile.am (SUBDIRS): Added the dialogs directory. 2000-05-13 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (trigger_alarm_cb): Better error checking, and plug leaks of str_ico and ico. * gui/evolution-calendar-control.c (main): Initialize libglade. svn path=/trunk/; revision=3072
* Removed unused arguments. Load the initial alarms here. (load_alarms): NewFederico Mena Quintero2000-05-122-177/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_update_all): Removed unused arguments. Load the initial alarms here. (load_alarms): New function to load a day's worth of alarms. (gnome_calendar_class_init): Eeeek! This was taking in an incorrect argument type. (gnome_calendar_init): Now the calendar keeps a hash table of UIDs->queued alarms. Create the hash table here. (gnome_calendar_destroy): Destroy the alarms hash table. (gnome_calendar_object_updated_cb): Remove the alarms for the object and regenerate them. (gnome_calendar_object_removed_cb): Remove the alarms for the object. * gui/alarm.c (alarm_add): Do not take in a CalendarAlarm, just the trigger time, the callback and the closure data. Return an opaque identifier for the alarm so that it can be removed by the client code if needed. Use the queue_alarm() helper function. (queue_alarm): Helper function to actually queue the alarm and set up the itimer. Deal with a nonzero return value from setitimer(). (alarm_remove): New function to remove an alarm based on its ID. (pop_alarm): New helper function; pops the first alarm of the queue and resets the timer as appropriate. (alarm_ready): Simplified a lot by using pop_alarm(). * idl/evolution-calendar.idl (Cal): Added get_alarms_in_range(). * pcs/cal.c (build_instance_seq): New function to build a CORBA sequence from the internal list of instances. (Cal_get_events_in_range): Use build_instance_seq(). (Cal_get_alarms_in_range): Implemented new method. * pcs/cal-backend.c (cal_backend_get_alarms_in_range): New function with the get_alarms_in_range() engine. * pcs/cal-backend-imc.c (cal_backend_imc_get_alarms_in_range): Implemented the get_alarms_in_range() method. * cal-client/cal-client.c (cal_client_get_alarms_in_range): New client-side function for getting the alarms. (build_instance_list): New helper function to build the CalObjInstance list from the CORBA sequence. (cal_client_get_events_in_range): Use build_instance_list(). * gui/calendar-commands.h: #include <cal-util/calobj.h>. #include "gnome-cal.h". * gui/e-week-view.c: #include "calendar-commands.h" instead of main.h; the latter is an obsolete file and will be killed. * gui/evolution-calendar-control.c (main): Call init_bonobo() before anything else. We need the GTK+ object system initialized. * gui/Makefile.am (evolution_calendar_SOURCES): Do not use main.h. * cal-util/cal-util.c (cal_alarm_instance_list_free): New function. svn path=/trunk/; revision=2987
* Renamed library from libcalutil to libcal-util, to be consistent withFederico Mena Quintero2000-04-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am: Renamed library from libcalutil to libcal-util, to be consistent with libcal-client. Install header files in $(includedir)/evolution/cal-util. (INCLUDES): Add "cal-util" log domain for glib. (libcal_clientincludedir): The header files are now installed in $(includedir)/evolution/cal-client. * cal-util/cal-util.h: Fix includes. * cal-client/client-test.c: Fix includes. * pcs/Makefile.am: Create libpcs.a, not a shared library, because it is for internal use by Wombat only. The header files should not be installed, either. Removed all the old Tlacuache stuff. * gui/Makefile.am (EXTRA_DIST): We no longer distribute gncal.desktop. (evolution_calendar_INCLUDES): Add "calendar-gui" for the glib log domain. * gui/*.[ch]: Fix cal-util and cal-client includes. * pcs/Makefile.am (INCLUDES): Added "pcs" log domain for glib. * pcs/*.[ch]: Fix cal-util includes. svn path=/trunk/; revision=2461
* track movement of calobj.[ch]Seth Alves2000-03-082-2/+2
| | | | svn path=/trunk/; revision=2086
* back out recent commit, and remove calendar.[ch] from Makefile.amSeth Alves2000-03-082-26/+14
| | | | svn path=/trunk/; revision=2083
* stubs for client side access to alarm structures. this will probablySeth Alves2000-03-062-14/+26
| | | | | | | | | | | | | | | | | * cal-client/cal-client-alarm.c: stubs for client side access to alarm structures. this will probably change, since i don't know what i'm doing. * cal-util/alarm-enums.h: enums for alarms needed by both the client and the server * remaining source files in calendar/... have been moved to calendar/gui. * gui/alarm.c: start to decouple the view from the model in the alarm editing code svn path=/trunk/; revision=2062
* this is not right, but it gets this closer to building.Seth Alves2000-03-041-1/+1
| | | | svn path=/trunk/; revision=2035
* new file -- things shared between the client and server go in thisSeth Alves2000-03-041-1/+1
| | | | | | | | | | | | * cal-util/Makefile.am: new file -- things shared between the client and server go in this directory * calobj.c calobj.h icalendar.c icalendar.h timeutil.c timeutil.h cal-util.c cal-util.h where moved backend stuff went into pcs. shared stuff went into cal-util. svn path=/trunk/; revision=2032
* Added get_uids() method to get a list of UIDs based on object types.Federico Mena Quintero2000-02-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-08 Federico Mena Quintero <federico@helixcode.com> * evolution-calendar.idl (Cal): Added get_uids() method to get a list of UIDs based on object types. * cal-backend.c (cal_backend_get_uids): Implemented get_uids() in the backend. * cal.c (Cal_get_uids): Implemented get_uids() method. * cal-client.c (cal_client_get_uids): Implemented client-side function. * cal-util.c (cal_obj_instance_list_free): Doh. Free the list, not the last link. (cal_obj_uid_list_free): New function to free a list of UIDs. * GnomeCal.idl (Repository): Removed unused method get_object_by_id_list(). This is just for cleanup purposes and to remind me exactly of what needs to be moved over to evolution-calendar.idl. (Repository): Removed unused get_objects() method. * corba-cal.c (init_calendar_repo_class): Removed the unused get_objects method. * calobj.h (CalObjFindStatus): New status value enumeration for the find function. * calobj.c (ical_object_find_in_string): New function to parse a complete calendar and find a calendar object in it. This should be used instead ical_object_new_from_string() in the future. * evolution-calendar.idl (CalObjInstance): Added an uid field. Now the idea is that whenever calendar object strings are passed around, their UIDs are passed along with them so that the actual object can be pulled from the whole VCAL object using its UID to identify it. * cal-util.h (CalObjInstance): Added uid field. * cal-util.c (cal_obj_instance_list_free): Free the UIDs. * cal-backend.c (build_event_list): Store the object's UID in the instance structure. * cal.c (Cal_get_events_in_range): Copy the UID field to the CORBA structure. * cal-client.c (cal_client_get_events_in_range): Copy the UID field from the CORBA structure. * main.c (gnome_cal_file_menu): Removed unfinished html-month stuff. * Makefile.am (gnomecal_SOURCES): Removed html-month.c. * gnome-cal.c: #include "alarm.h" (mail_notify): Made static. * alarm.h: #include "calobj.h" * corba-cal-factory.h (init_corba_server): Fixed prototype. * quick-view.c (create_items_for_event): Made static. * gncal-todo.c (column_resized): Made static. * layout.c (find_index): Made static. svn path=/trunk/; revision=1699
* Debugging enhancements: report alarms not added (because they have alreadyRussell Steinthal1999-12-031-10/+42
| | | | | | passed), allow toggling of debugging output using SIGUSR1 svn path=/trunk/; revision=1453
* Style fix.Russell Steinthal1999-10-221-1/+2
| | | | svn path=/trunk/; revision=1341
* Commit debugging support to HEAD as well; there's no good reason to have ↵Russell Steinthal1999-10-221-1/+37
| | | | | | debugging in the stable but not devel version, is there? svn path=/trunk/; revision=1340
* Release points here.Miguel de Icaza1999-08-061-1/+1
| | | | | | | | 1999-07-30 Miguel de Icaza <miguel@gnu.org> * month-view.c (month_view_init): Release points here. svn path=/trunk/; revision=1085
* Schedule an alarm for midnight to change theMiguel de Icaza1999-01-292-5/+15
| | | | | | | | | | | | 1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * calendar.c (calendar_init_alarms): Schedule an alarm for midnight to change the calendar_day_begin/calendar_day_end. * alarm.c (alarm_ready): If we reschedule, there is no need to activate any pending alarms. svn path=/trunk/; revision=634
* Rewrote the old and broken alarm system. It never actually workedMiguel de Icaza1998-12-172-9/+35
| | | | | | | | | | | | | | | | | 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx> Rewrote the old and broken alarm system. It never actually worked properly. Now it works properly, and I figured a nice way to get the Audio alarm do something nicer (it is now like an alarm clock :-). * gnome-cal.c (calendar_notify): Now we take a CalendarAlarm to actually distinguish which alarm was triggered. * alarm.c (alarm_ready): The code was only activating the first alarm. Reschedule the timer upon delivery of an alarm. svn path=/trunk/; revision=535
* Use an array of const strings to keep gcc happy.Federico Mena Quintero1998-08-041-3/+3
| | | | | | | | | | | | | 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * main.c (about_calendar_cmd): Use an array of const strings to keep gcc happy. * alarm.c (alarm_compare_by_time): Use gconstpointer to keep gcc happy. * calendar.c (calendar_object_compare_by_start): Likewise. * gncal-full-day.c (child_compare_by_start): Likewise. svn path=/trunk/; revision=296
* Lots of fixes:Arturo Espinosa1998-04-292-3/+4
| | | | | | | | | | | | | Lots of fixes: 1. Alarms are rescheduled when an event has been changed. 2. Avoid emitting spurious event changes. 3. Applied black magic to get the mail-notification working. Miguel. svn path=/trunk/; revision=199
* Fix compiler warnings - FedericoArturo Espinosa1998-04-211-0/+2
| | | | svn path=/trunk/; revision=170
* More touches -migArturo Espinosa1998-04-191-1/+0
| | | | svn path=/trunk/; revision=161
* Yes.Arturo Espinosa1998-04-182-0/+155
Yes. It works. It loads, it saves, it does all that stuff. It works, even if federico complains that we did not test close. Repetition, alarms, all that stuff you all guys love. It it is there. We did minimal testing, but we know you will happilly commit a fix if you find a problem, right? Ok, we are off to a party now. Miguel svn path=/trunk/; revision=155