aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
Commit message (Collapse)AuthorAgeFilesLines
* Revert my patches from July 5th and 6th.Rodrigo Moya2004-07-101-5/+6
| | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Revert my patches from July 5th and 6th. * gui/gnome-cal.c (gnome_calendar_init): call setup_config/widgets in the previous order. (setup_widgets): set the timezone on the views when creating them. (set_timezone): no need to set the timezone on the views here. (client_cal_opened_cb): removed call to set_timezone(). svn path=/trunk/; revision=26613
* Add an argument for the event_num so we can get the event object Draw theRodney Dawes2004-07-102-8/+45
| | | | | | | | | | | | | | | 2004-07-09 Rodney Dawes <dobey@novell.com> * gui/e-day-view-top-item.c (e_day_view_top_item_draw_triangle): Add an argument for the event_num so we can get the event object Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points * gui/e-week-view-event-item.c (e_week_view_event_item_draw_triangle): Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points svn path=/trunk/; revision=26609
* Fixes #60289Rodrigo Moya2004-07-102-3/+27
| | | | | | | | | | | | | | | | 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
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-091-1/+1
| | | | | | | * gui/Makefile.am: tarball should ship .schemas.in.in files, not generated files. svn path=/trunk/; revision=26605
* setup the widgets before the configuration.Rodrigo Moya2004-07-061-1/+1
| | | | | | | | | 2004-07-06 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (gnome_calendar_init): setup the widgets before the configuration. svn path=/trunk/; revision=26587
* Fixes #60645JP Rosevear2004-07-061-0/+4
| | | | | | | | | | | 2004-07-06 JP Rosevear <jpr@novell.com> Fixes #60645 * gui/e-calendar-view.c (e_calendar_view_new_appointment_full): guess when an item should be all day based on the selection time svn path=/trunk/; revision=26586
* don't set the timezone on the views here. (set_timezone): do it here.Rodrigo Moya2004-07-061-6/+4
| | | | | | | | | | | 2004-07-05 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (setup_widgets): don't set the timezone on the views here. (set_timezone): do it here. (client_cal_opened_cb): call set_timezone() here. svn path=/trunk/; revision=26585
* update the internal current_view_type field and focus the newly selectedRodrigo Moya2004-07-051-0/+2
| | | | | | | | | 2004-07-02 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (set_view): update the internal current_view_type field and focus the newly selected view. svn path=/trunk/; revision=26582
* 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
* store and lookup clients based on ESource uid instead of uri inSivaiah Nallagatla2004-06-291-14/+14
| | | | | | | | | | 2004-06-29 Sivaiah Nallagatla <snallagatla@novell.com> * gui/e-tasks.c (e_tasks_add_todo_source) (e_tasks_remove_todo_source) : store and lookup clients based on ESource uid instead of uri in priv->clients svn path=/trunk/; revision=26545
* same.Not Zed2004-06-282-4/+4
| | | | | | | | | | | 2004-06-28 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (impl__get_userCreatableItems): same. * gui/calendar-component.c (impl__get_userCreatableItems): fix up shortcuts. #56746. svn path=/trunk/; revision=26540
* 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
* Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-252-0/+2
| | | | | | | | | | | | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (create_component_view): * gui/tasks-component.c (create_component_view): Add a call to e_source_selector_set_select_new here so that we can select new sources when we create them 2004-06-24 Rodney Dawes <dobey@novell.com> * e-source-selector.[ch]: Add new "select_new" property to private structure of the ESourceSelector (rebuild_cb): Add code to select the new source, and cause the selection_changed signal to get emitted, if we select new sources (init): Don't select new sources by default (e_source_selector_set_select_new): Add function to set whether or not we want to select new sources when we add them svn path=/trunk/; revision=26498
* 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
* Revert previous change to add the callbacks for notification of calendarRodney Dawes2004-06-241-22/+2
| | | | | | | | | | | 2004-06-23 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c: Revert previous change to add the callbacks for notification of calendar selection changes (create_new_view): Update the comment for watching notification on the tasks selection to state it is for the mini tasks view svn path=/trunk/; revision=26478
* Fixes #57862JP Rosevear2004-06-231-6/+6
| | | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> Fixes #57862 * gui/gnome-cal.c (connect_day_view_focus): connect after the focus events happen so the day view knows what is selected svn path=/trunk/; revision=26477
* tidy up to work again (ok_clicked_cb): use above when replyingJP Rosevear2004-06-231-42/+8
| | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (update_attendee_status): tidy up to work again (ok_clicked_cb): use above when replying svn path=/trunk/; revision=26474
* 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-232-4/+57
| | | | | | | | | | | | | | 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
* clean up mnemonic handling and put the proper icon in the contacts buttonJP Rosevear2004-06-231-22/+15
| | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): clean up mnemonic handling and put the proper icon in the contacts button svn path=/trunk/; revision=26469
* 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
* kill warningJP Rosevear2004-06-231-1/+0
| | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (create_new_event): kill warning svn path=/trunk/; revision=26466
* 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
* rename widgets to be consistent with those else whereJP Rosevear2004-06-231-21/+4
| | | | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): rename widgets to be consistent with those else where (e_meeting_time_selector_set_read_only): cast properly (e_meeting_time_selector_on_invite_others_button_expose): remove, the widget sensitization is taken care of elsewhere svn path=/trunk/; revision=26462
* Fixes #59824Larry Ewing2004-06-231-2/+2
| | | | | | | | | | | | 2004-06-22 Larry Ewing <lewing@ximian.com> Fixes #59824 * gui/e-week-view.h: increase some of the passing so that the text does not appear to run together. Ideally this would be based on the font size but this will work for now. svn path=/trunk/; revision=26452
* 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 #56323Rodrigo Moya2004-06-182-22/+0
| | | | | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #56323 * gui/calendar-component.c (create_new_event): removed read-only check, just call the editor with the currently selected client and let it do the job. * gui/tasks-component.c (create_new_todo): ditto. svn path=/trunk/; revision=26419
* 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
* check for host being non-NULL in soup uri. host can be null for uri's ofSivaiah Nallagatla2004-06-171-1/+1
| | | | | | | | | | 2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/itip-utils.c (itip_publish_comp) : check for host being non-NULL in soup uri. host can be null for uri's of the form file:/foo or http:/foo etc svn path=/trunk/; revision=26390
* 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
* use e-util's HTML conversion function, instead of camel's. (write_html):Rodrigo Moya2004-06-171-4/+4
| | | | | | | | | | 2004-06-16 Rodrigo Moya <rodrigo@novell.com> * gui/e-itip-control.c: use e-util's HTML conversion function, instead of camel's. (write_html): use e_text_to_html_full(). svn path=/trunk/; revision=26368
* Fixes #56197JP Rosevear2004-06-162-0/+2
| | | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #56197 * gui/e-cal-list-view.etspec: add back categories * gui/e-calendar-table.etspec: ditto svn path=/trunk/; revision=26355
* Fixes #59401JP Rosevear2004-06-161-1/+4
| | | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #59401 * gui/e-week-view.c (e_week_view_on_text_item_event): if we are editing the event, don't ignore the right click, stop editing the event and continue on svn path=/trunk/; revision=26353
* Fixes #57393JP Rosevear2004-06-161-0/+1
| | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #57393 * gui/e-week-view.c (e_week_view_set_compress_weekend): redraw the titles as well since the spacing is different svn path=/trunk/; revision=26351
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-152-8/+37
| | | | | | | | | | | | 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-153-24/+72
| | | | | | | | | | | | | | | | | 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
* removed g_assert call, since we shouldn't crash when getting wrongRodrigo Moya2004-06-111-1/+2
| | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_modified_cb): removed g_assert call, since we shouldn't crash when getting wrong notifications from a backend. svn path=/trunk/; revision=26312
* only do the range selected hack in one caseJP Rosevear2004-06-111-3/+3
| | | | | | | | | | 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): only do the range selected hack in one case svn path=/trunk/; revision=26290
* set 6 weeks shown (display_view): dittoJP Rosevear2004-06-111-2/+2
| | | | | | | | | 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (setup_widgets): set 6 weeks shown (display_view): ditto svn path=/trunk/; revision=26287
* Fixes #58748Rodrigo Moya2004-06-101-0/+5
| | | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> Fixes #58748 * gui/gnome-cal.c (setup_widgets): set the timezone on all views when creating them. svn path=/trunk/; revision=26283
* don't set the "bg_color_column" property on the ECellToggle class.Rodrigo Moya2004-06-101-3/+0
| | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-table.c (e_calendar_table_init): don't set the "bg_color_column" property on the ECellToggle class. svn path=/trunk/; revision=26282
* Fixes #58799Rodrigo Moya2004-06-101-2/+16
| | | | | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> Fixes #58799 * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): Use the timezone for getting the RECUR-ID from the instance start date if available. Also, use dates only as the recurrence ID, and do nothing if not a recurrent appointment. svn path=/trunk/; revision=26281
* calculate the work week, week, and month views more exactlyJP Rosevear2004-06-103-166/+187
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-09 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (get_times_for_views): calculate the work week, week, and month views more exactly (update_adjustment): update the view based on week view scrolling (setup_widgets): listen for the scroll bar moving on the week views (gnome_calendar_update_date_navigator): adjust for compressed weekends in the month view (gnome_calendar_on_date_navigator_selection_changed): ditto * gui/e-week-view.h: add protos * gui/e-week-view.c (time_range_changed_cb): calculate the base_date and first_day_shown more simply, allows multi-week selection to work better; update the base date when told to do so (e_week_view_init): init update_base_value var (e_week_view_get_update_base_date): accessor (e_week_view_set_update_base_date): ditto svn path=/trunk/; revision=26276
* Fixes #57578Rodrigo Moya2004-06-091-22/+55
| | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #57578 * gui/e-calendar-view.c (on_move_to, on_copy_to): simplified to just call transfer_selected_items() with the approppriate arguments. (transfer_selected_items): new function to transfer all selected items to another calendar. (transfer_item_to): added missing implementation. svn path=/trunk/; revision=26257
* 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
* cast week view correctlyJP Rosevear2004-06-081-1/+1
| | | | | | | | | 2004-06-08 JP Rosevear <jpr@novell.com> * gui/e-week-view.c (e_week_view_do_key_press): cast week view correctly svn path=/trunk/; revision=26253
* 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
* open task lists asynchronously. (client_cal_opened_cb): callback from theRodrigo Moya2004-06-072-45/+70
| | | | | | | | | | | | | | | | | | | 2004-06-07 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (e_tasks_add_todo_source): open task lists asynchronously. (client_cal_opened_cb): callback from the client when opened. * gui/gnome-cal.c (client_cal_opened_cb): disconnect from all signals of the client when opening it fails. Clean up the status messages correctly, based on source type. (open_ecal): for tasks, use e_calendar_table_set_status_message not e_calendar_view_set_status_message. (gnome_calendar_remove_source_by_uid): call update_query only when removing calendars, not tasks lists. (update_query): set meaningful status messages. svn path=/trunk/; revision=26236
* Bug #36247 Changes to improve the performance of _(str) function call onVardhman Jain2004-06-071-5/+18
| | | | | | | | | | | 2004-06-06 Vardhman Jain <vardhman@students.iiit.net> * Bug #36247 * gui/e-itip-control.c (write_html, set_date_label): Changes to improve the performance of _(str) function call on strings str of the type <tar>str</tag> to avoid translation of tag. svn path=/trunk/; revision=26235
* define G_MAXINT32 if it isn't alreadyJP Rosevear2004-06-051-0/+5
| | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c: define G_MAXINT32 if it isn't already svn path=/trunk/; revision=26216
* make purging actually workJP Rosevear2004-06-041-10/+6
| | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_purge): make purging actually work svn path=/trunk/; revision=26213
* 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
* Merge from release branch.JP Rosevear2004-06-041-5/+12
| | | | svn path=/trunk/; revision=26178
* don't use vsprintf with NULL strings, crashes on FreeBSD.Rodrigo Moya2004-06-041-6/+9
| | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (set_status_message): don't use vsprintf with NULL strings, crashes on FreeBSD. svn path=/trunk/; revision=26176
* 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
* remove absolute_uri from ESource's. (migrate_tasks): same.Chris Toshok2004-06-031-0/+39
| | | | | | | | | | 2004-06-02 Chris Toshok <toshok@ximian.com> * gui/migration.c (migrate_calendars): remove absolute_uri from ESource's. (migrate_tasks): same. svn path=/trunk/; revision=26159
* removed pre-completion code, not needed anymore. (emlv_finalize): no needRodrigo Moya2004-06-031-24/+1
| | | | | | | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> * gui/e-meeting-list-view.c (start_addressbook_server): removed pre-completion code, not needed anymore. (emlv_finalize): no need to unref the book anymore. (emlv_init): don't call start_addressbook_server. * gui/e-meeting-store.c (start_addressbook_server): removed. (ems_finalize): no need to unref the book anymore. svn path=/trunk/; revision=26156
* fixed leak and pass the correct icalcomponent to e_cal_modify_object.Rodrigo Moya2004-06-033-6/+6
| | | | | | | | | 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
* add a drag delete handler. (table_drag_data_get): support text/vcardLarry Ewing2004-06-022-0/+357
| | | | | | | | | | | | 2004-06-02 Larry Ewing <lewing@ximian.com> * gui/e-tasks.c (table_drag_data_delete): add a drag delete handler. (table_drag_data_get): support text/vcard drags. (setup_widgets): setup the etable as a drag source. * gui/tasks-component.c: add source selector Drag & Drop handlers. svn path=/trunk/; revision=26151
* 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
* Fixes #59369Rodrigo Moya2004-06-011-0/+3
| | | | | | | | | | | 2004-06-01 Rodrigo Moya <rodrigo@novell.com> Fixes #59369 * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings to libical functions. svn path=/trunk/; revision=26142
* *Bug #51968 "Invite others.." button confusing in Appointment editorPriyanshu Raj2004-06-013-5/+5
| | | | | | | | | 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
* Menu items in Scheduling tab should have sentence capitalization (Fixed)Priyanshu Raj2004-05-301-7/+7
| | | | | | | | | 2004-05-29 Priyanshu Raj <priyanshu@students.iiit.net> * Bug #48134: Menu items in Scheduling tab should have sentence capitalization (Fixed) svn path=/trunk/; revision=26131
* a more straightforward way to calculate the offset of a day within theKidd Wang2004-05-281-9/+9
| | | | | | | | * gui/e-week-view.c: (e_week_view_event_move), (e_week_view_get_day_offset_of_event): a more straightforward way to calculate the offset of a day within the week. svn path=/trunk/; revision=26118
* Fix for bug #57818.Jeffrey Stedfast2004-05-274-16/+43
| | | | | | | | | | | | | | | | | | | | | | 2004-05-26 Jeffrey Stedfast <fejj@novell.com> Fix for bug #57818. * gui/e-tasks.c (setup_widgets): Same. * gui/gnome-cal.c (setup_widgets): Updated to pass a set of bitflags to cal_search_bar_new(). * gui/cal-search-bar.c (cal_search_bar_new): Now takes a bit flag argument specifying which search options to present. (cal_search_bar_construct): Same as above. Construct the search menu to use based on the bit flags. * gui/apps_evolution_calendar.schemas.in.in: Changed the default "Tasks due today" colour to be a light-blue (one of the default colour values in the colour picker dialog). Fixes bug #53412. svn path=/trunk/; revision=26112
* Changed the default "Tasks due today" colour to be a light-blue (one ofJeffrey Stedfast2004-05-271-2/+2
| | | | | | | | | | 2004-05-26 Jeffrey Stedfast <fejj@novell.com> * gui/apps_evolution_calendar.schemas.in.in: Changed the default "Tasks due today" colour to be a light-blue (one of the default colour values in the colour picker dialog). Fixes bug #53412. svn path=/trunk/; revision=26105
* Fixes #57759Rodrigo Moya2004-05-271-0/+16
| | | | | | | | | | | 2004-05-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #57759 * gui/gnome-cal.c (gnome_calendar_remove_source_by_uid): remove all queries we've got for the removed source. svn path=/trunk/; revision=26104
* In week view all-day events should keep all-dayness when moved around.Kidd Wang2004-05-261-9/+17
| | | | | | | | * gui/e-week-view.c: (e_week_view_event_move), (e_week_view_change_event_time): In week view all-day events should keep all-dayness when moved around. svn path=/trunk/; revision=26097
* 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-266-162/+73
| | | | | | | | | | | | | | | | | | | | | | | 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
* proper look for figuring out if the object is on the serverJP Rosevear2004-05-211-9/+3
| | | | | | | | | | 2004-05-20 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (find_server): proper look for figuring out if the object is on the server svn path=/trunk/; revision=26022
* pass the client properlyJP Rosevear2004-05-211-1/+1
| | | | | | | | | 2004-05-20 JP Rosevear <jpr@novell.com> * gui/tag-calendar.c (tag_calendar_by_comp): pass the client properly svn path=/trunk/; revision=26017
* use the new e_book_new_* and e_book_open apis.Chris Toshok2004-05-202-4/+5
| | | | | | | | | | | | 2004-05-19 Chris Toshok <toshok@ximian.com> * gui/e-meeting-store.c (start_addressbook_server): use the new e_book_new_* and e_book_open apis. * gui/e-meeting-list-view.c (start_addressbook_server): use the new e_book_new_* and e_book_open apis. svn path=/trunk/; revision=26000
* Add menu_label and menu_accelerator.William Jon McCann2004-05-191-0/+4
| | | | | | | | | 2004-05-05 William Jon McCann <mccann@jhu.edu> * gui/GNOME_Evolution_Calendar.server.in.in: Add menu_label and menu_accelerator. svn path=/trunk/; revision=25969
* add argJP Rosevear2004-05-183-12/+43
| | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * idl/evolution-calendar.idl: add arg * gui/alarm-notify/alarm-queue.c (edit_component): send a mode type * gui/alarm-notify/alarm-notify.c: add fixme note * gui/comp-editor-factory.c (impl_editExisting): take a editor mode and twist it into a source type (impl_editNew): ditto (open_client): take a source type for creating the client (lookup_open_client): ditto svn path=/trunk/; revision=25959
* just set up the alarm notify objectJP Rosevear2004-05-188-233/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * gui/alarm-notify/notify-main.c (init_alarm_service): just set up the alarm notify object * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (process_removal_in_hash): process removals using the source list (list_changed_cb): when the list changes, update (load_calendars): initially load the calendars (alarm_notify_init): load the calendars here and don't listen for a selection notification (alarm_notify_add_calendar): get the source type when adding a calendar * gui/alarm-notify/notify-main.c (main): no need to init/shutdown gnome vfs * gui/alarm-notify/config-data.h: new proto * gui/alarm-notify/config-data.c (config_data_get_notify_with_tray): routine to get schema value * gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking here, setup_timeout does that (queue_alarm): ditto (setup_timeout): calculate the timeout better * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): tidy (edit_component): clean up exception handling (display_notification): don't show the tray icon if we aren't notifying with the tray * gui/apps_evolution_calendar.schemas.in.in: add notify_with_tray option svn path=/trunk/; revision=25958
* make the focus movable in week/month view when no events are selected.Kidd Wang2004-05-181-0/+195
| | | | | | | | | | | | | | * 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), (e_week_view_cursor_key_up), (e_week_view_cursor_key_down), (e_week_view_cursor_key_left), (e_week_view_cursor_key_right), (e_week_view_do_key_press): make the focus movable in week/month view when no events are selected. svn path=/trunk/; revision=25947
* 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
* Use E_ICON_SIZE enum here. (display_notification): Same.Jeffrey Stedfast2004-05-184-10/+10
| | | | | | | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb): Use E_ICON_SIZE enum here. (display_notification): Same. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Use E_ICON_SIZE_DIALOG here. * gui/e-week-view.c (e_week_view_realize): Same as below. * gui/e-day-view.c (e_day_view_realize): Use E_ICON_SIZE_MENU for the icon sizes rather than using pixel values. svn path=/trunk/; revision=25941
* Change E_PIXMAP size args over to E_ICON_SIZE_* values.Jeffrey Stedfast2004-05-181-5/+6
| | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/calendar-commands.c (pixmaps): Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25940
* Use E_ICON_SIZE_MENUJeffrey Stedfast2004-05-186-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/tasks-component.c (add_popup_menu_item): Use E_ICON_SIZE_MENU * gui/e-timezone-entry.c (e_timezone_entry_init): Use E_ICON_SIZE_BUTTON * gui/e-itip-control.c (write_error_html): Use E_ICON_SIZE enums. (write_html): Same. * gui/e-calendar-view.c (e_calendar_view_set_status_message): Use E_ICON_SIZE_STATUS (setup_popup_icons): Use E_ICON_SIZE_MENU * gui/e-calendar-table.c (e_calendar_table_init): Use E_ICON_SIZE_LIST rather than a hard-coded value of 16 pixels. (e_calendar_table_set_status_message): Use E_ICON_SIZE_STATUS * gui/calendar-component.c (add_popup_menu_item): Use E_ICON_SIZE_MENU rather than hard-coding the pixel size. svn path=/trunk/; revision=25934
* Fixes #56373JP Rosevear2004-05-181-2/+2
| | | | | | | | | | | | 2004-05-17 JP Rosevear <jpr@ximian.com> Fixes #56373 * gui/comp-editor-factory.c (open_client): guess its an event for now svn path=/trunk/; revision=25932
* Change dropdown list item 'Display a message'for reminder types to 'Pop upV Ravi Kumar Raju2004-05-172-2/+2
| | | | | | | | | | 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
* if we don't have a RECURRENCE-ID, remove nothing, and use the instanceRodrigo Moya2004-05-171-6/+2
| | | | | | | | | | 2004-05-17 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): if we don't have a RECURRENCE-ID, remove nothing, and use the instance start time for the RECURRENCE-ID as the default. svn path=/trunk/; revision=25925
* if we don't have a RECURRENCE-ID, remove nothing.Rodrigo Moya2004-05-171-11/+13
| | | | | | | | | 2004-05-17 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): if we don't have a RECURRENCE-ID, remove nothing. svn path=/trunk/; revision=25924
* 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
* use e_cal_generate_instances_for_object instead ofRodrigo Moya2004-05-145-30/+18
| | | | | | | | | | | | | | 2004-05-14 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): * gui/gnome-cal.c (gnome_calendar_purge): * gui/tag-calendar.c (tag_calendar_by_comp): * gui/e-cal-model.c (e_cal_model_generate_instances): use e_cal_generate_instances_for_object instead of e_cal_recur_generate_instances. svn path=/trunk/; revision=25905
* 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 #57644.Not Zed2004-05-132-5/+7
| | | | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> Fixes #57644. * gui/e-day-view.c (row_deleted_check_cb): strdup the uid, as below. (remove_uid_cb): and free it. * gui/e-week-view.c (row_deleted_check_cb): strdup the uid, 'cause otherwise it can go away later as we delete stuff. (remove_uid_cb): free the uid. svn path=/trunk/; revision=25897
* add some array bounds checking as an attempt to isolate the crash inNot Zed2004-05-131-0/+5
| | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * gui/e-week-view-event-item.c (e_week_view_event_item_draw): add some array bounds checking as an attempt to isolate the crash in #57644. svn path=/trunk/; revision=25896
* add GError return for error details & return errors.Not Zed2004-05-124-21/+54
| | | | | | | | | | | | 2004-05-11 Not Zed <NotZed@Ximian.com> * gui/migration.c (migrate_calendars, migrate_tasks): add GError return for error details & return errors. * gui/calendar-component.c (impl_upgradeFromVersion): fix for api change, and erturn exception if we need to. svn path=/trunk/; revision=25865
* get error information from the call to e_cal_receive_objects, and use thatRodrigo Moya2004-05-121-3/+4
| | | | | | | | | 2004-05-11 Rodrigo Moya <rodrigo@ximian.com> * gui/e-itip-control.c (update_item): get error information from the call to e_cal_receive_objects, and use that as the error message. svn path=/trunk/; revision=25862
* Remove the calendar and task list controlsDan Winship2004-05-124-308/+2
| | | | | | | | | | | | | | * gui/GNOME_Evolution_Calendar.server.in.in: Remove the calendar and task list controls * gui/main.c (factory): Remove support for the calendar and task list controls * gui/control-factory.c: Remove the property-bag stuff * gui/tasks-control.c: Likewise svn path=/trunk/; revision=25857
* 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
* use/set the DUE date, not the DTEND date.Rodrigo Moya2004-05-111-3/+3
| | | | | | | | | 2004-05-11 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not the DTEND date. svn path=/trunk/; revision=25854
* Fixes #58014Umeshtej2004-05-102-5/+5
| | | | | | | | | | | 2004-05-07 Umeshtej <umeshtej@gawab.com> Fixes #58014 * gui/e-meeting-list-view.c (process_section):Run the for loop for the number of elements in cards. svn path=/trunk/; revision=25841
* 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
* Fixes #52294JP Rosevear2004-05-073-24/+123
| | | | | | | | | | | | | | | | | 2004-05-07 JP Rosevear <jpr@ximian.com> Fixes #52294 * gui/e-cal-model.c (set_dtstart): set the tzid properly (ecm_is_cell_editable): set check properly * gui/e-cal-model-tasks.c (set_due): set the tzid properly (ecmt_is_cell_editable): set check properly * gui/e-cal-model-calendar.c (set_dtend): set the tzid properly (ecmc_is_cell_editable): kill fixme and set check properly svn path=/trunk/; revision=25825
* fix comment and checkJP Rosevear2004-05-072-6/+7
| | | | | | | | | | | | 2004-05-07 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (ecm_is_cell_editable): fix comment and check * gui/e-cal-model-tasks.c (ecmt_set_value_at): set a parent field properly (ecmt_is_cell_editable): fix comment and check svn path=/trunk/; revision=25823
* 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
* Fixes #58025JP Rosevear2004-05-052-19/+18
| | | | | | | | | | | | | | | | | | 2004-05-05 JP Rosevear <jpr@ximian.com> Fixes #58025 * gui/gnome-cal.c (set_search_query): kill warning (setup_config): don't set time out here (setup_widgets): set it here (gnome_calendar_destroy): clear the time out * gui/e-tasks.c (search_bar_sexp_changed_cb): kill warning (setup_config): don't set time out here (setup_widgets): set it here and remember the time out id (e_tasks_destroy): clear the time out svn path=/trunk/; revision=25803
* (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
* listen for double click signal (e_cal_list_view_on_table_double_click):JP Rosevear2004-05-041-0/+18
| | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/e-cal-list-view.c (setup_e_table): listen for double click signal (e_cal_list_view_on_table_double_click): edit the appointment that was double clicked on svn path=/trunk/; revision=25762
* set the info label (calendar_dates_changed_cb): call back for when theJP Rosevear2004-05-041-5/+120
| | | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/calendar-component.c (set_info): set the info label (calendar_dates_changed_cb): call back for when the dates of the calendar change (create_component_view): store the info label for later use; listen for date changes to set the info label svn path=/trunk/; revision=25760
* Fixes #57897JP Rosevear2004-05-041-33/+0
| | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57897 * gui/e-tasks.c (setup_widgets): no need to listen for the deleted signal, the cursor will change in that case svn path=/trunk/; revision=25759
* remove useless debug statementJP Rosevear2004-05-041-1/+0
| | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/e-cal-model-tasks.c (set_completed): remove useless debug statement svn path=/trunk/; revision=25758
* set the info label message (model_changed_cb): call aboveJP Rosevear2004-05-041-6/+67
| | | | | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (set_info): set the info label message (model_changed_cb): call above (table_selection_change_cb): ditto (model_rows_inserted_cb): ditto (model_rows_deleted_cb): ditto (create_component_view): remember the info in the view struct; listen for events that require the info label to be updated svn path=/trunk/; revision=25757
* Fixes #57899JP Rosevear2004-05-032-5/+22
| | | | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57899 * gui/e-day-view.c (e_day_view_do_key_press): bail if the client is read only (or we get an error trying to find out) * gui/e-week-view.c (e_week_view_do_key_press): ditto svn path=/trunk/; revision=25749
* Fixes #57894JP Rosevear2004-05-031-2/+4
| | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57894 * gui/gnome-cal.c (gnome_calendar_new_task): make sure we use the default component of the correct model svn path=/trunk/; revision=25748
* Update the alarm notify dialog to be HIG compliantRodney Dawes2004-05-012-102/+225
| | | | | | | | | | | | 2004-04-30 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant Fixes #41224 svn path=/trunk/; revision=25729
* Set up the model to use the correct query. Setup callbacks for gconfGary Ekker2004-05-014-10/+174
| | | | | | | | | | | | | | | | | | | 2004-04-30 Gary Ekker <gekker@novell.com> * gui/e-tasks.c: (e_tasks_init): Set up the model to use the correct query. Setup callbacks for gconf changes. Add an idle timeout to hide completed items. Add update_view, update_view_cb, and config_hide_completed_tasks_changed_cb to update the model view. * gui/gnome-cal.c: ditto * gui/calendar-config.h: Add notifications for hide_completed_tasks settings. * gui/calendar-config.c: ditto svn path=/trunk/; revision=25727
* 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
* use the source color if it is set. Yay for ugly colors.Larry Ewing2004-04-302-2/+23
| | | | | | | | | | | | 2004-04-29 Larry Ewing <lewing@ximian.com> * gui/e-cal-model.c (ecm_get_color_for_component): use the source color if it is set. Yay for ugly colors. * gui/e-cal-model.h: add a color holder to the ECalModelComponent since the return value of the color stuff is const. svn path=/trunk/; revision=25696
* 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
* remove prototypesJP Rosevear2004-04-3013-81/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/tasks-component.h (tasks_component_peek_source_list): remove prototypes * gui/tasks-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal * gui/gnome-cal.h: add signals, protos * gui/gnome-cal.c (gnome_calendar_class_init): add source added and removed signals (client_cal_opened_cb): emit source removed signal (open_ecal): set the status message (backend_died_cb): emit source removed signal (gnome_calendar_set_activity_handler): allow an activity handler to be set (gnome_calendar_add_source): emit source added signal (gnome_calendar_remove_source): emit source removed signal (display_view): update the active activity handler * gui/e-tasks.h: add signal prototypes * gui/e-tasks.c (e_tasks_class_init): add source added and removed signals (backend_died_cb): emit source removed signal (e_tasks_add_todo_source): emit source added/removed signals (e_tasks_remove_todo_source): emit source removed signal * gui/e-calendar-view.h: add proto * gui/e-calendar-view.c (e_calendar_view_set_activity_handler): allow an activity handler to be set (e_calendar_view_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-table.h: add data member and proto * gui/e-calendar-table.c (e_calendar_table_set_activity_handler): allow an activity handler to be set (e_calendar_table_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-marshal.list: add extra marshallers * gui/calendar-component.h: kill protos * gui/calendar-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal svn path=/trunk/; revision=25694
* 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
* kill warningJP Rosevear2004-04-301-2/+0
| | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_model_set_default_client): kill warning svn path=/trunk/; revision=25692
* Removed the terminating NULL vararg since we don't need it forJeffrey Stedfast2004-04-301-1/+1
| | | | | | | | | | | 2004-04-29 Jeffrey Stedfast <fejj@ximian.com> * gui/migration.c (migrate_pilot_data): Removed the terminating NULL vararg since we don't need it for g_strdup_printf, it was only needed when it was g_build_filename(). Gets rid of a gcc warning. svn path=/trunk/; revision=25689
* check we find any usable components of the icalendar entry beforeNot Zed2004-04-291-5/+7
| | | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (e_itip_control_set_data): check we find any usable components of the icalendar entry before dereferncing it. Fixes crash in #57264. svn path=/trunk/; revision=25675
* dont shadow source with another source in the fallback case. Related toNot Zed2004-04-281-2/+0
| | | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (object_requested_cb): dont shadow source with another source in the fallback case. Related to #54094. svn path=/trunk/; revision=25657
* disable comment searching which is currently uselessJP Rosevear2004-04-281-0/+3
| | | | | | | | | 004-04-27 JP Rosevear <jpr@ximian.com> * gui/cal-search-bar.c: disable comment searching which is currently useless svn path=/trunk/; revision=25648
* Fixes #52270 and #57593JP Rosevear2004-04-282-68/+84
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-27 JP Rosevear <jpr@ximian.com> Fixes #52270 and #57593 * gui/e-cal-model-tasks.c (ecmt_set_value_at): remove checks for start after due (ecmt_duplicate_value): copy the completed and due dates properly (ecmt_fill_component_from_model): only set the percent and status if the completion isn't set (ensure_task_partially_complete): ensure the task is not complete, in progress and make the percentage sensible if its 0 or 100 (set_status): make sure the status and related vars are set properly (ecmt_set_value_at): handle status (ecmt_fill_component_from_model): make sure the click to add fields don't clobber each other (ecmt_is_cell_editable): status is editable * gui/e-cal-model-calendar.c (ecmc_duplicate_value): copy the dtend correctly svn path=/trunk/; revision=25647
* 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
* Fixed the version checks for migrating pilot data. (migrate_calendars):Jeffrey Stedfast2004-04-281-7/+7
| | | | | | | | | | | | | | | | 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/migration.c (migrate_tasks): Fixed the version checks for migrating pilot data. (migrate_calendars): Same. (migrate_pilot_data): Doh. Take a third argument to specify what component we are migrating ("todo" vs "calendar") so that we can compare against the correct filename. Might help :-) (migrate_pilot_db_key): Just set an empty value for the data since there's no way to actually get it and I don't think it really matters anyway. svn path=/trunk/; revision=25642
* Fixed the version checks for migrating pilot data. (migrate_calendars):Jeffrey Stedfast2004-04-281-7/+14
| | | | | | | | | | | | | 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/migration.c (migrate_tasks): Fixed the version checks for migrating pilot data. (migrate_calendars): Same. (migrate_pilot_data): Doh. Take a third argument to specify what component we are migrating ("todo" vs "calendar") so that we can compare against the correct filename. Might help :-) svn path=/trunk/; revision=25638
* compare the start time and the due time only when both are not null.Kidd Wang2004-04-271-4/+14
| | | | | | | * gui/e-cal-model-tasks.c: (ecmt_set_value_at): compare the start time and the due time only when both are not null. svn path=/trunk/; revision=25627
* New function to migrate pilot data. (migrate_calendars): Migrate pilotJeffrey Stedfast2004-04-271-6/+145
| | | | | | | | | | | 2004-04-26 Jeffrey Stedfast <fejj@ximian.com> * gui/migration.c (migrate_pilot_data): New function to migrate pilot data. (migrate_calendars): Migrate pilot data if upgrade version <=1.5.9 (migrate_tasks): Same. svn path=/trunk/; revision=25620
* Call e_icon_factory_init ()Rodney Dawes2004-04-241-0/+3
| | | | | | | | | | 2004-04-23 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/notify-main.c (main): Call e_icon_factory_init () Fixes #57497 svn path=/trunk/; revision=25602
* Fixes #56092JP Rosevear2004-04-222-0/+19
| | | | | | | | | | | | | | | | 2004-04-22 JP Rosevear <jpr@ximian.com> Fixes #56092 * gui/e-day-view.c (e_day_view_show_popup_menu): weak ref for the menu to be destroyed (popup_destroyed_cb): reset popup_event_num and popup_event_day * gui/e-week-view.c (e_week_view_show_popup_menu): weak ref for the menu to be destroyed (popup_destroyed_cb): reset the popup_event_num svn path=/trunk/; revision=25583
* make sure we don't deref a NULL pointerJP Rosevear2004-04-222-11/+1
| | | | | | | | | 2004-04-21 JP Rosevear <jpr@ximian.com> * gui/calendar-component.c (create_new_event): make sure we don't deref a NULL pointer svn path=/trunk/; revision=25573
* Fixes #56504JP Rosevear2004-04-226-678/+856
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-21 JP Rosevear <jpr@ximian.com> Fixes #56504 * gui/gnome-cal.c (gnome_calendar_destroy): no need to destroy the creatable item handler (gnome_calendar_set_ui_component): don't do the creatable item stuff here * gui/e-tasks.c (e_tasks_set_ui_component): don't do the creatable item stuff here (e_tasks_destroy): no need to destroy creatable item handler * gui/e-calendar-table.c (e_calendar_table_set_status_message): comment out temporarily * gui/e-calendar-view.c (e_calendar_view_set_status_message): ditto * gui/calendar-component.c: switch to using per component view information; don't listen for config changes to the primary selection and selection so that different windows can have different calendar selections; use a local creatable items handler so that the new button is associated with the right window when setting the default times * gui/tasks-component.c: ditto svn path=/trunk/; revision=25566
* only set the preview zone if the preview has been created (setup_widgets):JP Rosevear2004-04-211-3/+3
| | | | | | | | | | 2004-04-21 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (set_timezone): only set the preview zone if the preview has been created (setup_widgets): set the default zone for the preview pane svn path=/trunk/; revision=25562
* Fixes #55797JP Rosevear2004-04-211-2/+11
| | | | | | | | | | | | 2004-04-21 JP Rosevear <jpr@ximian.com> Fixes #55797 * gui/calendar-component.c (create_new_event): force an all day event if we are viewing the week, month or list view, which mimics double click in the view svn path=/trunk/; revision=25561
* ** 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
* Fix crash when gconf value are not existing in the gconf database.Frédéric Crozat2004-04-211-3/+5
| | | | | | | | * gui/migration.c: (migrate_calendars): Fix crash when gconf value are not existing in the gconf database. svn path=/trunk/; revision=25555
* fix for user_creatable_items api changes.Not Zed2004-04-212-2/+2
| | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * gui/gnome-cal.c (gnome_calendar_set_ui_component): fix for user_creatable_items api changes. * gui/e-tasks.c (e_tasks_set_ui_component): fix for user_creatable_items api changes. svn path=/trunk/; revision=25547
* Update the calendar to use the icon theme through the EIconFactory objectMichael Terry2004-04-1919-188/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* take a range_selected boolean for internal use (gnome_calendar_set_view):JP Rosevear2004-04-191-19/+27
| | | | | | | | | | | | | | | 2004-04-19 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (set_view): take a range_selected boolean for internal use (gnome_calendar_set_view): use above (display_view): use priv->range_selected, we'll set it correctly before this (display_view_cb): only pass focus boolean (gnome_calendar_on_date_navigator_selection_changed): set the view so the view menu is accurate svn path=/trunk/; revision=25510
* Fixes #53124JP Rosevear2004-04-194-289/+557
| | | | | | | | | | | | | | 2004-04-18 JP Rosevear <jpr@ximian.com> Fixes #53124 * gui/e-tasks.c: remove preview pieces, they are in their own class now; use the new class for preview * gui/e-cal-component-preview.[hc]: implement a preview area for tasks and events svn path=/trunk/; revision=25505
* include libecal/e-cal-component.h to kill implicit declaration ofTrent Lloyd2004-04-191-0/+1
| | | | | | | | | | 2004-04-17 Trent Lloyd <lathiat@sixlabs.org> * gui/e-calendar-view.c: include libecal/e-cal-component.h to kill implicit declaration of e_cal_component_get_recur_id_as_string at line 869. svn path=/trunk/; revision=25504
* Fixes #52271Gary Ekker2004-04-161-1/+6
| | | | | | | | | | | | 2004-04-15 Gary Ekker <gekker@novell.com> Fixes #52271 * gui/e-cal-model-tasks.c: (set_percent): shouldn't call ensure_task_not_complete here, it removes the percent property that we just set. svn path=/trunk/; revision=25491
* 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-154-34/+25
| | | | | | | | | | | | | | | | | 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
* use the DTSTART for the recur-id if it's not available.Rodrigo Moya2004-04-152-2/+20
| | | | | | | | | 2004-04-15 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): use the DTSTART for the recur-id if it's not available. svn path=/trunk/; revision=25476
* fix missing parameters, wow that was a mess.Larry Ewing2004-04-153-1225/+1078
| | | | | | | | | | | | | | | | 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
* Fixes #56613JP Rosevear2004-04-153-24/+28
| | | | | | | | | | | | | | | | | | | | | | 2004-04-14 JP Rosevear <jpr@ximian.com> Fixes #56613 * gui/gnome-cal.h: add proto * gui/gnome-cal.c (client_cal_opened_cb): key the clients by uid (backend_died_cb): ditto (gnome_calendar_add_source): ditto (gnome_calendar_remove_source): use remove_source_by_uid (gnome_calendar_remove_source_by_uid): new function to remove a source by uid (gnome_calendar_set_default_source): key the clients by uid * gui/calendar-component.c (update_task_selection): the source could be NULL if the source was deleted rather than unchecked (update_primary_task_selection): look at the task source list svn path=/trunk/; revision=25469
* Same as below for the tasks component.Not Zed2004-04-142-5/+24
| | | | | | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (impl_createControls): Same as below for the tasks component. * gui/calendar-component.c (impl_createControls): add the info area label widget to the sidebar control (c&p the addressbook code). svn path=/trunk/; revision=25451
* Fixes #56628Gary Ekker2004-04-131-2/+10
| | | | | | | | | | | 2004-04-12 Gary Ekker <gekker@novell.com> Fixes #56628 * gui/calendar-component.c (create_new_event): Add informational dialog when user attempts event creation in read-only calendar. svn path=/trunk/; revision=25432
* Fixed to use e-passwords.Gary Ekker2004-04-114-61/+105
| | | | | | | | | | | | | | | | | 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-104-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Create an EUserCreatableItemsHandler for the view if there isn't one yet,Dan Winship2004-04-095-4/+43
| | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_set_ui_component): Create an EUserCreatableItemsHandler for the view if there isn't one yet, and then activate it. (gnome_calendar_destroy): destroy it. * gui/calendar-component.c (impl__get_userCreatableItems): add object/folder flags to items. * gui/e-tasks.c (e_tasks_set_ui_component): Create an EUserCreatableItemsHandler for the view if there isn't one yet, and then activate it. (e_tasks_destroy): destroy it. * gui/tasks-component.c (impl__get_userCreatableItems): add object/folder flags. Change "Task List" to "Tasks Group" per new specs. * gui/calendar-commands.c (calendar_control_deactivate): clear the GnomeCal's ui_component rather than setting it again svn path=/trunk/; revision=25382
* 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
* just add the client, we have protection against re-adding it any howJP Rosevear2004-04-081-15/+9
| | | | | | | | | | 2004-04-07 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_model_set_default_client): just add the client, we have protection against re-adding it any how (cal_opened_cb): stop listening to the open signal svn path=/trunk/; revision=25359
* remove extra set view params (gnome_calendar_set_view): simplify, just setJP Rosevear2004-04-089-170/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-07 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_dayjump): remove extra set view params (gnome_calendar_set_view): simplify, just set the current view id and let the gal view stuff do the rest (display_view): modify from set_view, don't set the view id here or update the default view config setting (display_view_cb): update the date navigator (gnome_calendar_construct): kill the default view stuff, gal view handles that (gnome_calendar_on_date_navigator_selection_changed): use display_view * gui/e-week-view.c (time_range_changed_cb): ditto (e_week_view_set_selected_time_range): just set the selection, don't fool with the base date (e_week_view_on_button_press): do a full day event if double clicked on * gui/e-day-view.c (time_range_changed_cb): only set the selection if we can't preserve an existing selection * gui/control-factory.c (set_prop): * gui/calendar-config.h: remove protos * gui/calendar-config.c: remove default view calls * gui/calendar-commands.c (show_day_view_clicked): remove extra params to gnome_calendar_set_view (show_work_week_view_clicked): ditto (show_week_view_clicked): ditto (show_month_view_clicked): ditto (show_list_view_clicked): ditto * gui/apps_evolution_calendar.schemas.in.in: remove default view setting, gal view remembers this for us svn path=/trunk/; revision=25353
* only select one dayJP Rosevear2004-04-061-2/+2
| | | | | | | | 2004-04-05 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c (time_range_changed_cb): only select one day svn path=/trunk/; revision=25321
* removed commented code.Rodrigo Moya2004-04-051-34/+0
| | | | | | | | 2004-04-05 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c: removed commented code. svn path=/trunk/; revision=25316
* removed useless call to set the POA after construction.Rodrigo Moya2004-04-051-1/+0
| | | | | | | | | 2004-04-05 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c (main): removed useless call to set the POA after construction. svn path=/trunk/; revision=25315
* 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
* set the default timezone on all clients when opened.Rodrigo Moya2004-04-021-0/+2
| | | | | | | | | 2004-04-01 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (client_cal_opened_cb): set the default timezone on all clients when opened. svn path=/trunk/; revision=25280
* fix small typoRadek Doulik2004-04-011-1/+1
| | | | | | | | | 2004-04-01 Radek Doulik <rodo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): fix small typo svn path=/trunk/; revision=25279
* 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
* make sure we unset the float value for the panes if converting from 1.4JP Rosevear2004-04-011-1/+1
| | | | | | | | | 2004-03-31 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_calendars): make sure we unset the float value for the panes if converting from 1.4 and earlier svn path=/trunk/; revision=25274
* Fixes #56120JP Rosevear2004-04-011-2/+2
| | | | | | | | | | | | 2004-03-31 JP Rosevear <jpr@ximian.com> Fixes #56120 * gui/gnome-cal.c (append_category_cb): update the correct element (client_categories_changed_cb): pass the array, not a reference to it svn path=/trunk/; revision=25273
* fixed documentation typos.Rodrigo Moya2004-04-011-2/+2
| | | | | | | | 2004-03-31 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c: fixed documentation typos. svn path=/trunk/; revision=25264
* Replaced add_event_source with add_source and passed the VEVENT type asSarfraaz Ahmed2004-03-311-1/+1
| | | | | | | | | 2004-03-31 Sarfraaz Ahmed <asarfraaz@novell.com> * gui/config-control.c (set_prop) : Replaced add_event_source with add_source and passed the VEVENT type as argument. svn path=/trunk/; revision=25263
* 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
* call drag_finish properly. (selector_tree_drag_motion): set the dragLarry Ewing2004-03-301-61/+56
| | | | | | | | | | | | | | | | | | | 2004-03-29 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c (selector_tree_drag_data_received): call drag_finish properly. (selector_tree_drag_motion): set the drag status properly. 2004-03-29 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (selector_tree_drag_data_received): deal with the action type a properly. in the normal case. * gui/calendar-component.c (selector_tree_drag_data_received): call drag_finish properly, change the uid. (selector_tree_drag_motion): set drag status properly. svn path=/trunk/; revision=25240
* don't require client to be loaded in order to remove the sourceWilliam Jon McCann2004-03-302-0/+4
| | | | | | | | | | 2004-03-29 William Jon McCann <mccann@jhu.edu> * gui/tasks-component.c (delete_task_list_cb): * gui/calendar-component.c (delete_calendar_cb): don't require client to be loaded in order to remove the source svn path=/trunk/; revision=25234
* create On The Web source group for tasks.William Jon McCann2004-03-301-1/+16
| | | | | | | | | 2004-03-29 William Jon McCann <mccann@jhu.edu> * gui/migration.c (create_task_sources, migrate_tasks): create On The Web source group for tasks. svn path=/trunk/; revision=25230
* Naming issue, Go to Date -> Select Date, Go to Today -> Select today.Hari Prasad Nadig2004-03-292-4/+4
| | | | | | | | | | | 2004-03-22 Hari Prasad Nadig <hp@ndeepak.info> * gui/goto-dialog.glade: Naming issue, Go to Date -> Select Date, Go to Today -> Select today. Solves 48293 * gui/e-calendar-view.c: gives aid to the above change. svn path=/trunk/; revision=25224
* removed misplaced return statement that prevented the rest of the objectsRodrigo Moya2004-03-292-1/+4
| | | | | | | | | | 2004-03-29 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): removed misplaced return statement that prevented the rest of the objects list to be processed. svn path=/trunk/; revision=25222
* remove the EVENT_MOVE signal which was binded to Alt + Arrows. ditto.Kidd Wang2004-03-294-95/+49
| | | | | | | | | | | | | | | | | * gui/e-calendar-view.c: (e_calendar_view_class_init): remove the EVENT_MOVE signal which was binded to Alt + Arrows. * gui/e-calendar-view.h: ditto. * gui/e-day-view.c: (e_day_view_class_init), (e_day_view_do_key_press), (e_day_view_event_move): handle Alt + Arrows in the more general place e_day_view_do_key_press so that we can avoid the conflicting accessible key. When an appointment is selected, pressing Alt + Arrows causes it to be moved around. Otherwise, pressing Alt + LEFT/RIGHT will move the focus to the same day in the previous/next week. * gui/e-week-view.c: (e_week_view_class_init), (e_week_view_event_move), (e_week_view_do_key_press): ditto. svn path=/trunk/; revision=25219
* guard against the case that we redo queries while still waiting for aJP Rosevear2004-03-271-0/+4
| | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (update_e_cal_view_for_client): guard against the case that we redo queries while still waiting for a client to open svn path=/trunk/; revision=25205
* Fixes #53134JP Rosevear2004-03-271-2/+4
| | | | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> Fixes #53134 * gui/e-cal-model.c (get_description): make sure to set the string to NULL so that if this component doesn't have a description we don't double free next time we are called svn path=/trunk/; revision=25204
* no need to explicitly add the contacts group, the create function doesJP Rosevear2004-03-271-7/+0
| | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_calendars): no need to explicitly add the contacts group, the create function does this properly svn path=/trunk/; revision=25203
* make sure we always sync the source list and just do it once; unref theJP Rosevear2004-03-271-6/+13
| | | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> * gui/migration.c (migrate_calendars): make sure we always sync the source list and just do it once; unref the sources we get (migrate_tasks): make sure we always sync the source list and just do it once svn path=/trunk/; revision=25202
* Fixes #55648JP Rosevear2004-03-276-246/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> Fixes #55648 * gui/print.c (print_todo_details): get the default from the model * gui/gnome-cal.h: remove and update protos * gui/gnome-cal.c (update_query): the clients and client_list members are now arrays of source types (setup_widgets): default the query to everything for tasks, cast the config items (gnome_calendar_init): init all the client hashs (gnome_calendar_destroy): clean them up, clean up all categories (client_cal_opened_cb): handle based on source type (append_category_cb): don't track the size in the closure (client_categories_changed_cb): do all the merging here (backend_died_cb): handle based on source type (gnome_calendar_construct): we don't special case the task stuff any more (gnome_calendar_get_default_client): return the default of the current view (gnome_calendar_add_source): take a source type argument and append accordingly (gnome_calendar_remove_source): similar, but remove accordingly (gnome_calendar_set_default_source): take a source type argument and set the default accordingly (gnome_calendar_new_task): use the default of the task model * gui/e-calendar-view.c (e_calendar_view_add_event): kill warning * gui/calendar-component.c (update_uris_for_selection): pass source type when adding/removing (update_uri_for_primary_selection): ditto (update_task_selection): make sure we show the correct list of tasks (update_primary_task_selection): make sure we track the primary task correctly (delete_calendar_cb): pass source type when removing (config_primary_selection_changed_cb): config listener callback for tasks (config_tasks_selection_changed_cb): ditto (impl_createControls): load the initial task selection, listen for changes (calendar_component_init): get the source lists * gui/calendar-commands.c (sensitize_taskpad_commands): get the task pad and then the default client from that svn path=/trunk/; revision=25201
* finds the client data for a client (cal_opened_cb): update the queryJP Rosevear2004-03-271-30/+61
| | | | | | | | | | | | | | | | 2004-03-26 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (find_client_data): finds the client data for a client (cal_opened_cb): update the query (add_new_client): return client data (e_cal_model_add_client): add the client immediately no matter what, and possibly wait for it to open (remove_client): guard against NULL query (e_cal_model_remove_client): use find_client_data (e_cal_model_dispose): guard against a NULL query svn path=/trunk/; revision=25200
* fix off by one error when emitting deleted signalJP Rosevear2004-03-261-1/+1
| | | | | | | | | 2004-03-25 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (remove_client): fix off by one error when emitting deleted signal svn path=/trunk/; revision=25193
* Fixes #53499JP Rosevear2004-03-268-125/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-25 JP Rosevear <jpr@ximian.com> Fixes #53499 * gui/gnome-cal.c (setup_widgets): don't give the state file to the list view (set_view): ensure that if the list view was in custom mode it stays that way (display_view_cb): attach to the etable of the list view (gnome_calendar_setup_view_menus): use an etable gal view for the list view and don't set the view twice * gui/e-tasks.c (e_tasks_setup_view_menus): the instance should no longer be per task uri since all the uris are shown together * gui/e-cal-list-view.h: update/add protos * gui/e-cal-list-view.etspec: limit the available columns to what product design agreed on * gui/e-calendar-table.etspec: ditto * gui/e-cal-list-view.c (e_cal_list_view_class_init): ignore update query calls (e_cal_list_view_load_state): make public (e_cal_list_view_save_state): ditto (setup_e_table): don't handle state saving ourselves (e_cal_list_view_construct): ditto (e_cal_list_view_new): ditto (e_cal_list_view_destroy): ditto * gui/calendar-view.c (calendar_view_get_type_code): we don't handle the list view here * gui/calendar-view-factory.c (calendar_view_factory_get_type_code): we don't handle the list view here (calendar_view_factory_get_title): ditto svn path=/trunk/; revision=25185
* don't create queries for the clients that are not loaded yet.Rodrigo Moya2004-03-251-0/+4
| | | | | | | | | 2004-03-24 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (update_query): don't create queries for the clients that are not loaded yet. svn path=/trunk/; revision=25171
* remove debug code that slipped inJP Rosevear2004-03-251-2/+1
| | | | | | | | | 004-03-24 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (client_cal_opened_cb): remove debug code that slipped in svn path=/trunk/; revision=25170
* Use ngettext for handling plural forms throughout (fixes bug 53464).Danilo Šegan2004-03-243-57/+31
| | | | svn path=/trunk/; revision=25168
* Fixes #51948JP Rosevear2004-03-242-110/+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
* fix buildChris Toshok2004-03-241-1/+1
| | | | svn path=/trunk/; revision=25163
* make the flow control correctJP Rosevear2004-03-241-4/+3
| | | | | | | | 004-03-23 JP Rosevear <jpr@ximian.com> * gui/e-calendar-view.c: make the flow control correct svn path=/trunk/; revision=25162
* ensure that only one Personal calendar/task list gets created when movingJP Rosevear2004-03-241-9/+15
| | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> * gui/migration.c (create_calendar_sources, create_task_sources): ensure that only one Personal calendar/task list gets created when moving between minor versions svn path=/trunk/; revision=25160
* remove unused variableJP Rosevear2004-03-244-4/+5
| | | | | | | | | | | | | | | | | | 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
* For bug#53417Umesh Tiwari2004-03-241-0/+1
| | | | | | | | | | | 2004-03-23 Umesh Tiwari <tiwariumesh232@rediffmaiil.com> For bug#53417 * gui/e-tasks.c: Clear the preview panel after the last task is deleted. svn path=/trunk/; revision=25158
* get the mail alarm description message from "malarm_description" insteadAlfred Peng2004-03-232-4/+8
| | | | | | | | | | | | | | | | | 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
* get the UID from the server on newly created events and set theRodrigo Moya2004-03-221-2/+67
| | | | | | | | | | 2004-03-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_add_event): get the UID from the server on newly created events and set the ECalComponent's UID to that, for further operations. svn path=/trunk/; revision=25144
* Fixes #55716JP Rosevear2004-03-203-1/+97
| | | | | | | | | | | 2004-03-19 JP Rosevear <jpr@ximian.com> Fixes #55716 * gui/e-cal-model.c (remove_client): unset the default if the client removed was the default svn path=/trunk/; revision=25132
* if gnome_calendar_add_event_source fails, don't add the client to theRodrigo Moya2004-03-201-2/+2
| | | | | | | | | | 2004-03-19 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-component.c (update_uris_for_selection): if gnome_calendar_add_event_source fails, don't add the client to the internal client list. svn path=/trunk/; revision=25130
* compare ecalcomponents, not icalcomponents (the compare func is borked),JP Rosevear2004-03-192-17/+25
| | | | | | | | | | | | | | | 2004-03-19 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c (process_component): compare ecalcomponents, not icalcomponents (the compare func is borked), check recurrence changes better (e_day_view_init): just use the model the parent creates * gui/e-week-view.c (process_component): create the temporary item from the correct icalcomp (e_week_view_init): just use the model the parent creates svn path=/trunk/; revision=25129
* 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
* Fix #51187 on bugzilla of ximian If "alarms" or "alarms->alarms" is NULLAlfred Peng2004-03-181-30/+33
| | | | | | | | | | | | | | 2004-03-18 Alfred Peng <alfred.peng@sun.com> * Fix #51187 on bugzilla of ximian * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): If "alarms" or "alarms->alarms" is NULL after querying a calendar for the alarms of a particular object, the reuse of "cqa" will probably cause evolution-alarm-notify to crash. So remove "cqa" when "alarms" or "alarms->alarms" is NULL. Otherwise update it. svn path=/trunk/; revision=25112
* Capitalized words changed. Solves 48115.hpnadig2004-03-173-7/+7
| | | | | | | | | | | | 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
* Fixes #55292Gary Ekker2004-03-171-2/+3
| | | | | | | | | | | 2004-03-17 Gary Ekker <gekker@novell.com> Fixes #55292 * gui/e-pub-utils.c (e_pub_publish): fix a crash when trying to publish a NULL component svn path=/trunk/; revision=25095
* 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
* check if the selected event has its associated ECalModelComponent.Rodrigo Moya2004-03-171-1/+1
| | | | | | | | | | 2004-03-16 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): check if the selected event has its associated ECalModelComponent. svn path=/trunk/; revision=25092
* set the search query (e_tasks_init): set the query to be #t by defaultJP Rosevear2004-03-162-3/+9
| | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (search_bar_sexp_changed_cb): set the search query (e_tasks_init): set the query to be #t by default * gui/e-cal-model.c (redo_queries): use the search query if there is one (and no time is set), make sure to dup the #f svn path=/trunk/; revision=25085
* 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-1611-1748/+11
| | | | | | | | | | | | | | | 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 #52253JP Rosevear2004-03-1611-672/+1061
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> Fixes #52253 * gui/print.c (print_week_summary_cb): copy component data * gui/gnome-cal.c (get_times_for_views): calculate the time range for each view (set_search_query): set the search query on the model (set_week_start): set the week start day (week_start_changed_cb): track if it changes (setup_config): set its notification (setup_widgets): update the view times and date navigator (gnome_calendar_init): remove dead values (gnome_calendar_goto_date): just calc the new time and let update_view_times handle it (gnome_calendar_goto): ditto (gnome_calendar_direction): ditto o (gnome_calendar_set_selected_time_range): ditto (gnome_calendar_dayjump): ditto (update_view_times): set the time ranges on the models (set_view): use the new preserve day setting (gnome_calendar_set_view): don't update the view times, just switch (gnome_calendar_get_selected_time_range): get the time range (gnome_calendar_on_date_navigator_selection_changed): don't re-update the date navigator, centralize the view setting * gui/e-week-view.c (time_range_changed_cb): handle the time range changing (process_component): move here (model_changed_cb): handle the model changing (update_row): updated a changed row (model_row_changed_cb): update a row (model_cell_changed_cb): ditto (model_rows_inserted_cb): handle events being added (row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb): handle events being deleted (timezone_changed_cb): handle timezone changing (e_week_view_init): create the model and listen to it (e_week_view_new): don't create the model here (e_week_view_set_selected_time_range): no need to cast (e_week_view_set_first_day_shown): ditto (e_week_view_set_weeks_shown): ditto (e_week_view_update_event_cb): free and copy the data using new routines (e_week_view_foreach_event): step through every event (e_week_view_remove_event_cb): we no longer track allocated status (e_week_view_on_button_release): don't set the seleciton in the calendar (e_week_view_free_events): free the data with the util (e_week_view_add_event): no need to track allocated status (e_week_view_on_adjustment_changed): no need to cast * gui/e-day-view.c (e_day_view_class_init): update query is no longer used via class method (time_range_changed_cb): handle the time range changing (process_component): move here (model_changed_cb): handle the model changing (update_row): updated a changed row (model_row_changed_cb): update a row (model_cell_changed_cb): ditto (model_rows_inserted_cb): handle events being added (row_deleted_check_cb, remove_uid_cb, model_rows_deleted_cb): handle events being deleted (timezone_changed_cb): handle timezone changing (e_day_view_init): create a model, connect to its signals (e_day_view_destroy): we don't have our own query anymore (e_day_view_update_event_cb): free and copy the data using new routines (e_day_view_remove_event_cb): we no longer track allocated status (e_day_view_set_selected_time_range): actually set the selection (e_day_view_recalc_day_starts): no need to cast (e_day_view_recalc_work_week): ditto (e_day_view_update_calendar_selection_time): don't call back to the main calendar (e_day_view_free_event_array): use the free util (e_day_view_add_event): don't track allocated status * gui/e-calendar-marshal.list: add marshaller * gui/e-cal-view.h: remove field * gui/e-cal-view.c: no longer listen for model signals (e_calendar_view_class_init): make the model arg not construct time * gui/e-cal-model.h: update/add protos * gui/e-cal-model.c (e_cal_model_class_init): set the dispose handler and add a time_range_changed signal (e_cal_model_init): defaults for queries (e_cal_model_dispose): dispose of things (e_cal_model_finalize): remove bits that are in dispose now (search_by_uid_and_client): allow NULL client to find any uid (e_cal_view_objects_added_cb): ref the client (update_e_cal_view_for_client): use the full query (remove_client): pre change for each row and emit deleted signals (redo_queries): relaunch the query for each client (e_cal_model_get_time_range): get the time range (e_cal_model_set_time_range): set the time range and redo the queries (e_cal_model_set_search_query): get the search query (e_cal_model_set_search_query): set the search query and redo the queries (e_cal_model_get_component_for_uid): get the component info based on uid (copy_ecdv): copy and ECellDateEditValue (e_cal_model_copy_component_data): copy component data (e_cal_model_free_component_data): unref the client svn path=/trunk/; revision=25072
* Fixes #48112Rodrigo Moya2004-03-151-3/+3
| | | | | | | | | | | | 2004-03-15 Rodrigo Moya <rodrigo@ximian.com> Fixes #48112 * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): disable the 'Delete' menu item on recurring meetings, since 'Delete all Occurrences' already deals with that. svn path=/trunk/; revision=25067
* Fixes #35577Rodrigo Moya2004-03-152-12/+44
| | | | | | | | | | | | | 2004-03-15 Rodrigo Moya <rodrigo@ximian.com> Fixes #35577 * gui/e-cal-view.c (e_calendar_view_delete_selected_occurrence): if the component is an instance, pass the recurrence ID to e_cal_remove_object_with_mod. Also, make the user confirm the deletion, and send the cancellation message for meetings. svn path=/trunk/; revision=25066
* return "" instead of NULL if there is no default_category set. FixesNot Zed2004-03-121-1/+1
| | | | | | | | | 2004-03-12 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c (ecm_initialize_value): return "" instead of NULL if there is no default_category set. Fixes #53419. svn path=/trunk/; revision=25042
* add a call to e_cal_component_commit_sequence since we have changed theKidd Wang2004-03-121-5/+13
| | | | | | | | | | | 2004-03-09 Kidd Wang <kidd.wang@sun.com> * gui/e-day-view.c: (e_day_view_finish_long_event_resize): add a call to e_cal_component_commit_sequence since we have changed the property of the component. Whether the new event is all day should also be set properly according to the value of the original event. svn path=/trunk/; revision=25039
* 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
* set a GConf listener callback to list for changes in selected calendars.Rodrigo Moya2004-03-052-1/+93
| | | | | | | | | | | | | 2004-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_init): set a GConf listener callback to list for changes in selected calendars. (alarm_notify_finalize): remove the GConf notification listener. (conf_changed_cb): callback to react on configuration changes. Process the new selected calendars and remove the unselected ones. (process_removal_in_hash): callback to remove unselected calendars. svn path=/trunk/; revision=24973
* Fixes #50294Rodrigo Moya2004-03-051-0/+33
| | | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #50294 * gui/e-tasks.c (setup_widgets): connect to "model_rows_deleted" signal on the ETable's model. (model_rows_deleted_cb): callback for clearing the preview widget when the currently selected task is removed. svn path=/trunk/; revision=24969
* set the sensitivity correctly, depending on whether the command applied toRodrigo Moya2004-03-052-17/+19
| | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): set the sensitivity correctly, depending on whether the command applied to the currently selected event or the default client. (calendar_control_activate): make sure we start with the menu items correctly enabled/disabled. svn path=/trunk/; revision=24968
* 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