aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded #include <libgnomeui/gnome-app.h>. Remove unneededMatthew Barnes2009-01-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.h: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/contact-editor/eab-editor.h: * addressbook/gui/contact-list-editor/e-contact-list-editor.h: * mail/mail-autofilter.c: Remove unneeded #include <libgnomeui/gnome-app.h>. Remove unneeded #include <libgnomeui/gnome-app-helper.h> * calendar/gui/calendar-commands.c: * calendar/gui/e-cell-date-edit-text.c: * calendar/gui/e-itip-control.c: * calendar/gui/memos-control.c: * calendar/gui/print.c: * calendar/gui/tasks-control.c: * widgets/misc/test-dropdown-button.c: Remove unneeded #include <libgnomeui/gnome-stock-icons.h>. * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/cancel-comp.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/recur-comp.c: * calendar/gui/e-itip-control.c: * calendar/gui/print.c: Remove unneeded #include <libgnomeui/gnome-uidefs.h>. svn path=/trunk/; revision=37035
* ** Fixes bug #567276Matthew Barnes2009-01-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-10 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #567276 * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/printing/test-print.c: * calendar/gui/calendar-commands.c: * calendar/gui/control-factory.c: * calendar/gui/e-itip-control.c: * calendar/gui/gnome-cal.c: * calendar/gui/goto.c: * calendar/gui/memos-control.c: * calendar/gui/print.c: * calendar/gui/tasks-control.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/schedule-page.c: * widgets/menus/gal-view-menus.c: Remove unneeded #include <libgnomeui/gnome-dialog-util.h>. * calendar/gui/calendar-config.c: * calendar/gui/calendar-config.h: Removed unused function calendar_config_check_timezone_set(). * widgets/misc/test-color.c: We don't ship this. Remove it. svn path=/trunk/; revision=37030
* ** Part of fix for bug #564229Milan Crha2008-12-151-1/+1
| | | | | | | | | | | | | | 2008-12-15 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #564229 * gui/dialogs/alarm-dialog.c: (populate_widgets_from_alarm): Cast to proper object. * gui/alarm-notify/alarm-queue.c: (free_tray_icon_data): Do not leak. svn path=/trunk/; revision=36893
* ** Fix for bug #563669Milan Crha2008-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2008-12-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #563669 * addressbook/gui/component/ldap-config.glade: * addressbook/printing/e-contact-print.glade: * mail/mail-config.glade: * filter/filter.glade: * widgets/misc/e-send-options.glade: * calendar/gui/dialogs/recurrence-page.glade: * calendar/gui/dialogs/alarm-dialog.glade: * calendar/gui/dialogs/event-page.glade: * calendar/gui/dialogs/task-details-page.glade: * calendar/gui/dialogs/cal-prefs-dialog.glade: * calendar/gui/alarm-notify/alarm-notify.glade: * calendar/gui/goto-dialog.glade: Use zero GtkSpinButton's PageSize, as Gtk+ requires. svn path=/trunk/; revision=36855
* ** Fix for bug #558354Milan Crha2008-11-044-5/+179
| | | | | | | | | | | | | | | | | | 2008-11-04 Milan Crha <mcrha@redhat.com> ** Fix for bug #558354 * gui/alarm-notify/alarm-notify.glade: * gui/alarm-notify/alarm-notify-dialog.h: (enum AlarmNotifyResult): * gui/alarm-notify/alarm-notify-dialog.c: (struct AlarmNotify), (dismiss_pressed_cb), (notified_alarms_dialog_new): * gui/alarm-notify/alarm-queue.c: (notify_dialog_cb): Changed "Close" button to "Dismiss All" and added a "Dismiss" button to the alarm notification dialog to be able to dismiss only some of the alarms shown in the dialog. svn path=/trunk/; revision=36740
* Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-081-14/+17
| | | | svn path=/trunk/; revision=36576
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-241-12/+16
| | | | svn path=/trunk/; revision=36443
* ** Fix for bug #553273Milan Crha2008-09-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2008-09-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #553273 * addressbook/gui/component/addressbook-view.c: (delete_addressbook_folder), (delete_addressbook_cb): * addressbook/gui/widgets/eab-gui-util.c: (save_it): * addressbook/gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email): * addressbook/gui/contact-list-editor/e-contact-list-editor.c: (contact_list_editor_contact_exists): * plugins/exchange-operations/exchange-config-listener.c: (exchange_config_listener_authenticate): * mail/em-composer-utils.c: (em_utils_handle_receipt): * mail/em-folder-view.c: (emfv_delete_msg_response): * composer/e-composer-actions.c: (action_save_cb): * calendar/gui/alarm-notify/alarm-queue.c: (edit_component): * calendar/gui/tasks-component.c: (delete_task_list_cb): * calendar/gui/calendar-component.c: (delete_calendar_cb): * calendar/gui/memos-component.c: (delete_memo_list_cb): Always end e_error_run/e_error_new calls with NULL parameter. svn path=/trunk/; revision=36434
* Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-191-12/+16
| | | | svn path=/trunk/; revision=36381
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-161-14/+17
| | | | svn path=/trunk/; revision=36344
* License Changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-131-14/+17
| | | | svn path=/trunk/; revision=36313
* License changes. Changed license from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-041-13/+16
| | | | | | More to come. svn path=/trunk/; revision=36255
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-033-40/+46
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-274-46/+64
| | | | svn path=/trunk/; revision=36116
* ** Fixes bug #546892Matthew Barnes2008-08-122-22/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* ** Fix for bug #353927Milan Crha2008-08-011-5/+12
| | | | | | | | | | | | | | | 2008-08-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #353927 * calendar/gui/alarm-notify/alarm-queue.c: (tray_icon_blink_cb), (display_notification): Do not blink the icon more than 15 seconds. * plugins/mail-notification/mail-notification.c: (icon_activated), (stop_blinking_cb), (new_notify_status): Do not blink the icon more than 15 seconds. svn path=/trunk/; revision=35875
* ** Fix for bug #542889Paolo Borelli2008-07-141-2/+0
| | | | | | | | | | | 2008-17-14 Paolo Borelli <pborelli@katamail.com> ** Fix for bug #542889 Port to the new gtk tooltip api. svn path=/trunk/; revision=35744
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-2113-20/+20
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-064-35/+3
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Include e-util-private.h for the mapping of EVOLUTION_GLADEDIR to aTor Lillqvist2008-05-081-2/+9
| | | | | | | | | | | | | 2008-05-08 Tor Lillqvist <tml@novell.com> * gui/alarm-notify/alarm-notify-dialog.c: Include e-util-private.h for the mapping of EVOLUTION_GLADEDIR to a function call on Windows. Construct the glade file pathname at run-time so that it is found also on Windows where we don't use compile-time pathnames at run-time. svn path=/trunk/; revision=35482
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #526741 (gnome-vfs to gio/gvfs port) * configure.in: Drop dependency on gnome-vfs, depend on gio instead. * addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs. * calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async), (async_read): Read data with gio, not with gnome-vfs. * calendar/gui/e-meeting-store.c: (async_close): Function removed. * calendar/gui/migration.c: * calendar/gui/e-memos.c: * calendar/gui/alarm-notify/notify-main.c: * calendar/gui/e-tasks.c: * calendar/gui/main.c: * calendar/gui/e-meeting-list-view.c: Do not include gnome-vfs. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type): Function removed, use e-util function instead. * calendar/gui/e-cal-popup.c: (temp_save_part): Reflect changes in CamelStreamVFS. * calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free), (ecalp_standard_menu_factory): Use gio to fill popup and launch app. * calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb): * calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb): New helper function to manage file:// urls for GtkHTML component. * calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init): * calendar/gui/e-cal-component-memo-preview.c: (e_cal_comp_preview_url_requested_cb): Use above helper function. * calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb): * calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed. * composer/e-msg-composer.h: (e_msg_composer_guess_mime_type): * composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri), (e_msg_composer_add_inline_image_from_file): Use shared e_util_guess_mime_type instead of its own. * e-util/e-gui-utils.c: Do not include gnome-vfs. * e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path): * e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local): Use gio instead of gnome-vfs. * e-util/e-util.h: * e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri), (e_util_uri_to_filename), (e_util_read_file): New helper functions. * mail/Makefile.am: * mail/em-vfs-stream.h: * mail/em-vfs-stream.c: Removed from project, not used anywhere. * mail/em-menu.c: * mail/em-config.c: Do not include gnome-vfs. * mail/mail-ops.c: (save_messages_exec), (save_part_exec): Changes related to Data Server change of CamelStreamVFS. * mail/em-format.c: (em_format_describe_part): * mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler), (efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop), (efhd_format_attachment): Drop use of deprecated gnome-vfs functions. * mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type. * mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free), (emp_standard_menu_factory): Use gio to fill popup and launch app. * plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs. * plugins/ipod-sync/ical-format.c: (do_save_calendar_ical): * plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook): Write to gio GOutputStream instead of gnome-vfs handle. * plugins/ipod-sync/format-handler.h: (open_for_writing): * plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function. * plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical): * plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical): Use gio GOutputStream instead of gnome-vfs handle. * plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI. * plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI. * plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb), (struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question), (mount_first), (publish): Use gio instead of gnome-vfs for opening (remote) files. * plugins/save-calendar/ical-format.c: (do_save_calendar_ical): * plugins/save-calendar/csv-format.c: (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf): Use gio GOutpuStream instead of gnome-vfs handle. * plugins/save-calendar/format-handler.h: (open_for_writing): * plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function. * shell/e-shell-window-commands.c: (command_quick_reference): Use gio instead of gnome-vfs. * widgets/misc/e-attachment.h: (struct _EAttachment): * widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type), (e_attachment_new), (struct DownloadInfo), (download_info_free), (data_ready_cb), (download_to_local_path), (e_attachment_new_remote_file): Use gio instead of gnome-vfs to download remote files. * widgets/misc/e-image-chooser.c: (image_drag_data_received_cb): Use new util function to read file. * widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs. svn path=/trunk/; revision=35378
* Google Calendar alarm works now.Srinivasa Ragavan2008-02-111-1/+4
| | | | | | | | | 2008-02-11 Srinivasa Ragavan <sragavan@novell.com> * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Google Calendar alarm works now. svn path=/trunk/; revision=34988
* ** Part of fixes for bug #395939Milan Crha2008-02-081-3/+8
| | | | | | | | | | | | | 2008-02-08 Milan Crha <mcrha@redhat.com> ** Part of fixes for bug #395939 * gui/alarm-notify/alarm-queue.c: (update_cqa): * conduits/calendar/calendar-conduit.c: (local_record_from_comp): Free alarm properly. svn path=/trunk/; revision=34976
* Fix for bug #426159 (Allow users to snooze for 1+ hour 0 minutes)Suman Manjunath2008-01-172-1/+5
| | | | svn path=/trunk/; revision=34843
* ** Fixes bug #362638Matthew Barnes2007-12-213-263/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #362638 * calendar/gui/alarm-notify/alarm-notify.c: * calendar/gui/alarm-notify/alarm-notify.h: * calendar/gui/alarm-notify/alarm-queue.c: Rewrite message passing to use GThreadPool instead of EThread. * mail/mail-mt.h: Overhaul the message passing API: - Define a MailMsg type as the base message struct. - Define types for the various callback functions. - Add a priority value to each message (not yet used). - Add a reference count to each message. - Define a MailMsgInfo type for the virtual function table. - Record the size of message sub-types in MailMsgInfo. - New/changed functions: mail_msg_new() - Easier to use. mail_msg_ref() - Increase reference count. mail_msg_unref() - Decrease reference count. mail_msg_main_loop_push() } mail_msg_unordered_push() } Submit MailMsgs to various mail_msg_fast_ordered_push() } message-processing threads. mail_msg_slow_ordered_push() } * mail/mail-mt.c (mail_msg_new): Use GSlice for memory allocation. * mail/mail-mt.c (mail_msg_ref), (mail_msg_unref): New functions increment/decrement a MailMsg's reference count. * mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove): Convert the 'cancel_hook_list' from an EDList to a GHookList and modify the API accordingly. * mail/mail-mt.c: Use GThreadPools instead of EThreads. Use GAsyncQueues instead of EMsgPorts. * mail/em-composer-utils.c: * mail/em-folder-browser.c: * mail/em-folder-properties.c: * mail/em-folder-tree.c: * mail/em-folder-utils.c: * mail/em-folder-view.c: * mail/em-format-html-print.c: * mail/em-format-html.c: * mail/em-subscribe-editor.c: * mail/em-sync-stream.c: * mail/importers/elm-importer.c: * mail/importers/mail-importer.c: * mail/importers/pine-importer.c: * mail/mail-component.c: * mail/mail-folder-cache.c: * mail/mail-mt.c: * mail/mail-ops.c: * mail/mail-ops.h: * mail/mail-send-recv.c: * mail/mail-session.c: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/folder-unsubscribe/folder-unsubscribe.c: * plugins/groupwise-features/share-folder-common.c: * plugins/exchange-operations/exchange-folder.c: * plugins/mark-all-read/mark-all-read.c: * plugins/mailing-list-actions/mailing-list-actions.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-attachments/save-attachments.c: Use the new MailMsg API for messages. svn path=/trunk/; revision=34730
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-158-232/+232
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #496248Andre Klapper2007-11-131-1/+1
| | | | | | | | | | | | 2007-11-12 Andre Klapper <a9016009@gmx.de> ** Fix for bug #496248 * gui/alarm-notify/alarm-notify.glade: mark "location" field selectable. svn path=/trunk/; revision=34526
* Fix spacing between alarm description and buttons.Matthew Barnes2007-11-011-1/+1
| | | | | | | | | | 2007-10-31 Matthew Barnes <mbarnes@redhat.com> * gui/alarm-notify/alarm-notify.glade: Fix spacing between alarm description and buttons. svn path=/trunk/; revision=34474
* Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations -Kjartan Maraas2007-10-244-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/alarm-queue.c: * gui/alarm-notify/config-data.c: * gui/cal-search-bar.c: * gui/calendar-commands.c: * gui/calendar-config.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/alarm-list-dialog.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-page.c: * gui/dialogs/recurrence-page.c: * gui/e-alarm-list.c: * gui/e-cal-config.c: * gui/e-cal-event.c: * gui/e-cal-menu.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-date-time-list.c: * gui/e-day-view-main-item.c: * gui/e-day-view-time-item.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-meeting-list-view.c: * gui/e-memo-table.c: * gui/e-select-names-editable.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/goto.c: * gui/migration.c: * gui/print.c: * gui/tasks-control.c: * importers/icalendar-importer.c: Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations - mixing declarations and code - mark some code static - remove use of some deprecated Gtk+ apis svn path=/trunk/; revision=34420
* Miscellaneous changes related to bug #437579.Matthew Barnes2007-10-121-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-11 Matthew Barnes <mbarnes@redhat.com> Miscellaneous changes related to bug #437579. * configure.in: Put a blank line between the configuration summary and the final "now type make" message. * mail/em-format.c (em_format_add_puri): Use G_GSIZE_FORMAT when printing a gsize/size_t to make compilers on all arches happy. * plugins/mail-notification/mail-notification.c: Put the notification_callback() declaration inside a #ifdef HAVE_LIBNOTIFY block to avoid a potential compiler warning. * calendar/gui/alarm-notify/alarm-queue.c: Fix an implicit GTK+ function declaration on x86_64. svn path=/trunk/; revision=34378
* Fixed leak caused by my changes in fix for bug #325685.Milan Crha2007-10-051-2/+4
| | | | | | | | | | 2007-10-05 Milan Crha <mcrha@redhat.com> * gui/alarm-notify/alarm-queue.c: (alarm_queue_remove_client): Fixed leak caused by my changes in fix for bug #325685. svn path=/trunk/; revision=34357
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-032-11/+10
| | | | svn path=/trunk/; revision=34156
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0213-13/+13
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* 2007-08-10 mcrha Fix for bug #351552Milan Crha2007-08-103-12/+28
| | | | svn path=/trunk/; revision=33975
* ** Fix for bug #454253Srinivasa Ragavan2007-08-061-6/+21
| | | | svn path=/trunk/; revision=33952
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-12/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* 2007-08-02 mcrha Fix for bug #322624Milan Crha2007-08-021-0/+45
| | | | svn path=/trunk/; revision=33927
* Plugged memory leaks.Hiroyuki Ikezoe2007-07-261-2/+19
| | | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * gui/alarm-notify/config-data.c, gui/tasks-component.c, gui/calendar-component.c, gui/memos-component.c: Plugged memory leaks. svn path=/trunk/; revision=33852
* 2007-07-26 mcrha Fix for bug #273699Milan Crha2007-07-261-2/+4
| | | | svn path=/trunk/; revision=33843
* Fix for version removal from installed files.Srinivasa Ragavan2007-06-031-1/+1
| | | | svn path=/trunk/; revision=33646
* ** Fixes bug #424562Matthew Barnes2007-05-251-72/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-24 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #424562 * e-util/eggtrayicon.c: * e-util/eggtrayicon.h: Evolution requires GTK+ 2.10 now so kill this widget. * e-util/Makefile.am: Remove eggtrayicon.c and eggtrayicon.h. * calendar/gui/dialogs/recur-comp.c (recur_component_dialog): * e-util/e-dialog-utils.c (e_notice): * plugins/calendar-weather/calendar-weather.c (e_calendar_weather_location): * widgets/text/e-text.c (e_text_copy_clipboard), (e_text_update_primary_selection), (e_text_paste), (e_text_do_popup): Remove check for obsolete GTK+ version. * gui/alarm-notify/alarm-queue.c: EggTrayIcon is dead; always use GtkStatusIcon. svn path=/trunk/; revision=33573
* Fix for bug #415562Srinivasa Ragavan2007-05-041-0/+19
| | | | svn path=/trunk/; revision=33480
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-text.c: * a11y/e-table/gal-a11y-e-cell-vbox.c: * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * addressbook/gui/widgets/gal-view-minicard.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-tasks.c: * calendar/gui/gnome-cal.c: * composer/e-msg-composer.c: * mail/em-folder-browser.c: * mail/em-format.c: * mail/em-popup.c: * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/import-ics-attachments/icsimporter.c: * widgets/misc/e-filter-bar.c: * widgets/misc/e-multi-config-dialog.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-table-header-item.c: Don't mix declarations and code (#405495). svn path=/trunk/; revision=33324
* ** Fixes bug #419524Matthew Barnes2007-03-214-4/+4
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Fix for bug #380064Wang Xin2006-12-041-0/+4
| | | | | | | | | | | | 2006-11-28 Wang Xin <jedy.wang@sun.com> Fix for bug #380064 * gui/alarm-notify/alarm-queue.c: (mail_notification): Only popup the dialog if calendar backend does not support email alarm. svn path=/trunk/; revision=33038
* Fixes #208318.Chenthill Palanisamy2006-11-071-4/+6
| | | | svn path=/trunk/; revision=32956
* ** Fix for bug #344463Srinivasa Ragavan2006-08-301-5/+12
| | | | | | ` svn path=/trunk/; revision=32698
* Fix all compiler warnings and correct some other issues.Kjartan Maraas2006-08-243-39/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-08-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: (dialog_response_cb): * gui/alarm-notify/alarm-notify.c: (list_changed_cb), (dequeue_client), (alarm_msgport_replied), (alarm_notify_add_calendar), (alarm_notify_remove_calendar): * gui/alarm-notify/alarm-queue.c: (queue_midnight_refresh), (add_client_alarms_cb), (midnight_refresh_async), (remove_queued_alarm), (add_component_alarms), (cal_opened_cb), (remove_alarms), (remove_comp), (query_objects_changed_async), (edit_component), (tray_list_remove_cqa_async), (tray_list_remove_data_async), (notify_dialog_cb), (open_alarm_dialog), (tray_icon_clicked_cb), (tray_list_add_async), (free_client_alarms_cb), (alarm_queue_add_async), (remove_cqa), (remove_client_alarms): * gui/dialogs/alarm-dialog.c: (alarm_to_dalarm_widgets), (populate_widgets_from_alarm), (action_selection_done_cb): * gui/dialogs/alarm-list-dialog.c: (alarm_list_dialog_peek): * gui/dialogs/cal-prefs-dialog.c: (show_alarms_config): * gui/dialogs/memo-editor.c: (memo_editor_finalize): * gui/dialogs/memo-page.c: (sensitize_widgets): * gui/dialogs/task-page.c: (edit_clicked_cb): Fix all compiler warnings and correct some other issues. svn path=/trunk/; revision=32655
* Fixes #351253, make the dialog shows the label and can be closed.Li Yuan2006-08-141-0/+2
| | | | | | | | | | 2006-08-14 Li Yuan <li.yuan@sun.com> * gui/alarm-notify/alarm-queue.c: (mail_notification): Fixes #351253, make the dialog shows the label and can be closed. svn path=/trunk/; revision=32545
* Fixes #333423Chenthill Palanisamy2006-07-311-2/+1
| | | | svn path=/trunk/; revision=32443
* Fixed atleast 6 alarm crashes.Srinivasa Ragavan2006-06-121-11/+16
| | | | svn path=/trunk/; revision=32106
* More alarm fixesSrinivasa Ragavan2006-05-232-9/+22
| | | | svn path=/trunk/; revision=32015
* Rewrite Alarm Notify with EThreadSrinivasa Ragavan2006-04-224-130/+673
| | | | svn path=/trunk/; revision=31858
* committed fix for bug #328988Srinivasa Ragavan2006-03-061-37/+25
| | | | svn path=/trunk/; revision=31654
* adding translator comments to "second" strings to distinguish ordinalAndre Klapper2006-02-121-1/+2
| | | | | | | | | | | 2006-02-11 Andre Klapper <a9016009@gmx.de> * gui/dialogs/recurrence-page.c: * gui/alarm-notify/util.c: * gui/misc.c: adding translator comments to "second" strings to distinguish ordinal numbers and time divisions. Fixes bug 328988. svn path=/trunk/; revision=31484
* broken pipes are soo funKjartan Maraas2006-02-085-12/+7
| | | | svn path=/trunk/; revision=31452
* Fix compilation against HEAD gtk and on Win32, where we use theTor Lillqvist2006-01-311-2/+4
| | | | | | | | | | | 2006-01-31 Tor Lillqvist <tml@novell.com> * gui/alarm-notify/alarm-queue.c (open_alarm_dialog, tray_icon_clicked_cb): Fix compilation against HEAD gtk and on Win32, where we use the GtkStatusIcon API and there is no tray_image variable. svn path=/trunk/; revision=31384
* fixes #325762Chenthill Palanisamy2006-01-252-301/+49
| | | | svn path=/trunk/; revision=31308
* Committing patch from Jon Ander HernandezSrinivasa Ragavan2006-01-241-1/+1
| | | | svn path=/trunk/; revision=31291
* fixes #325629Chenthill Palanisamy2006-01-161-13/+5
| | | | svn path=/trunk/; revision=31211
* changes in alarm-queue.c to fix two bugs 324889 and 324816. The code thatChenthill Palanisamy2006-01-161-38/+40
| | | | | | | | handles the toggle of a calendar to be (not to be) included for alarms on "Configure Alarms" (right click alarm-notify panel icon) is faulty and is modified. svn path=/trunk/; revision=31210
* modified some code in alarm-queue.c that causes a crash while ↵Chenthill Palanisamy2006-01-161-39/+18
| | | | | | | | alarm-notification is quit using "Quit" option in right click of the panel icon for alarm. svn path=/trunk/; revision=31191
* fixes a build break.Chenthill Palanisamy2006-01-051-2/+2
| | | | svn path=/trunk/; revision=31061
* fixes #303193Chenthill Palanisamy2006-01-051-2/+4
| | | | svn path=/trunk/; revision=31059
* modified the alarm-notify.glade file and some code in alarm-notify-dialog.cChenthill Palanisamy2006-01-052-26/+86
| | | | | | | to include "hours" as an option for snooze time in alarm notification dialog. Fixes 317808 svn path=/trunk/; revision=31058
* applied an approved patch for fixing #323955. Also correct the date of ↵Chenthill Palanisamy2005-12-201-20/+5
| | | | | | previous commit. svn path=/trunk/; revision=30893
* When building against GTK+ 2.9.0 or later, and always on Win32, use theTor Lillqvist2005-12-171-3/+98
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * gui/alarm-notify/alarm-queue.c: When building against GTK+ 2.9.0 or later, and always on Win32, use the GtkStatusIcon API instead of EggTrayIcon. svn path=/trunk/; revision=30814
* Include libedataserver-$EDS_PACKAGE in the requirement list for E_WIDGETS.Tor Lillqvist2005-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-06 Tor Lillqvist <tml@novell.com> * configure.in: Include libedataserver-$EDS_PACKAGE in the requirement list for E_WIDGETS. Set bindir_in_server_file, privlibexecdir_in_server_file and componentdir_in_server_file. On Unix, they are the same as bindir, privlibexecdir and componentdir respectively. On Win32, use paths relative from lib/bonobo/servers. AC_SUBST these variables. * server.mk: Substitute the values above new variables for the corresponding @..._IN_SERVER_FILE@ strings in the .server.in.in files. * addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in * calendar/gui/GNOME_Evolution_Calendar.server.in.in * calendar/gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in * mail/GNOME_Evolution_Mail.server.in.in * shell/GNOME_Evolution_Shell.server.in.in * shell/GNOME_Evolution_Test.server.in.in: Correspondingly, use the @..._IN_SERVER_FILE@ strings. svn path=/trunk/; revision=30793
* gui/calendar-commands.c gui/e-cal-list-view.c gui/e-calendar-table.cTor Lillqvist2005-11-262-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * gui/calendar-commands.c * gui/e-cal-list-view.c * gui/e-calendar-table.c * gui/e-memo-table.c * gui/e-memos.c * gui/e-tasks.c * gui/gnome-cal.c * gui/goto.c * gui/memos-control.c * gui/tasks-control.c * gui/alarm-notify/alarm-notify-dialog.c * gui/alarm-notify/notify-main.c * gui/dialogs/alarm-dialog.c * gui/dialogs/alarm-list-dialog.c * gui/dialogs/cal-attachment.c * gui/dialogs/cal-prefs-dialog.c * gui/dialogs/comp-editor.c * gui/dialogs/e-delegate-dialog.c * gui/dialogs/event-editor.c * gui/dialogs/meeting-page.c * gui/dialogs/memo-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c * gui/dialogs/url-editor-dialog.c: Include e-util-private.h to get redefinition of compile-time pathnames as calls to functions on Windows. Construct the pathnames of files and directories under the installation prefix at run-time to enable install-anywhere on Windows. No effect on functionality on Unix. svn path=/trunk/; revision=30679
* Changes for alarm notification bubbleChenthill Palanisamy2005-11-248-122/+594
| | | | svn path=/trunk/; revision=30661
* gui/e-alarm-list.c gui/e-cal-component-memo-preview.cTor Lillqvist2005-11-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-24 Tor Lillqvist <tml@novell.com> * gui/e-alarm-list.c * gui/e-cal-component-memo-preview.c * gui/e-cal-component-preview.c * gui/e-cal-model.c * gui/e-cell-date-edit-text.c * gui/e-date-time-list.c * gui/e-itip-control.c * gui/e-memos.c * gui/e-tasks.c * gui/itip-utils.c * gui/print.c * gui/alarm-notify/alarm-notify-dialog.c * gui/alarm-notify/util.c * gui/dialogs/alarm-dialog.c * gui/dialogs/alarm-list-dialog.c * gui/dialogs/comp-editor-util.c * gui/dialogs/recurrence-page.c: Include e-time-utils.h from libedataserver instead of using evolution's copy which is going away. svn path=/trunk/; revision=30659
* changes are made in alarm-notify.glade and alarm-notify-dialog.c to make sureChenthill Palanisamy2005-11-172-28/+35
| | | | | | | that the description part of the alarm dialog comes in a scroll window and thus fixing #314550 svn path=/trunk/; revision=30632
* Modified the code in alarm_notify_add_calendars() to generate the correct ↵Chenthill Palanisamy2005-11-081-2/+9
| | | | | | | | key for obtaining the password for an authenticated calendar. svn path=/trunk/; revision=30579
* Changed the code to load alarms from current day beginning if the last ↵Chenthill Palanisamy2005-11-082-11/+10
| | | | | | | | | notification time is beyond current day's beginning time in the function load_alarms_for_today() and removed a check in the function setup_timeout() svn path=/trunk/; revision=30578
* fixes #266144, #317575.Chenthill Palanisamy2005-10-111-43/+60
| | | | svn path=/trunk/; revision=30503
* fixes 271480.Chenthill Palanisamy2005-10-031-0/+7
| | | | svn path=/trunk/; revision=30473
* fixes #269685.Chenthill Palanisamy2005-10-011-5/+84
| | | | svn path=/trunk/; revision=30455
* fixes #273781.Chenthill Palanisamy2005-09-301-0/+2
| | | | svn path=/trunk/; revision=30449
* Fixes #261625Chenthill Palanisamy2005-09-191-7/+11
| | | | svn path=/trunk/; revision=30358
* Fixes 313705Chenthill Palanisamy2005-08-252-0/+7
| | | | svn path=/trunk/; revision=30247
* Fixes #310338Chenthill Palanisamy2005-08-122-18/+53
| | | | svn path=/trunk/; revision=30097
* Free the uri to the source in a few cases. Free the timezone location.Kjartan Maraas2005-07-131-0/+3
| | | | | | | | | | | 2005-07-08 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify.c: (alarm_notify_add_calendar): Free the uri to the source in a few cases. * gui/calendar-config.c: (calendar_config_get_icaltimezone): Free the timezone location. svn path=/trunk/; revision=29756
* Prune unnecessary and nonexistent directories from the -I options. PruneTor Lillqvist2005-06-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-27 Tor Lillqvist <tml@novell.com> * */Makefile.am: Prune unnecessary and nonexistent directories from the -I options. Prune pathname macros not used in the sources in that directory from the -D options. Use NO_UNDEFINED. Link with all necessary libraries. On Win32 link with bootstrap libraries where necessary. * common/Makefile.am: As this is a noinst library, no use for LDFLAGS or LIBADD. * gui/Makefile.am: Use Win32-specific hack to work around MSYS feature in the gconftool invokation. * gui/calendar-commands.c: Remove superfluous inclusion of <pwd.h>. * gui/e-cal-list-view.c * gui/e-day-view.c: Remove superfluous inclusion of <gdk/gdkx.h>. * gui/gnome-cal.c: Remove superfluous inclusion of <sys/wait.h>. * importers/icalendar-importer.c: Use g_usleep() instead of sleep(). svn path=/trunk/; revision=29592
* moved e-error to e-util/Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util/ svn path=/trunk/; revision=29363
* Fixes #301350Rodrigo Moya2005-05-101-1/+23
| | | | | | | | | | | | | | 2005-05-09 Rodrigo Moya <rodrigo@novell.com> Fixes #301350 * gui/alarm-notify/alarm-queue.c (alarm_queue_init): install a timeout handler to check, every 30 minutes, for not losing the midnight refresh. (check_midnight_refresh): check the midnight refresh and if we missed it, reload alarms. (queue_midnight_refresh): made the midnight value be global. svn path=/trunk/; revision=29321
* Made the alarm-notify dialog multi-alarm awarePhilip Van Hoof2005-05-095-467/+657
| | | | | | | | | 2005-05-11 Philip Van Hoof <pvanhoof@gnome.org> * gui/alarm-notify/*: Made the alarm-notify dialog multi-alarm aware svn path=/trunk/; revision=29315
* Fixes #274406 Removed the additional unref present.Chenthill Palanisamy2005-05-021-1/+0
| | | | | | | | | 2005-05-01 Chenthill Palanisamy <pchenthill@novell.com> Fixes #274406 * gui/alarm-notify/alarm-notify.c: (cal_opened_cb): Removed the additional unref present. svn path=/trunk/; revision=29256
* Fixes #41740Rodrigo Moya2005-04-022-2/+4
| | | | | | | | | | | | | | | | 2005-04-01 Rodrigo Moya <rodrigo@novell.com> Fixes #41740 * gui/calendar-errors.xml: * gui/calendar-errors.xml.h: added editor error. * gui/alarm-notify/alarm-queue.c (edit_component): display error messages when we can't load the component in the editor. * gui/alarm-notify/Makefile.am: linked against libemiscwidgets.la. svn path=/trunk/; revision=29148
* Fixes #44719Rodrigo Moya2005-03-281-0/+1
| | | | | | | | | | | 2005-03-28 Rodrigo Moya <rodrigo@novell.com> Fixes #44719 * gui/alarm-queue.c (display_notification): make the alarm dialog sticky when not using the system tray. svn path=/trunk/; revision=29116
* Merge from 2.10 branchJP Rosevear2005-03-151-0/+2
| | | | svn path=/trunk/; revision=29019
* Fixes #73563JP Rosevear2005-03-141-1/+1
| | | | | | | | | | | | 2005-03-13 JP Rosevear <jpr@novell.com> Fixes #73563 * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): make sure in the snooze case the tray (and via callbacks then) the dialog is destroyed svn path=/trunk/; revision=29011
* Fixes #72835Rodrigo Moya2005-03-043-54/+109
| | | | | | | | | | | | | | | | | | | | | | 2005-03-04 Rodrigo Moya <rodrigo@novell.com> Fixes #72835 * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog): changed to return the dialog we create, and to run in the background. (dialog_response_cb): response callback for the dialog. * gui/alarm-notify/alarm-queue.c (alarm_queue_done): don't g_assert, just check for midnight_refresh pointer, and clear it up if not NULL. Also, traverse all clients with g_hash_table_foreach_remove. (free_client_alarms_cb, alarm_queue_remove_client, load_alarms): added missing cleanup code. (queue_midnight_refresh): don't g_assert, just check for midnigh_refresh pointer and clear it up if not NULL. (open_alarm_dialog): store the dialog returned by alarm_notify_dialog(). (tray_icon_destroyed_cb): destroy the dialog if still around. svn path=/trunk/; revision=28956
* Fixes #72928Rodrigo Moya2005-03-012-6/+7
| | | | | | | | | | | | | 2005-02-28 Rodrigo Moya <rodrigo@novell.com> Fixes #72928 * gui/alarm-notify/notify-main.c (main): don't call alarm_queue_done... * gui/alarm-notify/alarm-notify.c (alarm_notify_finalize): ...do it at the same level than alarm_queue_init. svn path=/trunk/; revision=28922
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* if opening the calendar failed, disconnect signals and unref it.Rodrigo Moya2005-02-181-0/+3
| | | | | | | | | 2005-02-18 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-notify.c (cal_opened_cb): if opening the calendar failed, disconnect signals and unref it. svn path=/trunk/; revision=28810
* use libedataserver's e-url.Rodrigo Moya2005-01-171-1/+1
| | | | | | | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/calendar-component.c: * gui/calendar-offline-handler.c: * gui/comp-editor-factory.c: * gui/e-tasks.c: * gui/gnome-cal.c: * gui/misc.c: * gui/alarm-notify/alarm-notify.c: use libedataserver's e-url. svn path=/trunk/; revision=28422
* clear the attendees, somehow I remove this in an earlier commitJP Rosevear2005-01-081-1/+0
| | | | | | | | | 2005-01-07 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): clear the attendees, somehow I remove this in an earlier commit svn path=/trunk/; revision=28278
* svn path=/trunk/; revision=28177Not Zed2004-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/tasks-component.c (popup_event_cb): * gui/gnome-cal.c (gnome_calendar_view_popup_factory): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): * gui/dialogs/meeting-page.c (button_press_event): * gui/calendar-component.c (popup_event_cb): svn path=/trunk/; revision=28177
* Add callback function for doing ngettext on the "minutes" labelRodney Dawes2004-12-181-0/+20
| | | | | | | | | | | | | 2004-12-17 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (an_minutes_update_label): Add callback function for doing ngettext on the "minutes" label (alarm_notify_dialog): Get the "minutes" label from the glade file and set the callback for its "value_changed" signal Fixes #47535 svn path=/trunk/; revision=28146
* dittoJP Rosevear2004-11-261-4/+1
| | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): ditto * gui/e-timezone-entry.c (e_timezone_entry_init): get the image directly from the icon factory svn path=/trunk/; revision=27996
* prevent crash if there is no descriptionJP Rosevear2004-11-261-5/+9
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): prevent crash if there is no description svn path=/trunk/; revision=27994
* Add gtkimage.h to includes, and remove gtkhtml headers Add and remove someRodney Dawes2004-11-234-385/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.[ch]: Add gtkimage.h to includes, and remove gtkhtml headers Add and remove some widgets in the AlarmNotify struct (dialog_destroy_cb, delete_event_cb, close_clicked_cb): (snooze_clicked_cb, edit_clicked_cb, url_requested_cb): (make_html_display, write_times, write_html_heading): (alarm_notify_dialog_disable_buttons): Remove all these unneeded functions (no more GtkHTML in the dialog) (alarm_notify_dialog): Add description and location arguments Rename message argument to summary Update gtk-doc comment block to reflect API changes Clean up code to use gtk_dialog_run () and use a HIG compliant dialog * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant and not use GtkHTML, and display more information that is relevant to the appointment we are alerting of * gui/alarm-notify/alarm-queue.c: Add new variables to the TrayIconData structure so we can access the description and location (on_dialog_objs_removed_cb): Remove alarm_dialog bits (notify_dialog_cb): Remove alarm_dialog bits (tray_icon_destroyed_cb): Free the description and location as well (open_alarm_dialog): alarm_notify_dialog does all the work now, we don't need to trap the dialog widget here (display_notification): Add code to get the description and location information from the cal component Avoid using an alarm component which has less useful API Fix a warning when creating the tray_icon widget svn path=/trunk/; revision=27971
* Don't try to convert the results of timet_to_str_with_zone to UTF-8, sinceRodney Dawes2004-11-091-8/+2
| | | | | | | | | | | | 2004-11-08 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Don't try to convert the results of timet_to_str_with_zone to UTF-8, since the return value is already encoded in UTF-8 Fixes #47529 svn path=/trunk/; revision=27866
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/calendar-component.c, gui/e-cal-menu.c, gui/e-cal-popup.c, gui/e-calendar-table.c, gui/e-calendar-view.c, gui/gnome-cal.c, gui/tasks-component.c, gui/alarm-notify/alarm-queue.c, gui/dialogs/meeting-page.c: convert to org.gnome hook names svn path=/trunk/; revision=27638
* convert to epopup. (add_popup_menu_item): removed, now redundant.Not Zed2004-10-121-44/+31
| | | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): convert to epopup. (add_popup_menu_item): removed, now redundant. svn path=/trunk/; revision=27546
* Fixes #62374Rodrigo Moya2004-09-171-56/+44
| | | | | | | | | | | | | | | | | | 2004-09-10 Rodrigo Moya <rodrigo@novell.com> Fixes #62374 * gui/alarm-notify/alarm-queue.c (load_missed_alarms): removed this function. (cal_opened_cb): no need to call load_missed_alarms, load_alarms_for_today will do everything. (alarm_queue_add_client): ditto. (load_alarms_for_today): take into account the last saved notification time. (load_alarms): unref the previous query, this function should now only be called once per time range. svn path=/trunk/; revision=27286
* Fixes #62392Rodrigo Moya2004-09-041-2/+2
| | | | | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> Fixes #62392 * gui/alarm-notify/alarm-queue.c (display_notification): ref the client's query object so that it doesn't disappear on us. (tray_icon_destroyed_cb): unref the query previously ref'ed. svn path=/trunk/; revision=27132
* get the active state (insert_rsvp): set inital rsvp stateJP Rosevear2004-08-281-1/+1
| | | | | | | | | | | | 2004-08-28 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (rsvp_clicked_cb): get the active state (insert_rsvp): set inital rsvp state * gui/alarm-notify/alarm-queue.c (alarm_queue_add_client): load immediately if they are loaded svn path=/trunk/; revision=27057
* use the new 'has-alarms-in-range' query. (alarm_queue_add_client): makeRodrigo Moya2004-08-281-15/+32
| | | | | | | | | | 2004-08-27 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (load_alarms): use the new 'has-alarms-in-range' query. (alarm_queue_add_client): make sure we don't add twice the same alarm. svn path=/trunk/; revision=27044
* update protoJP Rosevear2004-08-272-19/+29
| | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (list_changed_cb): use per source type client hash (alarm_notify_init): ditto (alarm_notify_finalize): ditto (cal_opened_cb): ditto (alarm_notify_add_calendar): ditto (alarm_notify_remove_calendar): ditto, take source_type arg (load_calendars_cb): don't call list_changed if the source list is NULL svn path=/trunk/; revision=27042
* initialize the mutext needed to prevent concurrect accessSivaiah Nallagatla2004-08-181-16/+30
| | | | | | | | | | | | | | | | 2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.c (alarm-notify_init) : initialize the mutext needed to prevent concurrect access priv->uri_clients_hash. Also install a timeout handler for loading sources which requires auth later (alarm_notify_finalize) : free the new mutex (load_calendars_cb) : call back which adds sources again after one minute (alarm_notify_add_calendar) : lock ad unlock the new mutex before and after accessing uri_clients_hash svn path=/trunk/; revision=26962
* change the prototype of alarm_notify_add_calendar to take Esource insteadSivaiah Nallagatla2004-08-162-9/+19
| | | | | | | | | | | | | | | | 2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.h : change the prototype of alarm_notify_add_calendar to take Esource instead of uri * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar) : use auth_new_cal_from_source instead of _from_uri to create cal client also do not try to load the cal backend which require auth and for which there is no password availble in e-password seesion (list_changed_cb) (load_calendars) : pass Esource insted of uri to alarm_notify_add_calendar svn path=/trunk/; revision=26947
* disconnect from signals also when using only the system tray. Fixes aRodrigo Moya2004-08-101-0/+3
| | | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): disconnect from signals also when using only the system tray. Fixes a crash when removing an event that had an alarm popup recently. svn path=/trunk/; revision=26862
* Fixes #62030Rodrigo Moya2004-08-062-8/+11
| | | | | | | | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): only remove the tray icon blinking timeout if we installed it. (display_notification): only install the tray icon blinking timeout if using the system tray. (tray_icon_blink_cb): use g_object_unref instead of the deprecated gdk_pixbuf_unref. * gui/alarm-notify/alarm.c (alarm_add): added missing argument documentation. svn path=/trunk/; revision=26838
* include config.h. See #61395.Not Zed2004-07-221-0/+4
| | | | | | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c: * importers/icalendar-importer.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/copy-source-dialog.c: * gui/alarm-notify/util.c: * common/authentication.c: * gui/migration.c: include config.h. See #61395. svn path=/trunk/; revision=26694
* Merge from release branch.JP Rosevear2004-06-041-5/+12
| | | | svn path=/trunk/; revision=26178
* add argJP Rosevear2004-05-182-2/+14
| | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * idl/evolution-calendar.idl: add arg * gui/alarm-notify/alarm-queue.c (edit_component): send a mode type * gui/alarm-notify/alarm-notify.c: add fixme note * gui/comp-editor-factory.c (impl_editExisting): take a editor mode and twist it into a source type (impl_editNew): ditto (open_client): take a source type for creating the client (lookup_open_client): ditto svn path=/trunk/; revision=25959
* just set up the alarm notify objectJP Rosevear2004-05-187-233/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * gui/alarm-notify/notify-main.c (init_alarm_service): just set up the alarm notify object * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (process_removal_in_hash): process removals using the source list (list_changed_cb): when the list changes, update (load_calendars): initially load the calendars (alarm_notify_init): load the calendars here and don't listen for a selection notification (alarm_notify_add_calendar): get the source type when adding a calendar * gui/alarm-notify/notify-main.c (main): no need to init/shutdown gnome vfs * gui/alarm-notify/config-data.h: new proto * gui/alarm-notify/config-data.c (config_data_get_notify_with_tray): routine to get schema value * gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking here, setup_timeout does that (queue_alarm): ditto (setup_timeout): calculate the timeout better * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): tidy (edit_component): clean up exception handling (display_notification): don't show the tray icon if we aren't notifying with the tray * gui/apps_evolution_calendar.schemas.in.in: add notify_with_tray option svn path=/trunk/; revision=25958
* Use E_ICON_SIZE enum here. (display_notification): Same.Jeffrey Stedfast2004-05-182-3/+3
| | | | | | | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb): Use E_ICON_SIZE enum here. (display_notification): Same. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Use E_ICON_SIZE_DIALOG here. * gui/e-week-view.c (e_week_view_realize): Same as below. * gui/e-day-view.c (e_day_view_realize): Use E_ICON_SIZE_MENU for the icon sizes rather than using pixel values. svn path=/trunk/; revision=25941
* Update the alarm notify dialog to be HIG compliantRodney Dawes2004-05-012-102/+225
| | | | | | | | | | | | 2004-04-30 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant Fixes #41224 svn path=/trunk/; revision=25729
* Call e_icon_factory_init ()Rodney Dawes2004-04-241-0/+3
| | | | | | | | | | 2004-04-23 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/notify-main.c (main): Call e_icon_factory_init () Fixes #57497 svn path=/trunk/; revision=25602
* Update the calendar to use the icon theme through the EIconFactory objectMichael Terry2004-04-192-10/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * gui/GNOME_Evolution_Calendar.server.in.in: * gui/calendar-commands.c: * gui/calendar-component.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-day-view-main-item.c: * gui/e-day-view-top-item.c: * gui/e-day-view.c: * gui/e-day-view.h: * gui/e-itip-control.c: * gui/e-timezone-entry.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/e-week-view.h: * gui/tasks-component.c: * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-queue.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-editor.c: Update the calendar to use the icon theme through the EIconFactory object in e-util svn path=/trunk/; revision=25515
* removed commented code.Rodrigo Moya2004-04-051-34/+0
| | | | | | | | 2004-04-05 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c: removed commented code. svn path=/trunk/; revision=25316
* removed useless call to set the POA after construction.Rodrigo Moya2004-04-051-1/+0
| | | | | | | | | 2004-04-05 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (main): removed useless call to set the POA after construction. svn path=/trunk/; revision=25315
* removed misplaced return statement that prevented the rest of the objectsRodrigo Moya2004-03-291-1/+1
| | | | | | | | | | 2004-03-29 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): removed misplaced return statement that prevented the rest of the objects list to be processed. svn path=/trunk/; revision=25222
* get the mail alarm description message from "malarm_description" insteadAlfred Peng2004-03-231-3/+7
| | | | | | | | | | | | | | | | | 2004-03-23 Alfred Peng <alfred.peng@sun.com> * gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): get the mail alarm description message from "malarm_description" instead of "dalarm_description". 2004-03-23 Alfred Peng <alfred.peng@sun.com> * gui/alarm-notify/alarm-queue.c (audio_notification): If there is no attachment for a audio reminder, only a message window shows up. Get a beep sound even without attachment for audio reminder. svn path=/trunk/; revision=25154
* Fix #51187 on bugzilla of ximian If "alarms" or "alarms->alarms" is NULLAlfred Peng2004-03-181-30/+33
| | | | | | | | | | | | | | 2004-03-18 Alfred Peng <alfred.peng@sun.com> * Fix #51187 on bugzilla of ximian * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): If "alarms" or "alarms->alarms" is NULL after querying a calendar for the alarms of a particular object, the reuse of "cqa" will probably cause evolution-alarm-notify to crash. So remove "cqa" when "alarms" or "alarms->alarms" is NULL. Otherwise update it. svn path=/trunk/; revision=25112
* set a GConf listener callback to list for changes in selected calendars.Rodrigo Moya2004-03-051-0/+92
| | | | | | | | | | | | | 2004-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_init): set a GConf listener callback to list for changes in selected calendars. (alarm_notify_finalize): remove the GConf notification listener. (conf_changed_cb): callback to react on configuration changes. Process the new selected calendars and remove the unselected ones. (process_removal_in_hash): callback to remove unselected calendars. svn path=/trunk/; revision=24973
* don't make the dialog window sticky, the icon on the system tray alreadyRodrigo Moya2004-03-041-1/+0
| | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): don't make the dialog window sticky, the icon on the system tray already shows in all workspaces. svn path=/trunk/; revision=24963
* Fixes #54028Rodrigo Moya2004-03-041-1/+1
| | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #54028 * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): fixed the time range for the alarm query, to include the end of today. svn path=/trunk/; revision=24961
* fix rampant double-freeing.Dan Winship2004-03-021-20/+8
| | | | | | * gui/alarm-notify/alarm-notify.c: fix rampant double-freeing. svn path=/trunk/; revision=24927
* Fix the repo_id to include the evolution base versionRodney Dawes2004-02-271-1/+1
| | | | | | | | | 2004-02-26 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Fix the repo_id to include the evolution base version svn path=/trunk/; revision=24899
* remove the client from the queue also.Rodrigo Moya2004-02-191-0/+2
| | | | | | | | | 2004-02-18 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (free_client_hash): remove the client from the queue also. svn path=/trunk/; revision=24790
* add 1 second to the last notification time, or we'll get many times theRodrigo Moya2004-02-181-0/+2
| | | | | | | | | 2004-02-18 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): add 1 second to the last notification time, or we'll get many times the same notification. svn path=/trunk/; revision=24772
* removed buggy characters from menu items' texts.Rodrigo Moya2004-02-171-3/+3
| | | | | | | | | 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): removed buggy characters from menu items' texts. svn path=/trunk/; revision=24752
* open the calendars asynchonously. (cal_opened_cb): callback forRodrigo Moya2004-02-171-5/+25
| | | | | | | | | | | 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): open the calendars asynchonously. (cal_opened_cb): callback for "cal_opened" signal. Add the calendars to the alarm queue here. svn path=/trunk/; revision=24751
* get alarms since the last notification, only use current time when thereRodrigo Moya2004-02-171-4/+6
| | | | | | | | | | 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): get alarms since the last notification, only use current time when there is no previous notification time. svn path=/trunk/; revision=24750
* set session restart style to RESTART_IF_RUNNING.Rodrigo Moya2004-02-171-1/+1
| | | | | | | | | 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (init_session): set session restart style to RESTART_IF_RUNNING. svn path=/trunk/; revision=24749
* no need to keep the master client. (init_session): just set the daemon'sRodrigo Moya2004-02-161-17/+20
| | | | | | | | | | | 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c: no need to keep the master client. (init_session): just set the daemon's restart style, not the restart command. Connect to "save_yourself" signal on the session also. (save_session_cb): set the restart command here. svn path=/trunk/; revision=24748
* pass the user list to e_cal_send_objects().Rodrigo Moya2004-02-161-0/+1
| | | | | | | | | | | 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> * gui/itip-utils.c (comp_server_send): pass the user list to e_cal_send_objects(). 2004-02-16 Rodrigo Moya <rodrigo@ximian.com> svn path=/trunk/; revision=24747
* Fixes #52970Rodrigo Moya2004-02-045-46/+57
| | | | | | | | | | | | | | | | | | | | | | | 2004-02-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #52970 * idl/evolution-calendar.idl: added back the AlarmNotify interface. * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: changed to have the AlarmNotify component be created via a factory. * gui/alarm-notify/alarm-notify.[ch]: converted to implement the AlarmNotify interface. * gui/alarm-notify/notify-main.c (main): register the factory with bonobo_generic_factory_new, not the object itself. Removed redundant call to bonobo_object_unref. Call e_passwords_shutdown on exit. * gui/alarm-notify/config-data.c (config_data_get_calendars_to_load): get only the selected calendars/task lists. svn path=/trunk/; revision=24613
* removed.Rodrigo Moya2004-01-168-193/+118
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.[ch]: removed. * gui/alarm-notify/Makefile.am: removed save.[ch]. * gui/alarm-notify/notify-main.c: removed obsolete headers. * gui/alarm-notify/config-data.[ch] (config_data_set_last_notification_time, config_data_get_last_notification_time, config_data_save_blessed_program, config_data_is_blessed_program): new functions. * gui/alarm-notify/alarm-queue.c: dont use removed functions. (alarm_trigger_cb, procedure_notification_dialog, alarm_queue_init): use config_data_* functions. * gui/alarm-notify/alarm-notify.c: dont use removed functions. svn path=/trunk/; revision=24249
* added missing headers.Rodrigo Moya2004-01-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c: added missing headers. * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar): use the correct variable when calling alarm_queue_remove_client(). * gui/calendar-component.c (impl_upgradeFromVersion): removed redundant variable declarations. * gui/migration.c (process_old_dir): * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate): * gui/e-date-time-list.c (e_date_time_list_finalize): * gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings. * gui/e-calendar-table.c: added missing prototypes at the top to avoid warnings. * gui/e-week-view.c (e_week_view_scroll_a_step): * gui/e-day-view.c (e_day_view_event_move): directly return in the default: case. * gui/e-tasks.c (setup_widgets): connect to changes on the model. (model_row_changed_cb): callback to update the HTML detailed view when the currently selected task changes. (client_obj_updated_cb): removed unused function. (set_status_message): changed to accept a variable list of arguments. (e_tasks_add_todo_uri): display status messages and get error message from backend and display it in a dialog. (cal_opened_cb, load_error, method_error, permission_error): removed unused functions. * gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and display status messages. (gnome_calendar_construct, gnome_calendar_add_event_source): adapted to changes in open_ecal(). svn path=/trunk/; revision=24147
* keep all the tray icons we create in a list. (tray_icon_destroyed_cb):Rodrigo Moya2004-01-101-0/+15
| | | | | | | | | | | | 2004-01-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (display_notification): keep all the tray icons we create in a list. (tray_icon_destroyed_cb): remove the tray icon data from the list. (popup_dismiss_cb, popup_dismiss_all_cb): implemented missing popup menu items. svn path=/trunk/; revision=24145
* store the ECal's associated ECalView, and connect to its "objects_removed"Rodrigo Moya2004-01-091-29/+106
| | | | | | | | | | | | | | | | | | | | | | 2004-01-08 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (display_notification): store the ECal's associated ECalView, and connect to its "objects_removed" signal. (notifiy_dialog_cb): disconnect signals from the ECalView, not the ECal. (on_dialog_objs_removed_cb): adapted to respond to "objects_removed" signal on ECalView. Made it destroy the tray bar icon also. (add_popup_menu_item): new function to create the popup items. (tray_icon_clicked_cb): remove connection to obsolete signal, and made it popup a menu on right-click. (popup_open_cb, popup_dismiss_cb, popup_dismiss_all_cb): callbacks for popup menu. * gui/gnome-cal.c (connect_week_view_focus): don't access the widget's private fields if NULL. svn path=/trunk/; revision=24120
* call e_cal_view_start to actually start the live query.Rodrigo Moya2004-01-081-2/+3
| | | | | | | | | | 2004-01-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (load_alarms): call e_cal_view_start to actually start the live query. (add_component_alarms): check the 'alarms' parameter before using it. svn path=/trunk/; revision=24100
* call e_cal_view_start to actually start the live query.Rodrigo Moya2004-01-081-0/+2
| | | | | | | | | 2004-01-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (load_alarms): call e_cal_view_start to actually start the live query. svn path=/trunk/; revision=24099
* added an ECalQuery for each loaded client. (load_alarms): use a live queryRodrigo Moya2004-01-071-60/+71
| | | | | | | | | | | | | | | | | 2004-01-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c: added an ECalQuery for each loaded client. (load_alarms): use a live query to the calendar instead of calling e_cal_get_alarms_in_range(). (alarm_queue_add_client): set query initially to NULL. (query_objects_changed_cb): renamed and made it manage both "objects_added" and "objects_modified" signals of ECalView. (query_objects_removed_cb): manage the "objects_removed" signal of ECalView. (alarm_queue_remove_client): unref the live query. svn path=/trunk/; revision=24085
* if the setting is not in the config database, use the current time, toRodrigo Moya2003-12-231-3/+5
| | | | | | | | | | 2003-12-22 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (get_saved_notification_time): if the setting is not in the config database, use the current time, to avoid getting hundreds of alarms for past events. svn path=/trunk/; revision=24003
* new files for managing interactive authentication with backends.Rodrigo Moya2003-12-222-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-22 Rodrigo Moya <rodrigo@ximian.com> * common/authentication.[ch]: new files for managing interactive authentication with backends. * common/Makefile.am: build new private library. * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): * gui/dialogs/event-page.c (source_changed_cb): * gui/dialogs/task-page.c (source_changed_cb): * gui/dialogs/copy-source-dialog.c (copy_source): * gui/calendar-component.c (setup_create_ecal): * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online, calendar_offline_handler_init): * gui/comp-editor-factory.c (open_client): * gui/e-itip-control.c (start_calendar_server): * gui/e-tasks.c (e_tasks_add_todo_uri): * gui/gnome-cal.c (gnome_calendar_construct, gnome_calendar_add_event_uri): * gui/tasks-component.c (setup_create_ecal): * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn, gnome_calendar_import_data_fn): create the ECal's via the auth_new_cal_from* functions in the authentication module. * gui/alarm-notify/Makefile.am: * gui/Makefile.am: * importers/Makefile.am: link new private library. * Makefile.am: added new directory to the build. svn path=/trunk/; revision=23999
* rewrite for new ecal api, cache all ecal's by type and minimize loading.JP Rosevear2003-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-21 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.[hc]: rewrite for new ecal api, cache all ecal's by type and minimize loading. Switch to using the source option menu * conduits/todo/todo-conduit.c (start_calendar_server): ditto * conduits/calendar/calendar-conduit.c (start_calendar_server): use ECalSourceType * importers/icalendar-importer.c (load_file_fn): ditto (vcal_load_file_fn): ditto (gnome_calendar_import_data_fn): ditto * gui/dialogs/task-page.c (source_changed_cb): ditto * gui/dialogs/event-page.c (source_changed_cb): ditto * gui/dialogs/copy-source-dialog.h: update proto * gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto * gui/tasks-component.c (copy_task_list_cb): ditto (setup_create_ecal): ditto * gui/gnome-cal.c (gnome_calendar_construct): ditto (gnome_calendar_add_event_uri): ditto * gui/e-tasks.c (e_tasks_add_todo_uri): ditto * gui/comp-editor-factory.c (open_client): ditto * gui/calendar-offline-handler.c (backend_go_offline): ditto (backend_go_online): ditto (calendar_offline_handler_init): ditto * gui/calendar-component.c (copy_calendar_cb): ditto (setup_create_ecal): ditto * gui/print.c (print_month_small): don't pass type to e_cal_generate_instances (print_day_details): ditto (print_week_summary): ditto * gui/tag-calendar.c (tag_calendar_by_client): ditto svn path=/trunk/; revision=23994
* make sure we free the data stored in the hash table.Rodrigo Moya2003-12-172-22/+5
| | | | | | | | | | | | | | | | | 2003-12-17 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar): make sure we free the data stored in the hash table. (alarm_notify_add_calendar): call alarm_queue_add_client, or we wont have alarms at all. * gui/alarm-notify/alarm-queue.c: no need to hold a ref count. (alarm_queue_add_client, alarm_queue_remove_client): don't use the refcount private member. (alarm_queue_add_client): don't connect to non-existing ECal signals. (display_notification, free_client_alarms_cb): fixed warnings. svn path=/trunk/; revision=23960
* return a reference to the alarm_notify_service, not NULL and ref theRodrigo Moya2003-12-171-1/+3
| | | | | | | | | | 2003-12-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return a reference to the alarm_notify_service, not NULL and ref the object before returning it. svn path=/trunk/; revision=23949
* return a reference to the alarm_notify_service, not NULL.Rodrigo Moya2003-12-171-1/+1
| | | | | | | | | 2003-12-16 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (alarm_notify_factory_fn): return a reference to the alarm_notify_service, not NULL. svn path=/trunk/; revision=23948
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-023-3/+3
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* removed unneeded functions. (alarm_notify_add_calendar,Rodrigo Moya2003-12-011-109/+0
| | | | | | | | | | | 2003-12-01 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (add_uri_to_load, remove_uri_to_load): removed unneeded functions. (alarm_notify_add_calendar, alarm_notify_remove_calendar): no need anymore to add/remove URIs to load on startup to the configuration. svn path=/trunk/; revision=23525
* removed this function, since we now use the ESourceList to know whatRodrigo Moya2003-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (save_calendars_to_load): removed this function, since we now use the ESourceList to know what calendars to load. (get_calendars_to_load): moved to config-data.c. (save_notification_time, get_saved_notification_time, save_blessed_program, is_blessed_program): use the shared GConfClient. * gui/alarm-notify/config-data.[ch]: use a GConfClient instead of a EConfigListener. (config_data_get_conf_client): renamed from _get_listener. (config_data_get_timezone, config_data_get_24_hour_format): changed to use the GConfClient. (config_data_get_calendars_to_load): new function. (ensure_inited): create the source lists for calendar and tasks here. (do_cleanup): cleanup the source lists here. * gui/alarm-notify/notify-main.c (load_calendars): use config_data_get_calendars_to_load(). svn path=/trunk/; revision=23524
* removed this function, since we now use the ESourceList to know whatRodrigo Moya2003-12-014-95/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (save_calendars_to_load): removed this function, since we now use the ESourceList to know what calendars to load. (get_calendars_to_load): moved to config-data.c. (save_notification_time, get_saved_notification_time, save_blessed_program, is_blessed_program): use the shared GConfClient. * gui/alarm-notify/config-data.[ch]: use a GConfClient instead of a EConfigListener. (config_data_get_conf_client): renamed from _get_listener. (config_data_get_timezone, config_data_get_24_hour_format): changed to use the GConfClient. (config_data_get_calendars_to_load): new function. (ensure_inited): create the source lists for calendar and tasks here. (do_cleanup): cleanup the source lists here. * gui/alarm-notify/notify-main.c (load_calendars): use config_data_get_calendars_to_load(). svn path=/trunk/; revision=23523
* e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto.Hans Petter Jansson2003-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-26 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline): e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto. (calendar_offline_handler_init): Ditto. * gui/comp-editor-factory.c (open_client): Ditto. * gui/e-itip-control.c (start_calendar_server): Ditto. (object_requested_cb): Ditto. * gui/e-tasks.c (e_tasks_add_todo_uri): Ditto. * gui/gnome-cal.c (gnome_calendar_construct): Ditto. (gnome_calendar_add_event_uri): Ditto. * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): Ditto. * importers/icalendar-importer.c (load_file_fn): Ditto. (vcal_load_file_fn): Ditto. (gnome_calendar_import_data_fn): Ditto. * gui/dialogs/copy-source-dialog.c (copy_source): Pass sources to e_cal_new (). svn path=/trunk/; revision=23498
* Update OAFIID of AlarmNotifyRoss Burton2003-11-242-2/+2
| | | | svn path=/trunk/; revision=23470
* 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