aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
Commit message (Collapse)AuthorAgeFilesLines
* When the start year and the end year are the same, the num should beLi Yuan2004-10-127-12/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/calendar-commands.c: (calendar_get_text_for_folder_bar_label): When the start year and the end year are the same, the num should be displayed in start time. * gui/dialogs/alarm-dialog.glade: Add names to comboxes in alarm-dialog page. * gui/dialogs/cal-prefs-dialog.glade: Add labbled_by relation for e_date_edit. Add names to comboxes in general tab and display tab. Add shortcut keys to start_of_day_label and end_of_day_label. * gui/dialogs/event-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/event-page.glade: Add labbled_by relation for e_date_edit. * gui/dialogs/meeting-page.glade: Set an atk name for organizer widget. * gui/dialogs/task-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/task-page.glade: Add labbled_by relation for e_date_edit. Add a11y names to task description and categories. * gui/e-alarm-list.c: (e_alarm_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-date-time-list.c: (e_date_time_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Add labbled_by relation for e_date_edit. * gui/e-timezone-entry.c: (e_timezone_entry_class_init), (e_timezone_entry_init), (e_timezone_entry_mnemonic_activate), (e_timezone_entry_focus): Add a focus handler for e-timezone-entry. Set an atk name for the button. * gui/e-week-view.c: (e_week_view_do_cursor_key_up), (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left), (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up), (e_month_view_do_cursor_key_down), (e_month_view_do_cursor_key_left), (e_month_view_do_cursor_key_right): Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27550
* Fixes #45951Rodrigo Moya2004-10-123-14/+6
| | | | | | | | | | | | | | | | 2004-10-08 Rodrigo Moya <rodrigo@novell.com> Fixes #45951 * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: attach the description field correctly to the table so that it scrolls correctly instead of making the dialog bigger as you write. * gui/dialogs/comp-editor.c (setup_widgets): no need to create an extra GtkVBox, just use the GtkDialog's one. svn path=/trunk/; revision=27538
* remove useless includeJP Rosevear2004-10-082-2/+0
| | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/dialogs/cal-prefs-dialog.c: remove useless include * gui/dialogs/url-editor-dialog.c: ditto svn path=/trunk/; revision=27502
* Revert fix for #60551Rodrigo Moya2004-10-071-9/+0
| | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Revert fix for #60551 * gui/dialogs/task-page.c (task_page_fill_component): start date can be after the due date, no need to compare. svn path=/trunk/; revision=27481
* Fixes #48116Iván Frade2004-10-071-11/+23
| | | | | | | | | | | 2004-10-02 Iván Frade <frade@asturlinux.org> Fixes #48116 * gui/dialogs/task-details.page.c (task_details_page_fill_component): Validation: completed date is not a future date. svn path=/trunk/; revision=27480
* Fixes #66174Tony Tsui2004-09-201-1/+3
| | | | | | | | | | 2004-09-20 Tony Tsui <ttsui9@gmail.com> Fixes #66174 * gui/dialogs/meeting-page.c (existing_attendee): fixed memory leak. svn path=/trunk/; revision=27303
* Fixes bug #65051Hannah & Fazlu2004-09-201-0/+9
| | | | | | | | | | | 2004-09-10 Hannah & Fazlu <hannah_lins@yahoo.co.in> Fixes bug #65051 * calendar/gui/dialogs/task-page.c (task_page_fill_component): Compared the dates and time svn path=/trunk/; revision=27302
* Check the static capability to enable or disable the assign tasks in theChenthill Palanisamy2004-09-051-0/+11
| | | | | | | | | | | | | | | | 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): Check the static capability to enable or disable the assign tasks in the popup menu. * gui/dialogs/recurrence-page.c (sensitize_buttons): Check for the static capability to convert a existing appointment to recurrence appointment for enabling or diabling the recurrence widgets. svn path=/trunk/; revision=27152
* Don't call gtk_dialog_set_has_separator on Gtk Message DialogFrédéric Crozat2004-08-251-0/+2
| | | | | | | * gui/dialogs/recur-comp.c: (recur_component_dialog): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog svn path=/trunk/; revision=27017
* Make the description scrolled window scroll policy "automatic" rather thanJeffrey Stedfast2004-08-241-1/+1
| | | | | | | | | | 2004-08-13 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/event-page.glade: Make the description scrolled window scroll policy "automatic" rather than "never". Fixes bug #62063. svn path=/trunk/; revision=26998
* make the button say Add Task List instead of Add Group (matches menu item)JP Rosevear2004-08-131-1/+1
| | | | | | | | | 2004-08-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.glade: make the button say Add Task List instead of Add Group (matches menu item) svn path=/trunk/; revision=26910
* added the property "use_filechooser" to the GnomeFileEntryCarlos Garnacho Parro2004-08-131-0/+1
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/dialogs/alarm-dialog.glade: added the property "use_filechooser" to the GnomeFileEntry svn path=/trunk/; revision=26896
* Fixes #61555JP Rosevear2004-08-111-6/+35
| | | | | | | | | | | | | 2004-08-11 JP Rosevear <jpr@ximian.com> Fixes #61555 * gui/dialogs/meeting-page.c (existing_attendee): check if an attendee was pre-existing (remove_attendee): only add the attendee to the cancel comp if it was pre-existing svn path=/trunk/; revision=26870
* Fixes #62021JP Rosevear2004-08-081-0/+5
| | | | | | | | | | | | | | | | | | | | 004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62021 * gui/dialogs/event-page.c (source_changed_cb): set the default timezone * gui/e-itip-control.c (start_calendar_server): set the default timezone * gui/calendar-component.c (setup_create_ecal): set the default timezone, as the component view is not alive and hence has not set it * gui/tasks-component.c (setup_create_ecal): ditto svn path=/trunk/; revision=26849
* Fix for bug #61673. The function takes two arguments now, instead of one.Parthasarathi S A2004-08-063-6/+17
| | | | | | | | | | | | | | | | | | | 2004-08-05 Parthasarathi S A <sparthasarathi@novell.com> Fix for bug #61673. * calendar/gui/dialogs/save_comp.c(save_component_dialog): The function takes two arguments now, instead of one. The second argument is the pointer to the ECalComponent from which the component type can be determined. Based on the component type the corresponding error message is displayed. * calendar/gui/dialogs/save_comp.h: Function definition updated for save_component_dialog. * calendar/gui/dialogs/comp_editor.c(prompt_to_save_changes): passing the ECalComponent pointer to the 'save_component_dialog' function * calendar/calendar-errors.xml: New error message string for task included * calendar/calendar-errors.xml.h svn path=/trunk/; revision=26839
* use Invitations not Meetings (event_editor_edit_comp): dittoJP Rosevear2004-08-011-2/+2
| | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (show_meeting): use Invitations not Meetings (event_editor_edit_comp): ditto svn path=/trunk/; revision=26785
* hide dialog items that don't apply when editing properties.Larry Ewing2004-07-301-3/+22
| | | | | | | | | | | 004-07-28 Larry Ewing <lewing@novell.com> * gui/dialogs/calendar-setup.c (dialog_hide_unused_options): hide dialog items that don't apply when editing properties. (general_update_dialog): check to make sure we have a source before checking its state. svn path=/trunk/; revision=26773
* Fix mnemonic for "Location" to not be duplicated with "OK"Rodney Dawes2004-07-274-225/+161
| | | | | | | | | | | | | | | | | | | 2004-07-26 Rodney Dawes <dobey@novell.com> * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not be duplicated with "OK" * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label (meeting_page_construct): Fix padding of GtkScrolledWindow widget Set the mnemonic widget for the "Attendees" label * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct Fix the mnemonic for "Organizer" to not conflict Add mnemonic for "Attendees" * gui/dialogs/task-page.glade: Add mnemonic for "Description" svn path=/trunk/; revision=26737
* set a different title if we are editing; de-sensitize option menu if weJP Rosevear2004-07-262-3/+6
| | | | | | | | | | | | | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set a different title if we are editing; de-sensitize option menu if we are editing (calendar_setup_edit_task_list): set a different title if we are editing * gui/dialogs/calendar-setup.glade: use task list instead of tasks group * gui/tasks-component.c (impl__get_userCreatableItems): add assigned task as an item, use task list instead of tasks group * gui/calendar--component.c (impl__get_userCreatableItems): fiddle with shortcuts svn path=/trunk/; revision=26735
* Fixes #61738JP Rosevear2004-07-221-4/+9
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61738 * gui/dialogs/meeting-page.c (clear_widgets): by default we have a user as organizer (sensitize_widgets): use user_org to determine widget sensitivity (meeting_page_fill_widgets): set user_org value appropriately (change_clicked_cb): set user_org to TRUE svn path=/trunk/; revision=26701
* Fixes #61779JP Rosevear2004-07-222-0/+6
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61779 * gui/dialogs/task-page.c (init_widgets): listen for changes on start and due dates * gui/dialogs/task-details-page.c (init_widgets): listen for changes on completion date svn path=/trunk/; revision=26700
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | | | | | | | 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
* Fixes #61572JP Rosevear2004-07-162-9/+3
| | | | | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #61572 * gui/dialogs/schedule-page.c (times_changed_cb): call notify changed * gui/dialogs/comp-editor.c (page_summary_changed_cb): no need to mark the editor changed here, it doesn't do the right thing anyhow (page_dates_changed_cb): ditto svn path=/trunk/; revision=26659
* Fixes #60678JP Rosevear2004-07-151-8/+7
| | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #60678 * gui/dialogs/cancel-comp.c (cancel_component_dialog): flip the messages around, the "deleting" flag means something else is doing the deleting svn path=/trunk/; revision=26658
* Update the layout of the dialog to be more usableRodney Dawes2004-07-131-6/+23
| | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey@novell.com> * gui/dialogs/recur-comp.c (recur_component_dialog): Update the layout of the dialog to be more usable Partially fixes #56171 svn path=/trunk/; revision=26623
* busy should be opaque, not transparentJürg Billeter2004-07-121-1/+1
| | | | | | | | | 2004-07-11 Jürg Billeter <j@bitron.ch> * gui/dialogs/event-page.c (event_page_fill_component): busy should be opaque, not transparent svn path=/trunk/; revision=26619
* Fixes #60289Rodrigo Moya2004-07-101-1/+12
| | | | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Fixes #60289 * gui/dialogs/select-source-dialog.c (select_source_dialog): set the absolute URI on the selected source, so that the ESource we keep around has a valid URI. * gui/e-calendar-view.c (transfer_item_to): when copying appointments, change the UID. (transfer_selected_items): don't pass hardcoded values to transfer_item_to. svn path=/trunk/; revision=26608
* Get the label for the calendar list header also (init_widgets): Set theRodney Dawes2004-07-033-181/+236
| | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/url-editor-dialog.c (get_widgets): Get the label for the calendar list header also (init_widgets): Set the border widths for the dialog's vbox and action area to be more compliant with the HIG Set the mnemonic widget for the calendar label, to the Source Selector Remove the unneeded settings for the scrolled window, these are in the glade xml for the widget Set the icon list on the correct dialog widget, not the settings dialog * gui/dialogs/url-editor-dialog.h: Add the calendar_list_label widget here so we can access it * gui/dialogs/url-editor-dialog.glade: Change the dialog's layout to be HIG compliant and fix some strings to do the same Add mnemonics to all the labels that are associated with widgets svn path=/trunk/; revision=26564
* don't show option tabsJP Rosevear2004-06-261-2/+1
| | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-dialog.glade: don't show option tabs svn path=/trunk/; revision=26519
* use "Task" instead of "Basic"JP Rosevear2004-06-262-2/+2
| | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/task-editor.c (task_editor_construct): use "Task" instead of "Basic" * gui/dialogs/event-editor.c (event_editor_construct): use "Invitations" instead of "Meeting" svn path=/trunk/; revision=26518
* use "Contacts..."JP Rosevear2004-06-263-45/+139
| | | | | | | | | | | | | | | | | | 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
* init alarm interval to -1 (clear_widgets): give the alarm time option menuJP Rosevear2004-06-251-17/+127
| | | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_init): init alarm interval to -1 (clear_widgets): give the alarm time option menu a sensible default (is_custom_alarm): account for the user defined alarm time if it doesn't match the default set (event_page_fill_widgets): default the option menu to the 15 minute or user define alarm if no alarm is currently set (event_page_fill_component): account for the user defined alarm tme (init_widgets): add in the user defined alarm time if it doesn't match the default set svn path=/trunk/; revision=26515
* 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-253-83/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* sensitize the buttons (init_widgets): listen for selection changes so weJP Rosevear2004-06-251-0/+11
| | | | | | | | | | | 2004-06-24 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-list-dialog.c (selection_changed_cb): sensitize the buttons (init_widgets): listen for selection changes so we can delete alarms svn path=/trunk/; revision=26502
* store all the custom alarms (alarm_custom_clicked_cb): emit changed signalJP Rosevear2004-06-259-1661/+1394
| | | | | | | | | | | | | | | | | | | | 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
* set the window type hint to normal so it can go below the shell windowJP Rosevear2004-06-241-0/+2
| | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c (comp_editor_init): set the window type hint to normal so it can go below the shell window svn path=/trunk/; revision=26480
* fixed gtk-doc comments and made it enable/disable the dialog's OK buttonRodrigo Moya2004-06-241-4/+9
| | | | | | | | | | 2004-06-23 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.c (comp_editor_notify_client_changed): fixed gtk-doc comments and made it enable/disable the dialog's OK button depending on the selected source. svn path=/trunk/; revision=26479
* util function to do the actual removal (remove_attendee_at_row): dittoJP Rosevear2004-06-231-39/+95
| | | | | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/dialogs/meeting-page.c (remove_attendee): util function to do the actual removal (remove_attendee_at_row): ditto based on row number (remove_clicked_cb): make the remove button work (popup_delete_cb): use utility routines to do removal (button_press_event): do the icon properly svn path=/trunk/; revision=26473
* Add these two callbacks so that we can update the selection in theRodney Dawes2004-06-231-4/+36
| | | | | | | | | | | | | | 2004-06-22 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (config_calendars_selection_changed_cb): (config_primary_calendar_selection_changed_cb): Add these two callbacks so that we can update the selection in the calendar when the gconf key changes, like we do for tasks (create_component_view): Register the two callbacks that we created for updating the selection in the view, and their notification IDs svn path=/trunk/; revision=26470
* fix mnemonicsJP Rosevear2004-06-232-4/+6
| | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/recurrence-page.glade: fix mnemonics * gui/dialogs/event-page.glade: ditto svn path=/trunk/; revision=26468
* kill warningsJP Rosevear2004-06-231-10/+0
| | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: kill warnings svn path=/trunk/; revision=26467
* removed alarm-page.*.Rodrigo Moya2004-06-231-3/+0
| | | | | | | | 2004-06-22 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/Makefile.am: removed alarm-page.*. svn path=/trunk/; revision=26465
* HIGify and newer design; alarm page is gone, Cancel/OK buttons for theJP Rosevear2004-06-2325-4042/+4079
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixes #56892Rodney Dawes2004-06-221-3/+15
| | | | | | | | | | | | | | | | | 2004-06-21 Rodney Dawes <dobey@novell.com> Fixes #56892 * gui/dialogs/select-source-dialog.c (row_activated_cb): Add this callback to activate the OK button when we double-click or press the Enter key on a row (select_source_dialog): Change the default size to be reasonable Use ensure_style instead of realize on the dialog Set the default response for the dialog to OK Fix the packing of the group label to not have extraneous padding Connect up the callback for row_activated svn path=/trunk/; revision=26444
* Fixes #58747Rodrigo Moya2004-06-191-0/+4
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #58747 * gui/dialogs/comp-editor.c (prompt_to_save_changes): if the source is read only, don't prompt the user. svn path=/trunk/; revision=26420
* Fixes #60293Rodrigo Moya2004-06-181-0/+14
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #60293 * gui/dialogs/recurrence-page.c (type_toggled_cb): make sure we enable/disable correctly the 'Add' button. svn path=/trunk/; revision=26417
* Fixes #60309Rodrigo Moya2004-06-171-16/+16
| | | | | | | | | | | 2004-06-17 Rodrigo Moya <rodrigo@novell.com> Fixes #60309 * gui/meeting-page.c (sensitize_widgets): moved up in the file, to be declared before any use. svn path=/trunk/; revision=26385
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-151-0/+29
| | | | | | | | | | | | 2004-06-15 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/meeting-page.c (meeting_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_widgets): new function. (meeting_page_fill_widgets): call sensitize_widgets(). svn path=/trunk/; revision=26345
* new function. (e_meeting_time_selector_construct): store some missingRodrigo Moya2004-06-151-0/+24
| | | | | | | | | | | | | | | | | 2004-06-15 Rodrigo Moya <rodrigo@novell.com> * gui/e-meeting-time-sel.[ch] (e_meeting_time_selector_set_read_only): new function. (e_meeting_time_selector_construct): store some missing buttons in the EMeetingTimeSelector structure. * gui/dialogs/schedule-page.c (schedule_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_widgets): new function. (schedule_page_fill_widgets): call sensitize_widgets(). svn path=/trunk/; revision=26344
* Fixes #57579Rodrigo Moya2004-06-091-2/+10
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #57579 * gui/dialogs/select-source-dialog.c (select_source_dialog): start with the OK button disabled. (primary_selection_changed_cb): enable/disable the OK button depending on the selection on the ESourceSelector. svn path=/trunk/; revision=26256
* new function for notifying all pages of the client change.Rodrigo Moya2004-06-095-17/+35
| | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed): new function for notifying all pages of the client change. (page_client_changed_cb): no need for this callback. (comp_editor_append_page): no need to connect to "client_changed" signal on the pages. * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): re-added the call to comp_editor_page_set_e_cal(), the client was not being set anywhere. * gui/dialogs/event-page.c (source_changed_cb): use comp_editor_notify_client_changed() so that all pages get informed of the client change. * gui/dialogs/task-page.c (source_changed_cb): ditto. svn path=/trunk/; revision=26255
* do not set the private client here, it is set in comp-editor.c.Rodrigo Moya2004-06-084-15/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): do not set the private client here, it is set in comp-editor.c. * gui/dialogs/event-page.c (sensitize_widgets): new function. (source_changed_cb): call sensitize_buttons(). * gui/dialogs/recurrence-page.c (sensitize_buttons): new function, to deal correctly with the sensitivity of all widgets in the page. (recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb): call sensitize_buttons() instead of sensitize_recur_widgets(). (recurrence_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. * gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing widgets in the page. (alarm_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. svn path=/trunk/; revision=26254
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-082-1/+16
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (recurrence_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. * gui/dialogs/alarm-page.c (sensitize_buttons): fixed missing stuff in last commit. svn path=/trunk/; revision=26252
* Fixes #59650Rodrigo Moya2004-06-081-4/+22
| | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #59650 * gui/dialogs/alarm-page.c (alarm_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_buttons): added code for dealing with read only calendars and disable/enable buttons approppriately. svn path=/trunk/; revision=26251
* fix the name of "stock_save-as" everywhereDan Winship2004-06-071-1/+1
| | | | svn path=/trunk/; revision=26237
* guard against the text value being NULLJP Rosevear2004-06-042-5/+9
| | | | | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c (task_page_fill_widgets): guard against the text value being NULL * gui/dialogs/event-page.c (event_page_fill_widgets): add guards here as well svn path=/trunk/; revision=26211
* update the internal client when it changes.Rodrigo Moya2004-06-041-0/+1
| | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): update the internal client when it changes. svn path=/trunk/; revision=26174
* Fixes #56875Rodrigo Moya2004-06-042-0/+16
| | | | | | | | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> Fixes #56875 * gui/dialogs/event-editor.c (event_editor_construct): connect to "client_changed" signal on the EventPage. (client_changed_cb): set menu sensibility when the client changes. * gui/dialogs/task-editor.c (task_editor_construct): connect to "client_changed signal on the TaskPage. (client_changed_cb): set menu sensibility when the client changes. svn path=/trunk/; revision=26173
* fixed leak and pass the correct icalcomponent to e_cal_modify_object.Rodrigo Moya2004-06-032-3/+4
| | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/copy-source-dialog.c (copy_source): fixed leak and pass the correct icalcomponent to e_cal_modify_object. svn path=/trunk/; revision=26154
* Fixes #59333Rodrigo Moya2004-06-021-1/+1
| | | | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> Fixes #59333 * gui/dialogs/task-page.c (task_page_fill_widgets): guard against list items being NULL. svn path=/trunk/; revision=26152
* rename can_add to is_mutable, add sensitivity logic for both readonly andLarry Ewing2004-06-022-746/+43
| | | | | | | | | | | | | 2004-06-01 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: rename can_add to is_mutable, add sensitivity logic for both readonly and mutable cases. The esource attributes are a complete mess and need discussion. * gui/dialogs/calendar-setup.glade: remove edit dialogs and name the tables. svn path=/trunk/; revision=26149
* *Bug #51968 "Invite others.." button confusing in Appointment editorPriyanshu Raj2004-06-011-1/+1
| | | | | | | | | 2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net> *Bug #51968 "Invite others.." button confusing in Appointment editor dialog(Fixed)" svn path=/trunk/; revision=26133
* remove now unused functions. (source_group_can_add): fix can add logic,Larry Ewing2004-05-261-207/+25
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: remove now unused functions. (source_group_can_add): fix can add logic, remove more unused functions. svn path=/trunk/; revision=26095
* i2004-05-25 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-261-40/+0
| | | | | | * gui/dialogs/calendar-setup.c: remove now unused functions. svn path=/trunk/; revision=26094
* (key_press_event): look for escape press and destroy dialog.Larry Ewing2004-05-261-0/+18
| | | | svn path=/trunk/; revision=26093
* use the new dialog. (calendar_setup_edit_calendar): use the new dialog.Larry Ewing2004-05-261-50/+105
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_task_list): use the new dialog. (calendar_setup_edit_calendar): use the new dialog. svn path=/trunk/; revision=26091
* Use gtk_window_set_icon_list() here instead of gtk_window_set_icon().Jeffrey Stedfast2004-05-266-30/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/url-editor-dialog.c (init_widgets): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/select-source-dialog.c (select_source_dialog): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/calendar-setup.c (source_to_dialog): Huh?? Why are integer colours in an array of char*? Fixed to be an array of guint32. * gui/dialogs/changed-comp.c (changed_component_dialog): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): Don't bother calling tk_window_set_icon() if we are gonna call gtk_window_set_icon_list a few lines later. (calendar_setup_edit_calendar): Same. instead. (calendar_setup_new_task_list): Same. (calendar_setup_edit_task_list): Same. * gui/dialogs/alarm-options.c (alarm_options_dialog_run): Use gtk_window_set_icon_list() instead of gtk_window_set_icon() so gtk can do the Right Thing (tm). svn path=/trunk/; revision=26086
* Make calendar-errors.xml.h and install the xml file.Jeffrey Stedfast2004-05-264-141/+62
| | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * Makefile.am: Make calendar-errors.xml.h and install the xml file. * calendar-errors.xml: New error definitions file. * gui/gnome-cal.c (backend_died_cb): Use e-error * gui/e-tasks.c (backend_died_cb): Use e-error * gui/dialogs/send-comp.c (send_component_dialog): Use e-error * gui/dialogs/save-comp.c (save_component_dialog): Use e-error * gui/dialogs/delete-comp.c (delete_component_dialog): Use e-error * gui/dialogs/cancel-comp.c (cancel_component_dialog): Use e-error svn path=/trunk/; revision=26084
* Fixes: #57472Trent Lloyd2004-05-2510-0/+47
| | | | | | | | | | | | | | | | | | | | | 2004-05-25 Trent Lloyd <lathiat@bur.st> Fixes: #57472 * gui/dialogs/alarm-options.c: * gui/dialogs/calendar-setup.c: * gui/dialogs/cancel-comp.c: * gui/dialogs/changed-comp.c: * gui/dialogs/delete-comp.c: * gui/dialogs/delete-error.c: * gui/dialogs/save-comp.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/send-comp.c * gui/dialogs/url-editor-dialog.c: - Add include of e-icon-factory.h - Set icon on window to be calendar/tasks icon rather than mail icon svn path=/trunk/; revision=26073
* i2004-05-21 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-221-15/+16
| | | | | | | * gui/dialogs/calendar-setup.c: set the dialog icons appropriately for add task and calendar dialogs. svn path=/trunk/; revision=26038
* i2004-05-21 Larry Ewing <lewing@ximian.com>H P Nadig2004-05-221-50/+6
| | | | | | | | | | | | | | | * gui/dialogs/calendar-setup.c: remove references to the uri buttons. * gui/dialogs/calendar-setup.glade: remove uri buttons, make add task window wider and make the button spacing larger. 2004-05-21 H P Nadig <hpnadig@pacific.net.in> * gui/dialogs/calendar-setup.glade: Adjusted the default size of New Calendar Dialog. Fixes 57469. svn path=/trunk/; revision=26037
* Same.Jeffrey Stedfast2004-05-182-10/+11
| | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/event-editor.c: Same. * gui/dialogs/comp-editor.c: Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25942
* Change dropdown list item 'Display a message'for reminder types to 'Pop upV Ravi Kumar Raju2004-05-171-1/+1
| | | | | | | | | | 2004-05-17 V Ravi Kumar Raju <vravikr@yahoo.co.uk> * gui/e-alarm-list.c (get_alarm_string): * gui/dialogs/alarm-page.glade: Change dropdown list item 'Display a message'for reminder types to 'Pop up an alert' svn path=/trunk/; revision=25926
* Fixes #56885H P Nadig2004-05-171-2/+2
| | | | | | | | | | | 2004-05-17 H P Nadig <hpnadig@pacific.net.in> Fixes #56885 * gui/dialogs/select-source-dialog.c (select_source_dialog): Changed the window size of source dialog and a minor naming issue. svn path=/trunk/; revision=25920
* invoke options dialog even if backend does not support email alarms andNicel KM2004-05-141-1/+2
| | | | | | | | | | 2004-05-14 Nicel KM <mnicel@novell.com> * gui/dialogs/alarm-page.c (button_options_clicked_cb): invoke options dialog even if backend does not support email alarms and get email address only if supported. svn path=/trunk/; revision=25904
* only get the email address for alarms if the backend supports emailRodrigo Moya2004-05-131-2/+3
| | | | | | | | | 2004-05-13 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/alarm-page.c (add_clicked_cb): only get the email address for alarms if the backend supports email alarms. svn path=/trunk/; revision=25901
* Fixes #53137Rodrigo Moya2004-05-121-3/+9
| | | | | | | | | | | 2004-05-11 Rodrigo Moya <rodrigo@ximian.com> Fixes #53137 * gui/dialogs/schedule-page.c (schedule_page_fill_widgets): check dates from the ECalComponent before using them. svn path=/trunk/; revision=25855
* Include gtkhbox.h and gtkvbox.h to fix implicit declaration Cast GTK_ENTRYTrent Lloyd2004-05-102-3/+3
| | | | | | | | | | | | | | | 2004-05-10 Trent Lloyd <lathiat@bur.st> * gui/dialogs/select-source-dialog.c: Include gtkhbox.h and gtkvbox.h to fix implicit declaration * gui/dialogs/meeting-page.c: (get_current_page) Cast GTK_ENTRY from GTK_COMBO to fix compiler warning * gui/dialogs/cal-prefs-dialog.c: Remove lvalue casts, produces compiler warnings and are not necessary svn path=/trunk/; revision=25840
* use random color for calendar default.Larry Ewing2004-05-071-1/+17
| | | | | | | | | 2004-05-06 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): use random color for calendar default. svn path=/trunk/; revision=25818
* (calendar_setup_new_task_list): fix the previous fix to work ifLarry Ewing2004-05-051-8/+5
| | | | | | there are sources. svn path=/trunk/; revision=25799
* make sure that we don't crash if there are no sources.Larry Ewing2004-05-051-5/+20
| | | | | | | | | 2004-05-05 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: make sure that we don't crash if there are no sources. svn path=/trunk/; revision=25798
* (source_group_can_add): helper function to fix groupwise case.Larry Ewing2004-05-051-1/+22
| | | | | | I'm still not happy with this but it will work for now. svn path=/trunk/; revision=25793
* fix logic error.Larry Ewing2004-05-051-3/+3
| | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: fix logic error. svn path=/trunk/; revision=25792
* convert units. (dialog_to_source): convert time units.Larry Ewing2004-05-052-9/+63
| | | | | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): convert units. (dialog_to_source): convert time units. * gui/dialogs/calendar-setup.glade. name the unit option menus. svn path=/trunk/; revision=25791
* Make this dialog be HIG-compliant and accessibleRodney Dawes2004-05-041-10/+40
| | | | | | | | | | | | | | | | 2004-05-03 Rodney Dawes <dobey@ximian.com> * gui/dialogs/select-source-dialog.c (select_source_dialog): Make this dialog be HIG-compliant and accessible 2004-05-03 Edgar Luna Díaz <eald@linuxuanl.org> * gui/dialogs/select-source-dialog.c (select_source_dialog): Set the default window size to 276 x 320 Fixes #57298 svn path=/trunk/; revision=25769
* rename the cancel button.Larry Ewing2004-05-041-1/+2
| | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.glade: rename the cancel button. svn path=/trunk/; revision=25765
* make the entry non-editable. Quick fix for #48132 (could convert toNot Zed2004-04-301-1/+2
| | | | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c (get_widgets): make the entry non-editable. Quick fix for #48132 (could convert to optionmenu but then we need to change again for gnome >?2.6). svn path=/trunk/; revision=25698
* Update the prefs dialog pages for the calendar and tasks components to beRodney Dawes2004-04-301-330/+549
| | | | | | | | | 2004-04-29 Rodney Dawes <dobey@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Update the prefs dialog pages for the calendar and tasks components to be HIG compliant svn path=/trunk/; revision=25695
* dittoJP Rosevear2004-04-302-2/+0
| | | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (send_timezone): ditto * gui/dialogs/task-page.c (task_page_fill_component): kill warning svn path=/trunk/; revision=25693
* hook up the color picker and test buttons in the new task dialog.Larry Ewing2004-04-282-8/+12
| | | | | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: hook up the color picker and test buttons in the new task dialog. * gui/dialogs/calendar-setup.glade: fix visibility and color picker names. svn path=/trunk/; revision=25644
* i2004-04-27 Larry Ewing <lewing@ximian.com>Larry Ewing2004-04-282-20/+76
| | | | | | | | | | | | * gui/dialogs/calendar-setup.c (new_calendar_test_uri): add handler for test button. (calendar_setup_new_calendar): connect test button, fill in color picker member. (source_to_dialog): set the color picker color if the source has one. (dialog_to_source): set the source color. svn path=/trunk/; revision=25643
* ** Fixes #57034.Not Zed2004-04-211-5/+16
| | | | | | | | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> ** Fixes #57034. * gui/dialogs/calendar-setup.c (create_new_source_with_group): NULL out source if we can't open the calendar. (source_group_menu_add_groups): if the group is readonly, then desensitise it. (source_group_menu_add_groups): return the first non-readonly calendar index. (calendar_setup_new_calendar): set the group history to the first non-readonly group. (calendar_setup_new_task_list): same. svn path=/trunk/; revision=25556
* Update the calendar to use the icon theme through the EIconFactory objectMichael Terry2004-04-192-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* don't actually check if start date is after due date, its perfectly validJP Rosevear2004-04-161-16/+0
| | | | | | | | | | 2004-04-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-page.c (task_page_fill_component): don't actually check if start date is after due date, its perfectly valid for that to occur svn path=/trunk/; revision=25488
* Fixes #53903JP Rosevear2004-04-152-4/+19
| | | | | | | | | | | | | | | 2004-04-15 JP Rosevear <jpr@ximian.com> Fixes #53903 * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): show/hide add button properly (change_clicked_cb): ditto * gui/dialogs/comp-editor.c (needs_send_cb): call back when "needs_send" (page_changed_cb): use accessor svn path=/trunk/; revision=25482
* stop listening to changes since we are just going to save and closeJP Rosevear2004-04-151-34/+15
| | | | | | | | | | | | | 2004-04-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (save_comp): stop listening to changes since we are just going to save and close (save_cmd): remove, its ok since we are toasting menus shortly anyhow (obj_modified_cb): no need to look at update flag (obj_removed_cb): ditto svn path=/trunk/; revision=25481
* move the calendar publishing initialization from createControls to main.cGary Ekker2004-04-151-13/+0
| | | | | | | | | | | | | | | | | 2004-04-15 Gary Ekker <gekker@novell.com> * gui/calendar-component.h: move the calendar publishing initialization from createControls to main.c * gui/calendar-component.c: (create_controls): Ditto * gui/main.c: (initialize): Ditto * gui/dialogs/cal-prefs-dialog.c: (url_list_changed): remove a gfree that was freeing a before it should have been. Also removed cruft from a previous attempt to fix the crash. svn path=/trunk/; revision=25480
* added some spacing.Rodrigo Moya2004-04-151-0/+1
| | | | | | | | | 2004-04-15 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/select-source-dialog.c (select_source_dialog): added some spacing. svn path=/trunk/; revision=25477
* fix missing parameters, wow that was a mess.Larry Ewing2004-04-152-1224/+1075
| | | | | | | | | | | | | | | | 2004-04-14 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (selector_tree_drag_motion): fix missing parameters, wow that was a mess. * gui/dialogs/calendar-setup.glade: add the new "new" dialogs, remove the old druids. * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): use the new dialogs, colors are still not functional. (calendar_setup_new_task_list): use the new dialogs, with no colors. svn path=/trunk/; revision=25474
* Fixed to use e-passwords.Gary Ekker2004-04-112-34/+64
| | | | | | | | | | | | | | | | | 2004-04-09 Gary Ekker <gekker@novell.com> * gui/dialogs/url-editor-dialog.c: Fixed to use e-passwords. * gui/dialogs/cal-prefs-dialog.c: Fixed crash and bugs created by changes made for instant apply. * gui/itip-utils.c: Fixed to use e-passwords. * gui/e-pub-utils.c: Fixed to use e-passwords. (just_published): Fixed error in logic. (e_pub_publish): Fixed crash if ESource is NULL. svn path=/trunk/; revision=25410
* EABDestination -> EDestination. (e_delegate_dialog_get_delegate): same.Chris Toshok2004-04-102-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): EABDestination -> EDestination. (e_delegate_dialog_get_delegate): same. (e_delegate_dialog_get_delegate_name): same. * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): EABDestination -> EDestination. (malarm_widgets_to_alarm): same. * gui/e-select-names-editable.c (e_select_names_editable_get_address): EABDestination -> EDestination. (e_select_names_editable_get_name): same. * gui/e-meeting-list-view.c (process_section): EABDestination -> EDestination. (select_names_ok_cb): same. svn path=/trunk/; revision=25391
* Fixed to be instant-apply.Jeffrey Stedfast2004-04-081-358/+302
| | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * gui/dialogs/cal-prefs-dialog.c: Fixed to be instant-apply. svn path=/trunk/; revision=25360
* Fixes #56316Rodrigo Moya2004-04-056-1/+132
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-05 Rodrigo Moya <rodrigo@ximian.com> Fixes #56316 * gui/dialogs/comp-editor-page.[ch]: added "fill_timezones" virtual method to CompEditorPage class. (comp_editor_page_fill_timezones): new function. (comp_editor_page_class_init): initialize new virtual method. * gui/dialogs/event-page.c (event_page_fill_timezones, event_page_class_init): * gui/dialogs/task-page.c (task_page_fill_timezones, task_page_class_init): * gui/dialogs/task-details-page.c (task_details_page_fill_timezones, task_details_page_class_init): implemented new virtual method for pages dealing with timezones. * gui/dialogs/comp-editor.c (save_comp): call the "fill_timezones" method on all pages, and call... (send_timezone): ...this function for each hash table item. svn path=/trunk/; revision=25314
* return correct values (boolean).Rodrigo Moya2004-04-011-2/+2
| | | | | | | | | 2004-04-01 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/recur-comp.c (recur_component_dialog): return correct values (boolean). svn path=/trunk/; revision=25276
* add remote calendar setup page to task list setup assistant and editWilliam Jon McCann2004-03-312-23/+408
| | | | | | | | | | | | 2004-03-30 William Jon McCann <mccann@jhu.edu> * gui/dialogs/calendar-setup.glade: * gui/dialogs/calendar-setup.c (new_task_list_finish) (calendar_setup_new_task_list, calendar_setup_edit_task_list): add remote calendar setup page to task list setup assistant and edit dialog. Remove separators from dialog. svn path=/trunk/; revision=25244
* Use ngettext for handling plural forms throughout (fixes bug 53464).Danilo Šegan2004-03-241-6/+12
| | | | svn path=/trunk/; revision=25168
* Fixes #51948JP Rosevear2004-03-241-19/+24
| | | | | | | | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> Fixes #51948 * gui/dialogs/meeting-page.c (button_press_event): compile this again, determine the row with a different method (button_press_event): pass mpage (meeting_page_construct): listen for button press event * gui/e-meeting-list-view.c: remove commit that wasn't supposed to go in svn path=/trunk/; revision=25167
* remove unused variableJP Rosevear2004-03-241-1/+0
| | | | | | | | | | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source): remove unused variable * gui/e-cal-model.c (e_cal_model_copy_component_data): make the precondition return NULL * gui/control-factory.c (get_prop): make sure this code isn't reached * gui/calendar-component.c (calendar_component_peek_source_selector): cast to kill warning svn path=/trunk/; revision=25159
* get the mail alarm description message from "malarm_description" insteadAlfred Peng2004-03-231-1/+1
| | | | | | | | | | | | | | | | | 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
* create an ESourceSelector instead of a ESourceOptionMenu, to be consistentRodrigo Moya2004-03-191-8/+18
| | | | | | | | | | | | | 2004-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/select-source-dialog.c (select_source_dialog): create an ESourceSelector instead of a ESourceOptionMenu, to be consistent with the other components, and create a scrolled window to hold the source selector. (primary_selection_changed_cb): callback for "primary_selection_changed" signal in the ESourceSelector. svn path=/trunk/; revision=25120
* Capitalized words changed. Solves 48115.hpnadig2004-03-172-3/+3
| | | | | | | | | | | | 2004-03-17 hpnadig <hp@ndeepak.info> * gui/dialogs/task-page.glade: Capitalized words changed. Solves 48115. * gui/dialogs/task-details-page.glade: s/Date Completed/Date completed. * gui/e-calendar-table.etspec: Capitalization checked. Solves 48130. svn path=/trunk/; revision=25099
* new dialog for allowing the user to select a source.Rodrigo Moya2004-03-174-69/+135
| | | | | | | | | | | | | | | 2004-03-16 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/select-source-dialog.[ch]: new dialog for allowing the user to select a source. * gui/dialogs/copy-source-dialog.c (copy_source_dialog): use the select_source_dialog function to ask user for the source to use. (source_selected_cb): removed unneeded function. * gui/dialogs/Makefile.am: added new files. svn path=/trunk/; revision=25093
* use right cast macroJP Rosevear2004-03-161-1/+1
| | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets): use right cast macro svn path=/trunk/; revision=25077
* Rename e-cal-view to e-calendar-view and fix includesJP Rosevear2004-03-161-3/+2
| | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * Rename e-cal-view to e-calendar-view and fix includes * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets): pre-conditions should return FALS * gui/e-cal-model.c (copy_ecdv): return the new struct * gui/Makefile.am: build renamed files svn path=/trunk/; revision=25075
* Fixes #48106Rodrigo Moya2004-03-091-1/+2
| | | | | | | | | | 2004-03-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #48106 * gui/dialogs/alarm-page.glade: s/Send an Email/Send an email. svn path=/trunk/; revision=24994
* Fixes #53496Rodrigo Moya2004-03-051-0/+2
| | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #53496 * gui/dialogs/cal-prefs-dialog.glade: set the same spacing for all tabs in the notebook. svn path=/trunk/; revision=24966
* always add the page.Rodrigo Moya2004-03-042-17/+11
| | | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_append_page): always add the page. * gui/dialogs/event-page.c (event_page_fill_widgets): continue filling up all other fields even if there are missing ones, and return the validation result. svn path=/trunk/; revision=24965
* Fixes #53137Rodrigo Moya2004-03-0410-21/+48
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #53137 * gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual method return a gboolean. (comp_editor_page_fill_widgets): return value from virtual method implementation. * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets): * gui/dialogs/schedule-page.c (schedule_page_fill_widgets): * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): * gui/dialogs/task-page.c (task_page_fill_widgets): * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value, as expected from the virtual method signature. * gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the page if there was an error calling the fill_widgets method. svn path=/trunk/; revision=24960
* Instead of saying "Select destination source", we now say "... calendar"Hans Petter Jansson2004-02-131-1/+7
| | | | | | | | | | 2004-02-12 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): Instead of saying "Select destination source", we now say "... calendar" or "... task list", based on object type. svn path=/trunk/; revision=24730
* See #51567 use "gtk_dialog_add_buttons" to change the response_id ofBruce Tao2004-02-121-2/+3
| | | | | | | | | | | 2004-02-13 Bruce Tao <bruce.tao@sun.com> See #51567 * gui/dialogs/delete-comp.c (delete_component_dialog): use "gtk_dialog_add_buttons" to change the response_id of button "YES" and "NO". svn path=/trunk/; revision=24719
* make OK button defaultRadek Doulik2004-02-061-1/+33
| | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * gui/dialogs/calendar-setup.glade: make OK button default svn path=/trunk/; revision=24645
* Convert the calendar_config_get_timezone andJP Rosevear2004-02-066-26/+10
| | | | | | | | | | | 2004-02-05 JP Rosevear <jpr@ximian.com> * Convert the calendar_config_get_timezone and icaltimezone_get_builtin_timezone pair to just calendar_config_get_icaltimezone, this also guarantees we will have some timezone (even if its just UTC) svn path=/trunk/; revision=24642
* make failure not so draconian - make the color blackJP Rosevear2004-02-061-5/+1
| | | | | | | | | | | 2004-02-05 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (set_color_picker): make failure not so draconian - make the color black Fixes #53547 svn path=/trunk/; revision=24635
* change the access key for adding a reminder from Alt+a to Alt+d to avoidHarry Lu2004-02-041-2/+56
| | | | | | | * gui/dialogs/alarm-page.glade: change the access key for adding a reminder from Alt+a to Alt+d to avoid conflict with the menuitem. svn path=/trunk/; revision=24604
* Fix location of e-activity-handler.h #includeDan Winship2004-02-041-0/+1
| | | | | | | | | | | | * gui/tasks-component.h: Fix location of e-activity-handler.h #include * gui/Makefile.am (INCLUDES): add widgets/misc for e-activity-handler.h and e-task-bar.h * gui/dialogs/Makefile.am (INCLUDES): Likewise svn path=/trunk/; revision=24589
* CV Fixes #51871Gary Ekker2004-01-301-0/+4
| | | | | | | | | | | CV Fixes #51871 * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): add activate handler for name_entry (calendar_setup_edit_task_list): ditto : ---------------------------------------------------------------------- svn path=/trunk/; revision=24540
* Fixes #53276Rodrigo Moya2004-01-271-18/+40
| | | | | | | | | | | | | | 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53276 * gui/dialogs/copy-source-dialog.c (show_error): new function to create an error message dialog. (copy_source): check if the destination calendar is read only, and if so, don't try to copy components over. Fixed leaks. Call show_error to display meaningful error messages. svn path=/trunk/; revision=24456
* Fixes #53338Rodrigo Moya2004-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53338 * gui/dialogs/calendar-setup.c (dialog_to_source): set the relative URI on the source for remote sources. 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #52312 * gui/dialogs/calendar-setup.c (create_new_source_with_group): * gui/migration.c (migrate_ical_folder, create_calendar_sources, create_task_sources): set the relative URI for local calendars and task lists to be the source UID. svn path=/trunk/; revision=24446
* added 'ECalSourceType' argument to be able to create the ECal correctly.Rodrigo Moya2004-01-221-16/+18
| | | | | | | | | | | | | 2004-01-21 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/calendar-setup.c (create_new_source_with_group): added 'ECalSourceType' argument to be able to create the ECal correctly. Added a call to e_cal_open with 'only_if_exists' set to FALSE so that the backend creates the calendar. (new_calendar_finish, new_task_list_finish): pass new argument to create_new_source_with_group. svn path=/trunk/; revision=24352
* just use the convienence function for the default gconf client (fixesJP Rosevear2004-01-211-2/+1
| | | | | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just use the convienence function for the default gconf client (fixes leak) (calendar_setup_new_task_list): ditto (new_task_list_finish): we don't support task uri's svn path=/trunk/; revision=24346
* just use the convienence function for the default gconf client (fixesJP Rosevear2004-01-211-8/+2
| | | | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just use the convienence function for the default gconf client (fixes leak) (calendar_setup_new_task_list): ditto svn path=/trunk/; revision=24345
* only block widgets that existJP Rosevear2004-01-211-8/+14
| | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): only block widgets that exist svn path=/trunk/; revision=24344
* convert to GObjectJP Rosevear2004-01-171-0/+7
| | | | | | | | | | | | | | | | | | | | | 2004-01-16 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.h: convert to GObject * gui/e-comp-editor-registry.c (registry_data_free): routine to free the registry data (dispose): destroy the registry data (finalize): finalize it (class_init): setup above (init): create full hash table (e_comp_editor_registry_add): weak ref the editor and strdup the hash table key (editor_destroy_cb): we get the registry data now, just remove it * gui/dialogs/comp-editor.c (close_dialog): disconnect the signal handlers, its a bit of a hack but it is a simple fix svn path=/trunk/; revision=24277
* Fixes #52920Rodrigo Moya2004-01-161-2/+2
| | | | | | | | 2004-01-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #52920 svn path=/trunk/; revision=24268
* reverted my changes made on Jan 8th.Rodrigo Moya2004-01-161-19/+2
| | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c: reverted my changes made on Jan 8th. svn path=/trunk/; revision=24256
* add e-pub-utils.[ch] for Free/Busy publishingGary Ekker2004-01-137-41/+1696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-12 Gary Ekker <gekker@novell.com> * gui/Makefile.am: add e-pub-utils.[ch] for Free/Busy publishing * gui/apps_evolution_calendar.schemas.in.in: add schema for /apps/evo/calendar/free_busy key * gui/calendar-commands.c (publish_freebusy_cmd): change to publish component rather than attach as email * gui/calendar-config-keys.h: add free_busy/urls key definition * gui/calendar-config.[ch] (calendar_config_get_free_busy): new method for retrieving FB gconf key (calendar_config_set_free_busy): new method for saving FB gconf key * gui/e-cal-view.c (on_publish): change to publish component rather than attach as email * gui/itip-utils.[ch] (itip_publish_begin): new method to process e_cal_components and aggregate the data if we are publishing for multiple calendars (itip_publish_comp): new method to publish the ical data to an http server via libsoup (comp_fb_normalize): new static method to ensure rfc 2446 compliant data before publishing icalcomponent_get_uid (fb_sort): new static method to sort FB properties in ascending order * gui/dialogs/Makefile.am: add url-editor-dialog.[ch] and url-editor-dialog.glade for configure FB publishing * gui/dialogs/cal-prefs-dialog.[ch] (cal_prefs_dialog_url_add_clicked): (cal_prefs_dialog_url_edit_clicked):new method for events in FB tab of cal-prefs-dialog (cal_prefs_dialog_url_remove_clicked): ditto (cal_prefs_dialog_url_enable_clicked): ditto (cal_prefs_dialog_url_url_list_change): ditto (cal_prefs_dialog_url_url_list_enable_toggled): ditto (cal_prefs_dialog_url_url_list_double_click): ditto (show_fb_config): new method for updating dialog with FB specific data in gconf (update_fb_config): new method for updating gconf with FB specific data from dialogs (setup_changes): detect changes in url_list gtk_tree_view (get_widgets): include new dialog widgets for FB config (init_widgets): connect signals for new FB config widgets * gui/dialogs/cal-prefs-dialog.glade: add new widgets for FB config * gui/dialogs/url-editor-dialog.[ch]: add files for FB url-editor dialog * gui/dialogs/url-editor-dialog.glade: ditto * gui/e-pub-utils.[ch]: add files with FB publishing utilities * gui/calendar-component.c (init_calendar_publishing): sets up listeners to publish calendar, g_idle_add, and on gconf change (init_calendar_publishing_cb): ditto (conf_changed_callback): ditto (impl_createControls): ditto svn path=/trunk/; revision=24190
* Revert William McCann's patch of 2003-12-19 until we can get consistentJP Rosevear2004-01-1319-3570/+2487
| | | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * Revert William McCann's patch of 2003-12-19 until we can get consistent across all of evolution svn path=/trunk/; revision=24177
* Only update dialog widgets if they exist.Hans Petter Jansson2004-01-121-2/+4
| | | | | | | | | 2004-01-12 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): Only update dialog widgets if they exist. svn path=/trunk/; revision=24169
* calendar_config -> calendar_setup. (edit_calendar_cb): Ditto.Hans Petter Jansson2004-01-106-218/+696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (new_calendar_cb): calendar_config -> calendar_setup. (edit_calendar_cb): Ditto. (impl_requestCreateItem): Ditto. * gui/tasks-component.c (new_task_list_cb): Use calendar_setup. (edit_task_list_cb): Implement properties callback. (rename_task_list_cb): Remove. (fill_popup_menu_cb): Remove "rename" and add "properties". (impl_requestCreateItem): Use calendar_setup. * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): calendar_config -> calendar_setup. Remove new-task-list.[ch]. (glade_DATA): calendar_config -> calendar_setup. Remove new-task-list.glade. * gui/dialogs/new-task-list.[ch]: Remove. * gui/dialogs/calendar-config.[ch]: Rename to calendar-setup.[ch]. * gui/dialogs/calendar-config.glade: Rename to calendar-setup.glade. svn path=/trunk/; revision=24139
* Call calendar_config_new_calendar(). (rename_calendar_cb): Remove.Hans Petter Jansson2004-01-105-277/+1545
| | | | | | | | | | | | | | | | | | | | | 2003-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (new_calendar_cb): Call calendar_config_new_calendar(). (rename_calendar_cb): Remove. (edit_calendar_cb): Implement properties callback. (fill_popup_menu_cb): Add "Properties..." item and remove "Rename". * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): Add calendar-config.[ch] and remove new-calendar.[ch]. (glade_DATA): Add calendar-config.glade and remove new-calendar.glade. * gui/dialogs/calendar-config.[ch]: Implement calendar creation and editing. * gui/dialogs/calendar-config.glade: Add GUI for above. svn path=/trunk/; revision=24135
* moved the line that sets priv->updating to FALSE up some lines, to avoidRodrigo Moya2004-01-081-4/+21
| | | | | | | | | | | | 2004-01-08 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (save_comp): moved the line that sets priv->updating to FALSE up some lines, to avoid getting callbacks with an incorrect value on it. (obj_modified_cb): check the UIDs of the objects we get passed to see if the one being edited is amongst them. svn path=/trunk/; revision=24108
* we don't put any signal handlers on the client or source client now, butJP Rosevear2004-01-071-60/+90
| | | | | | | | | | | | | | | | | 2004-01-06 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_finalize): we don't put any signal handlers on the client or source client now, but we do on the view (real_set_e_cal): no signal handlers on the client (obj_modified_cb): we are guaranteed this is a signal for our component (obj_removed_cb): ditto (listen_for_changes): listen for changes on the object (save_comp): use above since the source_client changed (real_edit_comp): use above since the comp changed svn path=/trunk/; revision=24067
* fix the signal nameJP Rosevear2003-12-252-23/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-24 JP Rosevear <jpr@ximian.com> * gui/e-select-names-renderer.c (esnr_start_editing): fix the signal name * gui/dialogs/meeting-page.glade: add Add Attendee button * gui/dialogs/meeting-page.c (get_widgets): extract add button (add_clicked_cb): edit the attendee after we add it (init_widgets): listen for add clicked (meeting_page_construct): the add button is in the glade file now * gui/e-select-names-editable.c (esne_start_editing): activate the control (e_select_names_editable_get_address): handle null dest (e_select_names_editable_get_name): ditto * gui/e-meeting-store.h: add proto * gui/e-meeting-store.c (e_meeting_store_find_attendee_path): create the path to a given attendee * gui/e-meeting-list-view.h: add proto * gui/e-meeting-list-view.c (e_meeting_list_view_edit): start editing the address of a particular svn path=/trunk/; revision=24009
* new files for managing interactive authentication with backends.Rodrigo Moya2003-12-223-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-224-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove separators from dialogs. Use frame style recommended by the HIG.William Jon McCann2003-12-2019-2487/+3570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-19 William Jon McCann <mccann@jhu.edu> * gui/dialogs/task-page.c (source_changed_cb): * gui/dialogs/send-comp.c (send_component_dialog): * gui/dialogs/save-comp.c (save_component_dialog): * gui/dialogs/recur-comp.c (recur_component_dialog): * gui/dialogs/event-page.c (source_changed_cb): * gui/dialogs/delete-error.c (delete_error_dialog): * gui/dialogs/delete-comp.c (delete_component_dialog): * gui/dialogs/changed-comp.c (changed_component_dialog): * gui/dialogs/cancel-comp.c (cancel_component_dialog): * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/event-page.glade: * gui/dialogs/new-calendar.glade: * gui/dialogs/new-task-list.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/task-details-page.glade: * gui/dialogs/task-page.glade: * gui/tasks-control.c (confirm_purge): * gui/tasks-component.c (delete_task_list_cb) (rename_task_list_cb, setup_create_ecal): * gui/goto-dialog.glade: * gui/e-cal-model-tasks.c (show_geo_warning): * gui/comp-editor-factory.c (cal_opened_cb): * gui/calendar-component.c (delete_calendar_cb) (rename_calendar_cb, setup_create_ecal, delete_calendar_cb): * gui/calendar-commands.c (purge_cmd): Remove separators from dialogs. Use frame style recommended by the HIG. svn path=/trunk/; revision=23989
* Add the concept of a source client, where the object lives currently. TheHans Petter Jansson2003-12-187-5/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-17 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/comp-editor.c: Add the concept of a source client, where the object lives currently. The plain client is where it will be stored. (comp_editor_finalize): If we have a source client, disconnect from and unref it. (save_comp): Check if the object is being moved, and if so, remove it from the source client, and make the target client the new source. (comp_editor_append_page): Connect to client_changed signal. (real_set_e_cal): Change an old gtk_signal_disconnect_by_data() to the GLib equivalent, and don't cast ECal to GtkObject. If the source client is not set, make it equivalent to the target client. (page_client_changed_cb): Implement. Handles a client change. * gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): Add a new signal, "client_changed", that notifies that the ECal client was changed from one of the editor pages. (comp_editor_page_set_e_cal): Fix two bugs in this function; if the same client is set twice, its ref count could drop to 0. Additionally, it was unreffing the new client instead of the old one. (comp_editor_page_notify_client_changed): Implement. * gui/dialogs/event-page.c (event_page_fill_widgets): Fill in the source menu. (get_widgets): Get the source menu. (source_changed_cb): Implement. Try to open a client for the new source, and if successful, notify of the change. Show a dialog on failure, and revert to last selected source. (init_widgets): Connect to source menu. (event_page_create_source_option_menu): Implement Glade helper. * gui/dialogs/task-page.c (task_page_fill_widgets): Fill in the source menu. (get_widgets): Get the source menu. (source_changed_cb): Implement, similar to the event page, but for tasks. (init_widgets): Connect to source menu. (task_page_construct): Fix a message booboo. (task_page_create_source_option_menu): Implement Glade helper. * gui/dialogs/event-page.glade: Add source menu widget. * gui/dialogs/task-page.glade: Add source menu widget. svn path=/trunk/; revision=23974
* Fixes #46351Carl Sun2003-12-081-0/+2
| | | | | | | | | | | | 2003-12-08 Carl Sun <carl.sun@sun.com> Fixes #46351 * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate): new function. override the member function of GtkWidget to handle nemonic_activate signal of custom class ETimezoneEntry. svn path=/trunk/; revision=23673
* *** empty log message ***Rodrigo Moya2003-12-061-3/+3
| | | | svn path=/trunk/; revision=23650
* commit the patch of Sun YongAntonio Xu2003-12-052-2/+2
| | | | | | | | | | | | | | | 2003-12-05 Antonio Xu <antonio.xu@Sun.com> commit the patch of Sun Yong Fix for #51337 * gui/dialogs/alarm-page.c Change raw string "Action/Trigger" to _("Action/Trigger") * gui/dialogs/recurrence-page.c Change raw string "Date/Time" to _("Date/Time") svn path=/trunk/; revision=23646
* added a label to the dialog to make it look less ugly.Rodrigo Moya2003-12-021-0/+1
| | | | | | | | | 2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added a label to the dialog to make it look less ugly. svn path=/trunk/; revision=23578
* added a label to the dialog to make it look less ugly.Rodrigo Moya2003-12-021-1/+6
| | | | | | | | | 2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added a label to the dialog to make it look less ugly. svn path=/trunk/; revision=23577
* converted to use an ESourceOptionMenu instead of the ESourceSelector.Rodrigo Moya2003-12-021-14/+16
| | | | | | | | | | | | | 2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c: converted to use an ESourceOptionMenu instead of the ESourceSelector. (primary_selection_changed_cb): removed. (copy_source_dialog): create the ESourceOptionMenu here. (source_selected_cb): callback for the "source_selected" signal on the ESourceOptionMenu widget. svn path=/trunk/; revision=23576
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-022-2/+2
| | | | | | | | | | 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
* e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto.Hans Petter Jansson2003-11-271-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use the correct icalcomponent when calling e_cal_create_object.Rodrigo Moya2003-11-241-1/+1
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source): use the correct icalcomponent when calling e_cal_create_object. svn path=/trunk/; revision=23482
* new files containing the implementation of the 'New Task List' dialog.Rodrigo Moya2003-11-245-3/+370
| | | | | | | | | | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/new-task-list.glade: * gui/dialogs/new-task-list.[ch]: new files containing the implementation of the 'New Task List' dialog. * gui/dialogs/Makefile.am: added new files. * gui/dialogs/new-calendar.c (new_calendar_dialog): use G_STRLOC for g_warning messages. * gui/tasks-component.c (new_task_list_cb): implemented. svn path=/trunk/; revision=23478
* actually add the source selector to the dialog's box.Rodrigo Moya2003-11-241-0/+3
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): actually add the source selector to the dialog's box. svn path=/trunk/; revision=23475
* fixed compilation errors.Rodrigo Moya2003-11-243-4/+8
| | | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-dialog-source.[ch]: fixed compilation errors. * gui/dialogs/Makefile.am: added missing header directories. svn path=/trunk/; revision=23472
* fixed copyright notices.Rodrigo Moya2003-11-245-6/+192
| | | | | | | | | | | | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/new-calendar.[ch]: fixed copyright notices. * gui/dialogs/copy-source-dialog.[ch]: implementation of the Copy command for sources. * gui/dialogs/Makefile.am: added new files. * gui/calendar-component.c (fill_popup_menu_cb, copy_calendar_cb): added Copy command. * gui/tasks-component.c (fill_popup_menu_cb, copy_task_list_cb): added Copy command. svn path=/trunk/; revision=23471
* Remove a bunch of gal includes that are no longer neededJP Rosevear2003-11-2017-26/+2
| | | | | | | | 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-1813-48/+48
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * Cleanup some ref/unref calls svn path=/trunk/; revision=23412
* Make ending count of occurrences of Recurrence tab numeric only.Harry Lu2003-11-171-0/+1
| | | | | | | | | 2003-11-17 Harry Lu <harry.lu@sun.com> * gui/dialogs/recurrence-page.c (make_ending_count_special): Make ending count of occurrences of Recurrence tab numeric only. svn path=/trunk/; revision=23379
* include e-source* from e-d-sJP Rosevear2003-11-151-1/+1
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/*.[hc]: include e-source* from e-d-s svn path=/trunk/; revision=23364
* remove includes for toplevel libical dirJP Rosevear2003-11-081-1/+0
| | | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: remove includes for toplevel libical dir * gui/dialogs/Makefile.am: ditto * importers/Makefile.am: ditto svn path=/trunk/; revision=23225
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-0733-646/+644
| | | | svn path=/trunk/; revision=23206
* Append "_2". Likewise. Likewise. Likewise. LikewiseEttore Perazzoli2003-11-042-2/+2
| | | | | | | | | | * gui/e-meeting-model.c (SELECT_NAMES_OAFID): Append "_2". * gui/e-select-names-editable.c (SELECT_NAMES_OAFIID): Likewise. * gui/e-meeting-list-view.c (SELECT_NAMES_OAFID): Likewise. * gui/dialogs/alarm-options.c (SELECT_NAMES_OAFID): Likewise. * gui/dialogs/e-delegate-dialog.c (SELECT_NAMES_OAFID): Likewise svn path=/trunk/; revision=23176
* Add the webcal source group.Hans Petter Jansson2003-11-012-44/+210
| | | | | | | | | | | | | | | | | | | | 2003-10-31 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (calendar_component_init): Add the webcal source group. * gui/dialogs/new-calendar.c (print_uri_noproto): Implement. (group_is_remote): Implement. (create_new_source_with_group): Implement webcal case. (new_calendar_dialog): Get optional location from dialog. * gui/dialogs/new-calendar.glade: Add location entry. * pcs/Makefile.am: Build http backend. * pcs/cal-backend-http.[ch]: Add skeleton based on cal-backend-file. svn path=/trunk/; revision=23153
* Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE andDan Winship2003-11-013-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-util.h: Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE and CAL_STATIC_CAPABILITY_NO_THISANDPRIOR * gui/dialogs/recur-comp.c (recur_component_dialog): Add a CalClient argument. Use cal_client_get_static_capability to decide whether or not to offer THISANDFUTURE and THISANDPRIOR options * gui/dialogs/comp-editor.c (prompt_to_save_changes, save_cmd, save_close_cmd): Pass a CalClient to recur_component_dialog. * gui/e-day-view.c (e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editing_stopped, e_day_view_on_top_canvas_drag_data_received, e_day_view_on_main_canvas_drag_data_received): Likewise * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise * gui/calendar-component.c (impl_createControls): set an exception if we fail, so evo won't crash. svn path=/trunk/; revision=23152
* build new filesJP Rosevear2003-10-301-3/+15
| | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: build new files * gui/dialogs/comp-editor-util.c (date_edit_destroy_cb): unref the config manager (comp_editor_new_date_edit): set up a config manager for the date editor * gui/e-date-edit-config.[hc]: config manager for e-date-edit svn path=/trunk/; revision=23122
* no need to update config settings everywhere explicitlyJP Rosevear2003-10-291-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (update_config): no need to update config settings everywhere explicitly * gui/tasks-component.c (update_uris_for_selection): cast the widget * gui/gnome-cal.h: remove proto * gui/gnome-cal.c (setup_widgets): don't update config settings explicitly (gnome_calendar_update_config_settings): kill * gui/e-week-view.c: remove null chars * gui/e-tasks.h: remove proto * gui/e-tasks.c (set_timezone): set the timezone on the client (timezone_changed_cb): changed timezone callback (setup_config): setup config stuff (e_tasks_init): setup config and widgets here (e_tasks_new): construct is dead, no need to track all widgets (cal_opened_cb): set the timezone upon opening (e_tasks_update_all_config_settings): kill * gui/control-factory.c (control_factory_new_control): create the calendar ourselves * gui/calendar-config.c (on_timezone_set): don't update the settings everywhere here, we have config managers now * gui/calendar-component.c (impl_createControls): create the calendar ourselves * gui/calendar-commands.h: remove protos * gui/calendar-commands.c: remove dead functions svn path=/trunk/; revision=23117
* unref config manager (init_widgets): create config manager for theJP Rosevear2003-10-291-2/+9
| | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref config manager (init_widgets): create config manager for the e-calendar * gui/e-tasks.c (setup_widgets): create config manager for the table view (e_tasks_destroy): unref config manager (e_tasks_open): return FALSE not NULL (e_tasks_update_all_config_settings): don't configure the calendar table here, we have a manager * gui/calendar-config.c: remove dead config functions (handled by config managers now) svn path=/trunk/; revision=23115
* Make the scrolled window have a GTK_SHADOW_IN shadow. Likewise.Ettore Perazzoli2003-10-231-0/+1
| | | | | | | | * gui/calendar-component.c (impl_createControls): Make the scrolled window have a GTK_SHADOW_IN shadow. * gui/dialogs/meeting-page.c (meeting_page_construct): Likewise. svn path=/trunk/; revision=22994
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-2217-103/+490
| | | | svn path=/trunk/; revision=22966
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-222-17/+20
| | | | svn path=/trunk/; revision=22965
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-103-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Make repeat-quantity and repeat-value of alarm option dialog numeric only.Harry Lu2003-10-082-3/+3
| | | | | | | | | | | 2003-10-08 Harry Lu <harry.lu@sun.com> * gui/dialogs/alarm-options.glade: Make repeat-quantity and repeat-value of alarm option dialog numeric only. * gui/dialogs/task-details-page.glade: Make percent-complete of task details dialog numeric only. svn path=/trunk/; revision=22818
* new VOID:STRING,STRING,STRING build the new view/store/renderer/editableMike Kestner2003-10-018-243/+115
| | | | | | | | | | | | | | | | | | | | | 2003-09-30 Mike Kestner <mkestner@ximian.com> * cal-util/cal-util-marshal.list : new VOID:STRING,STRING,STRING * gui/Makefile.am : build the new view/store/renderer/editable * gui/e-select-names-renderer.* : new completion cell renderer * gui/e-select-names-editable.* : new completion cell editable * gui/e-meeting-model.* : killed. code reused in list-view/store * gui/e-meeting-store.* : port of EMeetingModel to GtkTreeModel * gui/e-meeting-list-view.* : GtkTreeView subclass for attendee lists * gui/e-meeting-time-sel.c : Use the new store/view * gui/e-meeting-time-sel-item.c : Use the new store/view * gui/dialogs/Makefile.am : don't install the etspec anymore. * gui/dialogs/event-editor.c : Use the new store/view. * gui/dialogs/meeting-page.c : Use the new store/view. * gui/dialogs/shedule-page.c : Use the new store/view. * gui/dialogs/task-editor.c : Use the new store/view. svn path=/trunk/; revision=22774
* Fixes #29032.Hans Petter Jansson2003-08-281-1/+4
| | | | | | | | | | | | 2003-08-27 Hans Petter Jansson <hpj@ximian.com> Fixes #29032. * gui/dialogs/task-details-page.c (status_changed): When task status is set to "In Progress", set percent complete to 50% only if it was previously set to 0% or 100%. svn path=/trunk/; revision=22395
* ** Fixes #47464.Harry Lu2003-08-121-1/+1
| | | | | | | | | | | 2003-08-12 Harry Lu <harry.lu@sun.com> ** Fixes #47464. * gui/dialogs/meeting-page.c: (get_widgets): The Organizer's value need not match one of the values in the list. svn path=/trunk/; revision=22183
* Merged ECalendarTable changes from new-calendar-branchRodrigo Moya2003-08-081-1/+2
| | | | svn path=/trunk/; revision=22143
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-081-2/+14
| | | | svn path=/trunk/; revision=22129
* changed one of the "Con_fidential" to "Co_nfidential" since we alreadyJack Jia2003-08-061-1/+1
| | | | | | | | | 2003-08-05 Jack Jia <jack.jia@sun.com> * gui/dialogs/event-page.glade: changed one of the "Con_fidential" to "Co_nfidential" since we already have "File" using the same 'F' key. svn path=/trunk/; revision=22097
* Fixes #46769Harry Lu2003-07-291-26/+45
| | | | | | | | | | | | 2003-07-29 Harry Lu <harry.lu@sun.com> Fixes #46769 * gui/dialogs/task-page.c: (task_page_fill_component): Popup a error dialog if due date time is before start datetime when saving a task. svn path=/trunk/; revision=22005
* Fix an unused variableDan Winship2003-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 #41676Rodrigo Moya2003-07-151-3/+58
| | | | | | | | | | | | | | | | 2003-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #41676 * gui/dialogs/alarm-options.c (palarm_options_changed_cb, repeat_spin_button_changed_cb, repeat_unit_changed_cb): new callbacks for managing modifications in the 'Run a program' alarm case. (repeat_toggle_toggled_cb): if the alarm being edited has a procedure action, call palarm_options_changed_cb. (init_widgets): connect new callbacks. (alarm_to_dialog): disable 'OK' button if a procedure alarm. svn path=/trunk/; revision=21810
* Changed the "URL:" label to "_Web Page:". Added a widget name to the URLFederico Mena Quintero2003-07-142-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-11 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/task-details-page.glade: Changed the "URL:" label to "_Web Page:". Added a widget name to the URL label so that we can hook up its mnemonic by hand. Added underlines to the "% Complete:" and "Date Completed:" labels. Added a widget name to the date completed label, also so that we can hook up its mnemonic. * gui/dialogs/task-details-page.c (get_widgets): Get the url_label and date_completed_label as well. (init_widgets): Set the mnemonic widgets of the url_label and the date_completed_label by hand, as their respective widgets are not created by libglade. * gui/e-calendar-table.c (tasks_popup_menu): Added an item for "Open Web Page". (e_calendar_table_show_popup_menu): Disable the aforementioned menu item if the selected task doesn't have the URL property set. (open_url_cb): New callback. * gui/e-tasks.c (write_html): Make the HTML say "Web Page:" instead of "URL:". svn path=/trunk/; revision=21805
* Fixes #45910Rodrigo Moya2003-07-071-0/+17
| | | | | | | | | | | | | | | | | 2003-07-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #45910 * gui/dialogs/task-editor.c (task_editor_class_init): set up the handler for the set_cal_client virtual method. (task_editor_set_cal_client): added missing virtual method. 2003-07-07 Jack Jia <jack.jia@sun.com> * cal-client/cal-client.c (cal_client_get_static_capability): add g_return_val_if_fail to check the input param. svn path=/trunk/; revision=21743
* Don't leak exceptions (load_static_capabilities): free the capabilityDan Winship2003-07-022-4/+6
| | | | | | | | | | | | | | * cal-client/cal-client.c (real_open_calendar): Don't leak exceptions (load_static_capabilities): free the capability string * gui/dialogs/task-page.c (task_page_fill_component): Free the description text if it *was* set, rather than if it wasn't. * gui/dialogs/task-editor.c (task_editor_finalize): Free the priv struct. svn path=/trunk/; revision=21722
* added a GtkWindow argument for callers to specify the parent window.Rodrigo Moya2003-06-3012-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-27 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.[ch] (send_component_dialog): * gui/dialogs/cancel-comp.[ch] (cancel_component_dialog): added a GtkWindow argument for callers to specify the parent window. * gui/dialogs/changed-comp.[ch] (changed_component_dialog): added 'parent' argument and use GtkMessageDialog instead of gnome_question_dialog. * gui/e-calendar-table.c (e_calendar_table_delete_selected): * gui/e-day-view.c (e_day_view_delete_event_internal, e_day_view_on_cut, e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editting_stopped, e_day_view_on_top_canvas_drag_data_received, selection_received): * gui/e-week-view.c (e_week_view_delete_event_internal, e_week_view_on_cut, e_week_view_on_editing_stopped, selection_received): * gui/dialogs/event-editor.c (cancel_meeting_cmd): * gui/dialogs/task-editor.c (cancel_task_cmd): * gui/dialogs/comp-editor.c (delete_cmd, obj_removed_cb): pass the parent window to the *_component_dialog() functions. * gui/dialogs/delete-comp.c (delete_component_dialog): use the 'widget' argument to get the parent window for the dialog. svn path=/trunk/; revision=21684
* Fixes #44723Rodrigo Moya2003-06-271-0/+42
| | | | | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44723 * gui/dialogs/alarm-page.c: added a new field to the private structure to keep track of the old summary. (alarm_page_init): initialize new field. (alarm_page_finalize): free new field. (alarm_page_set_summary): iterate over the list of alarms to change their description if it was the same as the event's summary. svn path=/trunk/; revision=21561
* new functions. (page_summary_changed_cb): change the window title when theRodrigo Moya2003-06-241-0/+50
| | | | | | | | | | | 2003-06-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_string, set_title_from_string): new functions. (page_summary_changed_cb): change the window title when the object's summary changes. svn path=/trunk/; revision=21523
* removed unused variable.Rodrigo Moya2003-06-201-1/+1
| | | | | | | | | 2003-06-16 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): removed unused variable. svn path=/trunk/; revision=21494
* unref not ref the clientJP Rosevear2003-05-231-1/+1
| | | | | | | | | 2003-05-22 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref not ref the client svn path=/trunk/; revision=21323
* Fixes #41234Rodrigo Moya2003-05-221-7/+8
| | | | | | | | | | 2003-05-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #41234 * gui/dialogs/e-delegate-dialog.glade: changed button ordering. svn path=/trunk/; revision=21307
* Change this dialog from using a gnome_message_box (which has beenAnna Marie Dirks2003-05-211-17/+20
| | | | | | | | | | | 2003-05-20 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): Change this dialog from using a gnome_message_box (which has been deprecated), to using a gtk_message_dialog. This HIG-ifies this dialog, and fixes bug #42046. svn path=/trunk/; revision=21285
* Added HIG-blessed padding to (some of) the widgets in the dialog.Anna Marie Dirks2003-05-202-4/+4
| | | | | | | | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Added HIG-blessed padding to (some of) the widgets in the dialog. * gui/dialogs/meeting-page.glade: Added HIG-blessed border width and spacing to the meeting page of the event editor. * gui/dialogs/schedule-page.glade: Added HIG-blessed border width to the schedule page on the event editor. svn path=/trunk/; revision=21256
* the title is already in UTF-8JP Rosevear2003-05-181-4/+1
| | | | | | | | | 2003-05-16 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): the title is already in UTF-8 svn path=/trunk/; revision=21235
* unref the client and the ui componentJP Rosevear2003-05-161-2/+8
| | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_finalize): unref the client and the ui component svn path=/trunk/; revision=21211
* fix button conversion problemJP Rosevear2003-05-082-17/+2
| | | | | | | | | | | | 2003-05-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-page.glade: fix button conversion problem * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): only free the percent if its non-null svn path=/trunk/; revision=21128
* unref the model again (task_editor_edit_comp): don't allow editing if theJP Rosevear2003-05-024-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): unref the model again (task_editor_edit_comp): don't allow editing if the assignee has delegated * gui/dialogs/meeting-page.c (popup_delete_cb): set the new non-delegator to be editable * gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow editing if the attendee has delegated (event_editor_finalize): unref the model again * gui/e-meeting-model.c: remove e-table-without related functions (finalize): don't create without table (e_meeting_model_etable_from_model): build the table with this as model (e_meeting_model_etable_model_to_view_row): directly use the model_to_view call (e_meeting_model_etable_view_to_model_row): as above (attendee_changed_cb): make sure pre change is alwasy called * gui/e-meeting-model.h: use DECLS, remove protos for long dead functions, don't include config.h svn path=/trunk/; revision=21045
* dittoJP Rosevear2003-04-302-2/+10
| | | | | | | | | | | | | | 2003-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): ditto * gui/dialogs/event-editor.c (event_editor_finalize): don't unref the model here * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null up the display_top and display_main for re-entrancy purposes svn path=/trunk/; revision=21018
* Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221.Anna Marie Dirks2003-04-291-3/+4
| | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/alarm-options.glade: Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221. svn path=/trunk/; revision=20991
* Added appropriate spacing and padding to the calendar/tasks page of theAnna Marie Dirks2003-04-291-6/+7
| | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing and padding to the calendar/tasks page of the settings dialog. Fixes bug #41129 svn path=/trunk/; revision=20990
* Finishes up fixing #41256 by adding appropriate spacing/padding to theAnna Marie Dirks2003-04-292-6/+7
| | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/task-page.glade: Finishes up fixing #41256 by adding appropriate spacing/padding to the main task page. * gui/dialogs/task-details-page.glade: Added appropriate spacing and padding to the task-details page. Partially fixes #41256. svn path=/trunk/; revision=20989
* Added padding/spacing to this page as specified by the HIG. PartiallyAnna Marie Dirks2003-04-293-17/+18
| | | | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/recurrence-page.glade: Added padding/spacing to this page as specified by the HIG. Partially fixes #41215. * gui/dialogs/alarm-page.glade: Added padding/spacing/stock buttons to the alarm page. Partially fixes #41215. * gui/dialogs/event-page.glade: Added padding/spacing to the event-page (partially fixes #41215) svn path=/trunk/; revision=20988
* Fixes #37552JP Rosevear2003-04-253-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> Fixes #37552 * gui/dialogs/Makefile.am: build delete-error.[hc] * gui/e-tasks.c: wrap calls to cal_client_remove_object with delete_error_dialog * gui/e-itip-control.c: ditto * gui/e-calendar-table.c: ditto * gui/e-week-view.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/delete-error.[hc]: gemerate an error message based on result svn path=/trunk/; revision=20961
* Fixes part of #41148, #41216 and #41235Rodrigo Moya2003-04-235-11/+11
| | | | | | | | | | | | | | | | | | | | | | 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
* [ fixes #21499 ]Rodney Dawes2003-04-192-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* Fixes #41459JP Rosevear2003-04-171-1/+4
| | | | | | | | | | 2003-04-17 JP Rosevear <jpr@ximian.com> Fixes #41459 * gui/dialogs/meeting-page.c: comment out delegation stuff svn path=/trunk/; revision=20880
* Fixes #41129, #41215, #41221, #41256Rodrigo Moya2003-04-1710-2544/+2775
| | | | | | | | | | | | | | | | | | | | | 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
* If we already have an evolution_dir, free the old one before setting itHans Petter Jansson2003-04-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (owner_set_cb): If we already have an evolution_dir, free the old one before setting it anew. * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the metrics. * gui/e-day-view.c (e_day_view_style_set): Unref the metrics. (e_day_view_recalc_cell_sizes): We don't need font metrics here. (e_day_view_reshape_long_event): Ditto. * gui/e-meeting-model.c (init): Don't dup the string passed to e_table_without_hide(). * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): Unref the metrics. (e_meeting_time_selector_recalc_date_form): Doesn't need metrics. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Unref the metrics. * gui/e-week-view.c (e_week_view_style_set): Unref metrics. (e_week_view_recalc_cell_sizes): Ditto. (e_week_view_reshape_event_span): Move Pango stuff to where it can't be leaked due to an early return. Unref metrics. * gui/weekday-picker.c (weekday_picker_style_set): Unref metrics. * gui/dialogs/meeting-page.c (meeting_page_finalize): Free default address. svn path=/trunk/; revision=20857
* Oops. Add this back. Turns out it's still needed by other parts.Dan Winship2003-04-122-0/+15
| | | | | | | * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Oops. Add this back. Turns out it's still needed by other parts. svn path=/trunk/; revision=20821
* Remove the "Contacts" button and entry from here too. Supposed to haveDan Winship2003-04-116-424/+0
| | | | | | | | | | | | | | | | * gui/dialogs/task-page.glade: Remove the "Contacts" button and entry from here too. Supposed to have been part of #35926 * gui/dialogs/task-page.c: Remove all code pertaining to the contacts button * gui/dialogs/comp-editor-util.c: * gui/dialogs/comp-editor-util.h: Likewise * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove select-names stuff, which is no longe rused. svn path=/trunk/; revision=20816
* added missing capabilities.Rodrigo Moya2003-04-114-9/+15
| | | | | | | | | | | | | | | | | | | 2003-04-11 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added missing capabilities. * cal-client/cal-client.c (cal_client_get_one_alarm_only, cal_client_get_organizer_must_attend, cal_client_get_save_schedules): * gui/itip-utils.c (itip_organizer_is_user): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/dialogs/task-editor.c (set_menu_sens): * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros defined in cal-util.h for static capabilities. svn path=/trunk/; revision=20815
* unref the main widget since we ref it when we un-parent itJP Rosevear2003-04-117-1/+22
| | | | | | | | | | | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the main widget since we ref it when we un-parent it * gui/dialogs/alarm-page.c (alarm_page_finalize): ditto * gui/dialogs/task-page.c (task_page_finalize): ditto * gui/dialogs/event-page.c (event_page_finalize): ditto * gui/dialogs/task-details-page.c (task_details_page_finalize): ditto * gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto * gui/dialogs/meeting-page.c (meeting_page_finalize): ditto svn path=/trunk/; revision=20811
* Remove button_ok, button_cancel, canceled members from struct Dialog.Ettore Perazzoli2003-04-082-479/+430
| | | | | | | | | | | | | | | | | | | | | * gui/dialogs/alarm-options.c: Remove button_ok, button_cancel, canceled members from struct Dialog. (get_widgets): Do not initialize. (close_dialog): Destroy the toplevel. (toplevel_delete_event_cb): Removed. (button_cancel_clicked_cb): Removed. (button_ok_clicked_cb): Removed. (close_dialog): Removed. (alarm_options_dialog_run): Use gtk_dialog_run. (init_widgets): Do not init ->canceled, do not connect OK/Cancel buttons. (alarm_to_dialog): No need to make the file entry modal from here anymore. * gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set the "modal" property to True for the file entry. svn path=/trunk/; revision=20749
* Fixes #35926.Hans Petter Jansson2003-04-082-130/+0
| | | | | | | | | | | | | | | | | | | | 2003-04-07 Hans Petter Jansson <hpj@ximian.com> Fixes #35926. * gui/dialogs/event-page.glade: Remove contacts entry/chooser. * gui/dialogs/event-page.c: Remove contacts entry/chooser. (event_page_init): Remove references. (event_page_finalize): Ditto. (event_page_fill_widgets): Ditto. (event_page_fill_component): Ditto. (get_widgets): Ditto. (init_widgets): Ditto. (contacts_clicked_cb): Remove wholesale. (contacts_changed_cb): Ditto. svn path=/trunk/; revision=20731
* create button properlyJP Rosevear2003-04-081-32/+0
| | | | | | | | | | | | | | | 2003-04-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.glade: create button properly * gui/itip-utils.c (comp_server_send): for errors other than busy, we want to email the results * pcs/cal-backend.c (cal_backend_ref_categories): insert the new category in the category list as well (idle_notify_categories_changed): reset idle id svn path=/trunk/; revision=20726
* (alarm_to_dialog): Make the fileEttore Perazzoli2003-04-051-0/+6
| | | | | | entry modal. [#40792] svn path=/trunk/; revision=20678
* description is a text buffer (alarm_to_malarm_widgets): dittoJP Rosevear2003-04-051-6/+25
| | | | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-options.c (alarm_to_dalarm_widgets): description is a text buffer (alarm_to_malarm_widgets): ditto (dalarm_widgets_to_alarm): ditto (malarm_widgets_to_alarm): ditto (alarm_to_repeat_widgets): check repeat status correctly svn path=/trunk/; revision=20677
* Fixes #39954Hans Petter Jansson2003-03-291-4/+4
| | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> Fixes #39954 * gui/dialogs/recurrence-page.c (make_recurrence_special): Destroy would-be children of the container before the container. svn path=/trunk/; revision=20559
* init new members (get_current_account): get a matching account for theJP Rosevear2003-03-281-56/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_init): init new members (get_current_account): get a matching account for the currently selected user in the combo (meeting_page_finalize): unref the meeting attendee if there is one (meeting_page_fill_widgets): don't set the combo list here (clear_widgets): set the default organizer here and if we don't have an organizer, add the default organizer as an attendee (meeting_page_fill_component): use get_current_account (org_changed_cb): if this is a new meeting and the organizer changes, change the attendee (change_clicked_cb): no need to set the default here (init_widgets): reflect changed callback name (meeting_page_construct): set the combo strings here (popup_delete_cb): remove the organizer attendee if the user explicitly deletes it * gui/e-meeting-model.c (attendee_changed_cb): set row properly * gui/itip-utils.c (comp_to_list): skip the user themselves if cancelling or requesting svn path=/trunk/; revision=20557
* add a parameter(TC_CORBA_string) to the bonobo_widget_get_property.Jack Jia2003-03-261-1/+1
| | | | | | | | | | 2003-03-26 Jack Jia <jack.jia@sun.com> * calendar/gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): add a parameter(TC_CORBA_string) to the bonobo_widget_get_property. svn path=/trunk/; revision=20515
* Update for e_notice moveDan Winship2003-03-252-10/+10
| | | | | | | | | | | | | | | | | | * gui/itip-utils.c: Update for e_notice move * gui/tasks-control.c (confirm_expunge): Move the code that used to be e_gnome_dialog_set_parent here, since it was marked deprecated and this was the only place using it. * gui/dialogs/comp-editor.c: Update for e_notice move (page_changed_cb, page_summary_changed_cb, page_dates_changed_cb): Pass a parent_window to e_notice. * gui/dialogs/meeting-page.c: Update for e_notice move. (meeting_page_fill_component, meeting_page_fill_component, popup_delegate_cb): Pass a parent_window to e_notice svn path=/trunk/; revision=20503
* use a GtkMessageDialog and deal correctly with the dialog's reponses.Rodrigo Moya2003-03-211-4/+9
| | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/cancel-comp.c (cancel_component_dialog): use a GtkMessageDialog and deal correctly with the dialog's reponses. svn path=/trunk/; revision=20434
* use GtkMessageDialog instead of gnome_question_dialog, and deal correctlyRodrigo Moya2003-03-191-4/+9
| | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog instead of gnome_question_dialog, and deal correctly with the dialog's response. svn path=/trunk/; revision=20342
* Fixes #34095Hans Petter Jansson2003-03-183-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #34095 * gui/e-meeting-model.c (append_row): Don't leak meeting attendees; unref the attendee after it's assigned to model. * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual array of deleted attendees. * gui/dialogs/event-editor.c (event_editor_destroy): Free the private structure. * gui/itip-utils.c (comp_description): Rework free/busy information composer so we can free date/time information after use. Then free it. (itip_send_comp): Free the allocated CORBA buffer for attachment data. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component): Free the destination contacts string once we're done with it. * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible. * gui/e-day-view.c (invisible_destroyed): Ditto. * gui/e-week-view.c (invisible_destroyed): Ditto. svn path=/trunk/; revision=20329
* Fixes #39757Hans Petter Jansson2003-03-181-6/+10
| | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39757 * gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code reverted to thinking it was dealing with a GtkCList, when in reality it's a GtkTreeView. Fix that, so the buttons are sensitized correctly. svn path=/trunk/; revision=20328
* don't use GNOME_STOCK_* defines, but GTK_STOCK_*.Rodrigo Moya2003-03-131-3/+3
| | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): don't use GNOME_STOCK_* defines, but GTK_STOCK_*. svn path=/trunk/; revision=20262
* corrected button ordering and changed the return type to be aRodrigo Moya2003-03-133-10/+17
| | | | | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.[ch] (save_component_dialog): corrected button ordering and changed the return type to be a GtkResponseType. * gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to changes in save_component_dialog. svn path=/trunk/; revision=20261
* g_objectify ref/unrefJP Rosevear2003-03-051-1/+1
| | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): g_objectify ref/unref * gui/itip-bonobo-control.c (set_data_idle_cb): as above (pstream_load): ditto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above svn path=/trunk/; revision=20172
* don't let the user change to an email organizer if the back end is not anJP Rosevear2003-03-051-0/+2
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't let the user change to an email organizer if the back end is not an email addres svn path=/trunk/; revision=20162
* call cal_client_get_cal_address instead of cal_client_get_email_addressJP Rosevear2003-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_organizer_is_user): call cal_client_get_cal_address instead of cal_client_get_email_address * gui/dialogs/meeting-page.c (meeting_page_construct): ditto * pcs/cal.c (impl_Cal_get_cal_address): implement updated method name (cal_class_init): set method implementation * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address virtual function (cal_backend_get_cal_address): call proper function * pcs/cal-backend.h: update proto, rename get_email_address virtual function to get_cal_address virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): match get_cal_address call (cal_backend_file_get_cal_address): rename from cal_backend_file_get_email_address * cal-client/cal-client.c: rename email_address private member to cal_address (cal_client_init): init cal_address (cal_client_destroy): free cal_address and properly free alarm_email_address (cal_client_get_cal_address): rename from cal_client_get_email_address and call proper corba function svn path=/trunk/; revision=20151
* fix copyrightJP Rosevear2003-03-052-7/+7
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recur-comp.h: fix copyright * gui/dialogs/recur-comp.c: fix copyright (recur_component_dialog): say "recurring journal entry" instead of just "recurring journal" svn path=/trunk/; revision=20147
* Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)JP Rosevear2003-03-052-2/+13
| | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>) * gui/dialogs/schedule-page.c (update_time): handle no end date if the start is date only * gui/dialogs/event-page.c (update_time): ditto svn path=/trunk/; revision=20146
* Shush.JP Rosevear2003-03-051-1/+3
| | | | svn path=/trunk/; revision=20145
* Commit missed files.JP Rosevear2003-03-052-0/+126
| | | | svn path=/trunk/; revision=20144
* If only the pipe wouldn't break.JP Rosevear2003-03-0520-2101/+2464
| | | | svn path=/trunk/; revision=20143
* gui/dialogs/alarm-page.c gui/dialogs/event-page.cHans Petter Jansson2003-03-047-7/+7
| | | | | | | | | | | | | | | | 2003-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/alarm-page.c * gui/dialogs/event-page.c * gui/dialogs/meeting-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() -> gtk_container_remove(). The former caused crashes in the addressbook's name-selector. svn path=/trunk/; revision=20130
* build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H),Dan Winship2003-03-012-12/+6
| | | | | | | | | | | | | | * gui/dialogs/Makefile.am: build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H), etc): Only generate Evolution-Addressbook-SelectNames.h, not the corresponding .c files, or we'll get duplicate symbol errors trying to link this into libevolution_calendar.la * gui/Makefile.am (libevolution_calendar_la_LIBADD): Update for that (and eliminate libtool portability warnings) svn path=/trunk/; revision=20114
* Show start/end-of-day widgets.Hans Petter Jansson2003-02-261-0/+2
| | | | | | | | | 2003-02-25 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/cal-prefs-dialog.c (get_widgets): Show start/end-of-day widgets. svn path=/trunk/; revision=20062
* Don't warn if calendar isn't loaded... Doesn't seem to hurt, but thisHans Petter Jansson2003-02-243-3/+7
| | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-client.c (cal_client_is_read_only): Don't warn if calendar isn't loaded... Doesn't seem to hurt, but this should probably be investigated further. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): If we have no contacts, don't bother trying to set them in the widget. Used to pass a NULL list, which would lead to much anxiety in callees. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): If we have no potential organizers, emit a sensible warning. * gui/dialogs/task-page.c (init_widgets): Don't try to connect to the "changed" signal of the GtkTextView -- we listen to the GtkTextBuffer now. svn path=/trunk/; revision=20019
* gconf settings upgradesMichael Zucci2003-02-243-38/+51
| | | | svn path=/trunk/; revision=20018
* Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actuallyHans Petter Jansson2003-02-242-0/+16
| | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximan.com> * gui/gnome-cal.c (backend_died_cb): Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actually try to set the quantum properties. The quantum code should probably go away entirely now that the panes update during resize, but let's keep it around for a bit more. * gui/dialogs/event-editor.c (event_editor_construct): Ref & sink the pages. * gui/dialogs/task-editor.c (task_editor_construct): Ref & sink the pages. svn path=/trunk/; revision=20011
* Show the custom widgets, since libglade appears to not want to do that.Hans Petter Jansson2003-02-232-10/+32
| | | | | | | | | | | | | | | | 2003-02-22 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/task-details-page.c (get_widgets): Show the custom widgets, since libglade appears to not want to do that. * gui/dialogs/task-page.c (clear_widgets): Make the description field use a GtkTextView. (task_page_fill_widgets): Ditto. (task_page_fill_component): Ditto. (init_widgets): Ditto. (get_widgets): Show the custom widgets, since libglade doesn't do it. svn path=/trunk/; revision=20003
* revert previous changeDan Winship2003-02-201-2/+2
| | | | svn path=/trunk/; revision=19968
* Remove libversit. We haven't depended on that in forever.Dan Winship2003-02-201-2/+2
| | | | | | | | | | | | | | | | | * 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