aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/alarm-dialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-6/+9
| | | | svn path=/trunk/; revision=33432
* ** Fix for bug #349966Daniel Gryniewicz2006-11-281-0/+1
| | | | | | | | 2006-11-28 Daniel Gryniewicz <dang@gentoo.org> ** Fix for bug #349966 svn path=/trunk/; revision=33026
* Fix all compiler warnings and correct some other issues.Kjartan Maraas2006-08-241-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #345222Wang Xin2006-07-071-0/+48
| | | | | | | | | | | | 2006-07-07 Wang Xin <jedy.wang@sun.com> Fixes #345222 * gui/dialogs/alarm-dialog.c: (alarm_to_dialog), (alarm_to_malarm_widgets); (populate_widgets_from_alarm): Handle mail alarm. svn path=/trunk/; revision=32248
* Fix for 333706Harry Lu2006-03-221-1/+1
| | | | | | | | | | | 2006-03-07 Harry Lu <harry.lu@sun.com> Fix for 333706 * gui/dialogs/alarm-dialog.c: (alarm_to_dalarm_widgets): call set_text only when description.value is not NULL. svn path=/trunk/; revision=31733
* fixes #330521Chenthill Palanisamy2006-02-091-2/+2
| | | | svn path=/trunk/; revision=31463
* fixes #225816Chenthill Palanisamy2006-01-301-2/+177
| | | | svn path=/trunk/; revision=31355
* fixes #213660Chenthill Palanisamy2006-01-131-1/+15
| | | | svn path=/trunk/; revision=31167
* gui/calendar-commands.c gui/e-cal-list-view.c gui/e-calendar-table.cTor Lillqvist2005-11-261-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gui/e-alarm-list.c gui/e-cal-component-memo-preview.cTor Lillqvist2005-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Set the border width for the internal dialog containers to be HIGRodney Dawes2005-02-031-1/+5
| | | | | | | | | | | | | | | | | | 2005-02-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/alarm-dialog.c (alarm_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-list-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant svn path=/trunk/; revision=28681
* add necessary includeJP Rosevear2005-01-011-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-31 JP Rosevear <jpr@novell.com> * gui/dialogs/schedule-page.c: add necessary include * gui/dialogs/meeting-page.c (sensitize_widgets): kill warning * gui/dialogs/cal-prefs-dialog.c (template_url_changed): kill warning * gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm): kill warnings (init_widgets): ditto * gui/main.c (initialize): no need to init the config system now * gui/e-cell-date-edit-config.h: include date edit text header * gui/e-cal-config.c (ecp_target_free): kill warning * gui/calendar-config.c: clean up includes, internally initialize the config setup to make it easier for others; kill dead functions svn path=/trunk/; revision=28209
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-231-57/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* use "Contacts..."JP Rosevear2004-06-261-1/+41
| | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/e-delegate-dialog.glade: use "Contacts..." * gui/dialogs/alarm-dialog.glade: add custom message email toggle * gui/dialogs/alarm-dialog.c (get_widgets): get custom email message toggle (check_custom_email): check the custom message when setting sensitivity of OK button (malarm_message_toggled_cb): check custom email (malarm_description_changed_cb): ditto (action_selection_done_cb): ditto svn path=/trunk/; revision=26517
* set the default address here if possible (dialog_to_alarm): don't set itJP Rosevear2004-06-261-21/+59
| | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-dialog.c (alarm_to_dialog): set the default address here if possible (dialog_to_alarm): don't set it here (check_custom_email): check for To: entries (malarm_addresses_changed_cb): update when the text in the to entry changes (action_selection_done_cb): for the custom email settings (init_widgets): listen for email To: changes (alarm_dialog_run): only save the alarm if the response was "OK" svn path=/trunk/; revision=26516
* the args are optional, don't store them if they aren't thereJP Rosevaer2004-06-251-23/+130
| | | | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevaer <jpr@novell.com> * gui/dialogs/alarm-dialog.c (palarm_widgets_to_alarm): the args are optional, don't store them if they aren't there (check_custom_sound): sensitize the ok button based on whether or not there needs to be input (check_custom_message): ditto (check_custom_program): ditto (dalarm_message_toggled_cb): check custom message (dalarm_description_changed_cb): ditto (aalarm_sound_toggled_cb): check custom sound (aalarm_attach_changed_cb): ditto (palarm_program_changed_cb): check custom program (action_selection_done_cb): use above checks as appropriate (init_widgets): listen for changed signals svn path=/trunk/; revision=26512
* free old_summary (is_custom_alarm): take description into account whenJP Rosevear2004-06-251-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_finalize): free old_summary (is_custom_alarm): take description into account when checking for custom alarm (is_custom_alarm_uid_list): pass old_summary (is_custom_alarm_store): ditto (is_custom_alarm_store): ditto (sensitize_widgets): ditto (event_page_fill_component): ditto (event_page_fill_widgets): store the initial summary (alarm_changed_cb): make sure the needs description property gets set on the default alarm (alarm_custom_clicked_cb): copy the current store in case the user hits cancel, if all the alarms are erased uncheck the alarm toggle * gui/dialogs/alarm-dialog.glade: add toggles for custom messages and sound * gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store custom sound only if the toggle is checked (dalarm_widgets_to_alarm): store custom message only if toggle is checked (get_widgets): load new widgets (aalarm_sound_toggled_cb): sensitize sound entry (dalarm_message_toggled_cb): sensitize message entry (init_widgets): listen for toggle signals svn path=/trunk/; revision=26511
* store all the custom alarms (alarm_custom_clicked_cb): emit changed signalJP Rosevear2004-06-251-34/+452
| | | | | | | | | | | | | | | | | | | | 2004-06-24 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_fill_component): store all the custom alarms (alarm_custom_clicked_cb): emit changed signal if necessary * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return true/false based on button pushed * gui/dialogs/alarm-dialog.c: move repeat options and per alarm type options here * gui/dialogs/alarm-dialog.glade: ditto * gui/dialogs/Makefile.am: remove alarm options dialog svn path=/trunk/; revision=26500
* HIGify and newer design; alarm page is gone, Cancel/OK buttons for theJP Rosevear2004-06-231-0/+324
2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c, gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h, gui/dialogs/alarm-list-dialog.c, gui/dialogs/alarm-list-dialog.glade, gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c, gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c, gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h, gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h, gui/dialogs/event-editor.c, gui/dialogs/event-page.c, gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c, gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c, gui/dialogs/recurrence-page.glade, gui/dialogs/task-details-page.c, gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c, gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and newer design; alarm page is gone, Cancel/OK buttons for the dialog, no more menus; slightly improve read-only workings for entry areas svn path=/trunk/; revision=26463