| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=36381
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2008-17-14 Paolo Borelli <pborelli@katamail.com>
** Fix for bug #542889
Port to the new gtk tooltip api.
svn path=/trunk/; revision=35744
|
|
|
|
| |
svn path=/trunk/; revision=35665
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=34156
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
| |
svn path=/trunk/; revision=33975
|
|
|
|
| |
svn path=/trunk/; revision=33927
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=33480
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
`
svn path=/trunk/; revision=32698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=32443
|
|
|
|
| |
svn path=/trunk/; revision=32106
|
|
|
|
| |
svn path=/trunk/; revision=32015
|
|
|
|
| |
svn path=/trunk/; revision=31858
|
|
|
|
| |
svn path=/trunk/; revision=31452
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=31308
|
|
|
|
| |
svn path=/trunk/; revision=31211
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
alarm-notification is
quit using "Quit" option in right click of the panel icon for alarm.
svn path=/trunk/; revision=31191
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=30661
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=30503
|
|
|
|
| |
svn path=/trunk/; revision=30455
|
|
|
|
|
|
|
|
| |
2005-05-16 Not Zed <NotZed@Ximian.com>
* moved e-error to e-util/
svn path=/trunk/; revision=29363
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=29019
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
2004-04-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-queue.c: removed commented code.
svn path=/trunk/; revision=25316
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=20948
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Federico Mena Quintero <federico@ximian.com>
Adds session management for the alarm daemon. Also makes it store
a list of calendars to be monitored. Those calendars will all be
loaded when the alarm daemon starts up.
* idl/evolution-calendar.idl (AlarmNotify): Removed the ::die()
method. The alarm daemon now handles termination via the session
manager's commands.
* gui/alarm-notify/notify-main.c (set_session_parameters): New
function, sets some parameters so that the session manager can
restart the daemon via the evolution-alarm-client program. Also,
sets up the "die" signal so that the daemon can terminate when the
session ends.
(load_calendars): New function to load the calendars on startup.
(main): Set the session parameters. Load the calendars on startup.
* gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): New
function, moved over from the impl_ function. Added a
load_afterwards argument to indicate whether the calendar should
just be loaded or if it should also be added to the list of
calendars to load on startup.
(AlarmNotify_addCalendar): Use alarm_notify_add_calendar().
(AlarmNotify_removeCalendar): Remove the calendar from the list of
calendars to load on startup.
* gui/alarm-notify/save.c (save_calendars_to_load): New function,
saves a sequence of the URIs to load.
(get_calendars_to_load): New function, loads a sequence of
calendars to load.
* gui/alarm-notify/alarm.h: Removed stale prototype for alarm_init().
* gui/component-factory.c (remove_folder): Ask the alarm daemon to
stop monitoring alarms for the folder that is being deleted.
svn path=/trunk/; revision=13763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-09 Federico Mena Quintero <federico@ximian.com>
Fixes bug #884.
* gui/alarm-notify/save.[ch]: New files with functions to
save/load the last notification time.
* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Save the last
notification time.
(alarm_queue_init): Load the last notification time when the
daemon is inited.
(alarm_queue_add_client): Load the alarms that we missed while the
alarm daemon was not running.
(cal_opened_cb): Likewise.
* gui/alarm-notify/Makefile.am (evolution_alarm_notify_SOURCES):
Added save.[ch] to the list of sources.
svn path=/trunk/; revision=13538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-queue.c (audio_notification): Display a
notification message always, in addition to playing the sound.
(procedure_notification): Present a confirmation dialog before
actually running the alarm's program.
(procedure_notification): Use gnome_execute_shell() instead of
gnome_execute_async() so that we handle multiple arguments
properly. Plus, it is most likely what the user expects.
(mail_notification): Display a message about unsupported email
reminders instead of blindly dropping the alarm.
* gui/dialogs/alarm-options.glade: Added an explanatory message
about mail alarms not being supported.
* gui/dialogs/alarm-page.glade: Removed the "Send an email"
option.
* gui/dialogs/alarm-page.c (action_map): Removed CAL_ALARM_EMAIL.
svn path=/trunk/; revision=13004
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-11 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-queue.c (display_notification): Added an
use_description argument so that other alarms can fall back to
this type.
(audio_notification): Implemented.
(remove_comp): Call remove_queued_alarm() here; there is no longer
a destroy notification function for alarms so must we do this
manually.
(alarm_trigger_cb): Do not pass the alarm to the notification
functions so that we can free it ourselves before all the alarms
in the component get freed.
(display_notification): Get the alarm here instead of getting it
as an argument.
(procedure_notification): Implemented.
svn path=/trunk/; revision=12772
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-10 Federico Mena Quintero <federico@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_get_attach):
Handle the new icalattach type instead of struct icalattachtype.
(cal_component_alarm_set_attach): Likewise.
* gui/dialogs/alarm-options.c (alarm_to_aalarm_widgets): Likewise.
(alarm_to_palarm_widgets): Likewise.
(aalarm_widgets_to_alarm): Likewise.
(palarm_widgets_to_alarm): Likewise.
svn path=/trunk/; revision=12749
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-04 Federico Mena Quintero <federico@ximian.com>
* gui/component-factory.c (sc_user_create_new_item_cb):
Implemented.
* gui/main.c (component_editor_factory_init): New function to
create the factory for the comp_editor_factory.
* gui/comp-editor-factory.c: Finished implementation.
* gui/alarm-notify/alarm-queue.c (edit_component): Implemented the
Edit command.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
comp-editor-factory.[ch] to the list of sources.
svn path=/trunk/; revision=12619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-22 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-queue.c (QueuedAlarm): Added a snooze
flag to differentiate snoozed alarms from real occurrences.
(add_component_alarms): Do not specify a destroy function for the
alarm trigger. We handle this in the callbacks now.
(alarm_trigger_cb): Just remove the alarms for the unimplemented
notification types.
(create_snooze): Implemented snooze.
(notify_dialog_cb): Snooze as appropriate.
svn path=/trunk/; revision=12412
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): Handle the
different alarm actions.
(display_notification): Do the alarm notification dialog here.
* gui/alarm-notify/alarm-notify-dialog.c (make_heading): Take in a
CalComponentVType, not a whole component.
(alarm_notify_dialog): Take in a CalComponentVType and the final
message instead of generating it ourselves.
svn path=/trunk/; revision=10978
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Federico Mena Quintero <federico@ximian.com>
* idl/evolution-calendar.idl (CalAlarmInstance): Renamed the occur
field to occur_start; added an occur_end field. This way we can
present the complete times for the occurrence from the server.
* cal-util/cal-component.h (CalAlarmInstance): Likewise.
* pcs/cal-backend-file.c (add_alarm_occurrences_cb): Fill the new
fields appropriately.
(generate_absolute_triggers): Likewise; we use -1 in case the
component has no DTSTART or DTEND because there are no meaningful
occurrence dates here.
(fill_alarm_instances_seq): Fill in the new fields.
* cal-client/cal-client.c (build_alarm_instance_list): Likewise.
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
Take in both the occur_start and occur_end times.
* gui/goto.c (goto_dialog): Free the dlg structure on the bail-out
cases.
* gui/dialogs/event-page.c (get_widgets): Do not assert if we
cannot find the main widget; just return FALSE.
* gui/dialogs/alarm-page.c (get_widgets): Likewise.
* gui/dialogs/task-page.c (get_widgets): Likewise.
* gui/dialogs/task-details-page.c (get_widgets): Likewise.
* gui/dialogs/meeting-page.c (get_widgets): Likewise.
svn path=/trunk/; revision=10517
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-24 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify.c: Converted to use BonoboXObject.
* gui/gnome-cal.c (gnome_calendar_open): Ask the alarm
notification service to add the calendar and tasks URIs.
(add_alarms): New function.
* gui/alarm-notify/notify-main.c (main): Doh, fixed typo in the
OAFIID.
(main): Initialize and shut down gnome-vfs.
* gui/Makefile.am (IDLS): Added evolution-calendar.idl, sigh.
(evolution_calendar_SOURCES): Added the files generated from the IDL.
* gui/alarm-notify/alarm-queue.c (alarm_trigger_cb): New function
used when an alarm is triggered.
* gui/dialogs/Makefile.am: Removed the alarm-notify-dialog files;
they are now in gui/alarm-notify.
* gui/alarm-notify/Makefile.am: Added the alarm-notify-dialog
files.
* pcs/cal.c (cal_forget_password): This was incorrectly named
cal_client_forget_password(); renamed it.
* gui/main.c (main): Initialize and shut down gnome-vfs.
svn path=/trunk/; revision=10453
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-23 Federico Mena Quintero <federico@ximian.com>
* gui/alarm-notify/alarm-notify.c (AlarmNotify_addCalendar):
Switched to using our own refcounted structure for loaded clients.
(AlarmNotify_removeCalendar): Ditto. Also, do the full
destruction of the client.
(alarm_notify_destroy): Destroy each element in the hash table.
* cal-client/cal-client.c (cal_client_construct): Test for
exceptions from OAF when activating the Wombat calendar factory.
* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.oaf.in:
New .oaf.in file.
* gui/alarm-notify/Makefile.am (oaf_in_files): Updated.
* gui/GNOME_Evolution_Calendar.oaf.in: Put all the servers here
instead of in a million files.
* gui/GNOME_Evolution_Calendar_Control.oaf.in: Removed file.
* gui/GNOME_Evolution_Calendar_gnomecal.oaf.in: Removed *REALLY*
obsolete file.
* gui/Makefile.am (oaf_in_files): Updated.
svn path=/trunk/; revision=8375
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* */*: Ximianified email addresses and copyrights.
* idl/evolution-calendar.idl (CalFactory::open): Renamed from
::load(), and added an only_if_exists argument.
(CalFactory::create): Removed method.
(Listener::OpenStatus): Removed the IN_USE error and replaced it
with a NOT_FOUND one; renamed the enum from LoadStatus.
(Listener::notifyCalOpened): Renamed from notifyCalLoaded().
* pcs/cal-backend.h (CalBackend): Removed the uri field.
(CalBackendOpenStatus): Renamed from CalBackendLoadStatus and
added a NOT_FOUND value.
(CalBackendClass::open): Put in a slot for the open method.
* pcs/cal-backend.c (cal_backend_create): Removed function.
* pcs/cal-backend-file.c (cal_backend_file_open): Return the
appropriate value when only_if_exists is TRUE.
(create_cal): We are Ximian now, so set the PRODID property to
the appropriate foo.
* pcs/cal-factory.c (CalFactory_open): implemented, replacing
CalFactory_load() and CalFactory_create().
(CalFactory_open): Moved the queue_load_create_job() stuff to
here, since we now only need to contemplate the open case instead
of load/create ones.
(open_backend): Do everything here; replaces load_backend() and
create_backend().
* cal-client/cal-listener.h (CalListenerClass::cal_opened):
Renamed from cal_loaded.
(CalListenerClass): Replaced the silly signals, which are
gratuitous abstraction, by a set of function pointers in the
instance structure.
* cal-client/cal-listener.c (cal_listener_get_calendar): Removed
unused function.
(cal_listener_construct): Added the listener notification functions.
(cal_listener_new): Ditto.
(Listener_notifyCalOpened): Renamed to our new naming convention
for servant implementations.
(Listener_notifyObjUpdated): Ditto.
(Listener_notifyObjRemoved): Ditto.
* cal-client/cal-client.h (CalClientOpenStatus): Renamed from
CalClientLoadStatus.
(CalClientClass::cal_opened): Renamed from ::cal_loaded().
(CalClientLoadState): New enum; basically make LoadState public so
that users of this code do not have to maintain their own states.
* cal-client/cal-client.c (cal_client_create_calendar): Removed
function.
(cal_client_open_calendar): Moved the functionality over from
load_or_create(); now we do everything here.
(*): Use the CalClientLoadState enum values instead of the old
LoadState values.
(cal_client_get_load_state): Renamed from cal_client_is_loaded(),
and return the appropriate value.
(CalClientPrivate): Added an uri field.
(cal_client_init): Initialize priv->uri.
(cal_client_destroy): Free the priv->uri.
(cal_opened_cb): Maintain the priv->uri.
(cal_client_open_calendar): Fill in the priv->uri.
(cal_client_get_uri): New function.
* gui/calendar-model.c (calendar_model_set_new_comp_vtype): New
function to configure the type of calendar components to create
when doing click-to-add. This makes the model usable for
something other than task lists.
(calendar_model_get_new_comp_vtype): New function.
* gui/e-calendar-table.c (e_calendar_table_get_model): New function.
(e_calendar_table_destroy): Unref the subset_model.
* gui/gnome-cal.h (GnomeCalendarOpenMode): Removed enum.
* gui/gnome-cal.c (LoadState): Removed enum; we now use the
CalClientLoadState from the client objects.
(GnomeCalendarPrivate): Removed the loading_uri and
task_pad_loading_uri fields as well as the load_state and
task_pad_load_state fields, as we can now query them directly from
the CalClient.
(open_error): Renamed from load_error().
(create_error): Removed function.
(gnome_calendar_open): Do not take in the mode parameter.
(cal_opened_cb): Get rid of our beautifully-crafted state machine
and replace it with simple code; all the loading smarts are in the
Wombat now.
(setup_widgets): Set the new component vtype of the table model to
CAL_COMPONENT_TODO.
* gui/Makefile.am (evolution_calendar_SOURCES): Removed
gnome-month-item.[ch] from the list of sources.
* gui/calendar-summary.c (CalSummary): Removed unused cal_loaded
field.
(create_summary_view): Do not check if the file exists; this is
the job of the Wombat.
(generate_html_summary): Fixed prototype.
(alarm_fn): Fixed prototype.
(property_dialog): Fixed prototype. Wonder if/how this ever
worked.
(create_summary_view): Cast the component and view as
appropriate. Removed unused html variable.
[Iain dude, are you compiling with -Wall?]
* gui/e-itip-control.c (cal_opened_cb): Sigh, this function
signature was *very* wrong. It was using CalClientGetStatus
instead of CalClientOpenStatus.
* gui/e-tasks.h (ETasksOpenMode): Removed enum.
* gui/e-tasks.c (setup_widgets): Set the new component vtype of
the table model to CAL_COMPONENT_TODO.
(LoadState): Removed the state machine foo.
(e_tasks_open): Removed the mode parameter.
(initial_load): Removed function.
(create_error): Removed function.
(ETasksPrivate): Removed folder_uri field.
(cal_opened_cb): Remove the state machine.
* gui/component-factory.c: #include "tasks-control.h"
* conduits/calendar/calendar-conduit.h (ECalConduitContext):
Removed calendar_load_tried field.
* conduits/calendar/calendar-conduit.c (start_calendar_server_cb):
Sigh, fixed function prototype.
* conduits/todo/todo-conduit.h (EToDoConduitContext): Removed
calendar_load_tried field.
* conduits/todo/todo-conduit.c (start_calendar_server_cb): Fixed
function prototype.
svn path=/trunk/; revision=7571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Federico Mena Quintero <federico@helixcode.com>
* idl/evolution-calendar.idl (AlarmNotify): New interface for the
alarm notification system.
* gui/alarm-notify: New directory for the alarm notification
daemon and its auxiliary stuff.
* gui/alarm-notify/alarm.[ch]: Moved over from gui/alarm.[ch].
* gui/alarm-notify/alarm-queue.[ch]: Moved over from
gui/alarm-notify.[ch]. Renamed functions from alarm_notify_*() to
alarm_queue_*().
* gui/alarm-notify/alarm-notify.[ch]: Implementation of the
GNOME::Evolution::Calendar::AlarmNotify interface.
* gui/Makefile.am (evolution_calendar_LDADD): Removed the
LINK_FLAGS variable and reordered the libraries to remove some
duplicated ones.
(SUBDIRS): Added the alarm-notify directory.
svn path=/trunk/; revision=7338
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-02 Federico Mena Quintero <federico@helixcode.com>
* gui/alarm-notify.c (add_component_alarms): If the component has
no alarms, do not try to queue them.
(remove_client_alarms): New function to remove all the queued
alarms for a calendar client.
(alarm_notify_remove_client): Remove the client's alarms.
svn path=/trunk/; revision=7218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-01 Federico Mena Quintero <federico@helixcode.com>
* gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove
the client from the alarm notification system.
Removed all the obsolete alarm code.
* gui/event-editor.c: Removed some crufty externs left over from
Gnomecal.
* gui/calendar-commands.c: #include "goto.h"
Removed crufty variables left over from Gnomecal.
(new_calendar): Do not take a full_name parameter.
(init_username): Removed function.
(init_calendar): Wheeeeeeee! Removed crufty function.
(quit_cmd): Removed function.
* gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally
FALSE because we do not use the configuration setting anyways.
Sigh, all the printing code needs to be revamped.
svn path=/trunk/; revision=7209
|
|
2000-12-21 Federico Mena Quintero <federico@helixcode.com>
Alarm trigger queueing for the GUI part.
* gui/alarm-notify.[ch]: New files with the high-level alarm
notification system; mostly moved over from gnome-cal.c. The
low-level timer stuff is still in alarm.[ch].
* gui/alarm-notify.c (alarm_notify_init): New function to
initialize the alarm notification system.
(alarm_notify_done): New function to shut down the alarm
notification system.
(alarm_notify_add_client): New function to start monitoring a
calendar client for alarm notification.
(alarm_notify_remove_client): New function to stop monitoring a
client.
* gui/alarm.h (AlarmDestroyNotify): Also pass in the alarm ID so
the callback may know which ID is being destroyed.
* gui/alarm.c (clear_itimer): New function.
(pop_alarm): Use clear_itimer().
(alarm_done): New function to shut down the timer system.
(alarm_add): Add some preconditions. Do not call the destroy
notification function if we could not create the alarm.
(alarm_ready): Pass the alarm ID to the destroy notify function.
(alarm_remove): Likewise. Also, add some preconditions.
* gui/gnome-cal.c: Removed the alarm notification functions from
here since they are now in alarm-notify.c.
(gnome_calendar_construct): Register the client with
alarm_notify_add_client().
(gnome_calendar_destroy): Use alarm_notify_remove_client() to
unregister the client.
(obj_updated_cb): Do not do any alarm-related stuff.
(obj_removed_cb): Likewise.
* gui/main.c (main): Shut down the alarm timer system.
(main): Initialize and shut down the alarm notification system.
* gui/Makefile.am (evolution_calendar_SOURCES): Added
alarm-notify.[ch] to the list of sources.
* gui/calendar-model.c (calendar_model_set_cal_client): Only
connect to the "cal_loaded" signal if the client is not already
loaded.
* gui/e-day-view.c (e_day_view_set_cal_client): Likewise.
* gui/e-week-view.c (e_week_view_set_cal_client): Likewise.
* gui/e-itip-control.c (update_calendar): Connect to "cal_loaded"
before issuing the load request.
svn path=/trunk/; revision=7130
|