aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Commiting the delegation support for recurrence eventsChenthill Palanisamy2005-06-228-18/+59
| | | | svn path=/trunk/; revision=29564
* Delegate support for personal calendarChenthill Palanisamy2005-06-2110-68/+490
| | | | svn path=/trunk/; revision=29552
* gui/GNOME_Evolution_Calendar.server.in.in Use SOEXT.Tor Lillqvist2005-06-183-2/+7
| | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * gui/GNOME_Evolution_Calendar.server.in.in * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Use SOEXT. svn path=/trunk/; revision=29535
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-1720-44/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* We need compare backend for long events too.Jedy Wang2005-06-132-0/+9
| | | | | | | | | | 2005-06-13 Jedy Wang <jedy.wang@sun.com> We need compare backend for long events too. * gui/e-day-view.c: (e_day_view_find_event_from_uid): svn path=/trunk/; revision=29494
* Disable the meeting editor if the user is not an organizer whereverChenthill Palanisamy2005-06-086-37/+181
| | | | | | necessary svn path=/trunk/; revision=29474
* Added support for groupwise meeting delegation.Chenthill Palanisamy2005-06-0712-74/+347
| | | | svn path=/trunk/; revision=29463
* Fixes #272301Thouis R. Jones2005-05-3011-3/+287
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-30 Thouis R. Jones <thouis@csail.mit.edu> Fixes #272301 * gui/apps_evolution_calendar.schemas.in.in: * gui/calendar-config-keys.h: * gui/calendar-config.c: (calendar_config_get_marcus_bains, calendar_config_add_notification_marcus_bains): * gui/calendar-config.h: * gui/e-day-view-config.c: (set_marcus_bains, marcus_bains_changed_cb, e_day_view_config_set_view): * gui/e-day-view-main-item.c: (e_day_view_main_item_draw): * gui/e-day-view-time-item.c: (e_day_view_time_item_draw): * gui/e-day-view.c: (e_day_view_init, e_day_view_set_colors, e_day_view_get_show_marcus_bains, e_day_view_set_marcus_bains, e_day_view_update_marcus_bains): * gui/e-day-view.h: * gui/gnome-cal.c: (update_marcus_bains_line_cb, setup_widgets, gnome_calendar_destroy): Added Marcus Bains Line to main item view and time bar. svn path=/trunk/; revision=29426
* check whether backend could handle sending resuests/updates, and if so,Harry Lu2005-05-302-1/+10
| | | | | | | | | 2005-05-30 Harry Lu <harry.lu@sun.com> * gui/itip-utils.c: (itip_send_comp): check whether backend could handle sending resuests/updates, and if so, just return. svn path=/trunk/; revision=29424
* Fixes #272114 Check if the color is present in the source before settingChenthill Palanisamy2005-05-242-4/+11
| | | | | | | | | | | 2005-05-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #272114 * gui/dialogs/calendar-setup.c: (eccp_commit), (calendar_setup_edit_calendar): Check if the color is present in the source before setting it. svn path=/trunk/; revision=29407
* Added the support to DnD remote URL to the attachment window. It downloadsSrinivasa Ragavan2005-05-247-35/+434
| | | | | | | | | | | 2005-05-24 Srinivasa Ragavan <sragavan@novell.com> * gui/dialogs/cal-attachment-bar.c, gui/dialogs/cal-attachment-bar.h, gui/dialogs/cal-attachment.c, gui/dialogs/cal-attachment.h, gui/dialogs/comp-editor.c, calendar.error.xml: Added the support to DnD remote URL to the attachment window. It downloads asynchronously and attaches. svn path=/trunk/; revision=29405
* Reverted Marcus Baines patchRodrigo Moya2005-05-1612-288/+4
| | | | svn path=/trunk/; revision=29374
* composer/e-message-composer.c calendar/gui/dialogs/comp-editor.cSrinivasa Ragavan2005-05-162-34/+17
| | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> * composer/e-message-composer.c * calendar/gui/dialogs/comp-editor.c * ui/evolutoin-message-composer.xml Removed the expander for the attachment bar and made visible always. svn path=/trunk/; revision=29373
* Removed the debug messages.Chenthill Palanisamy2005-05-162-3/+6
| | | | | | | | | | 2005-05-16 Chenthill Palanisamy <pchenthill@novell.com> * gui/gnome-cal.c: (client_cal_opened_cb), (default_client_cal_opened_cb): Removed the debug messages. svn path=/trunk/; revision=29372
* moved e-error to e-util/Not Zed2005-05-1616-382/+235
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util/ svn path=/trunk/; revision=29363
* shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.hSrinivasa Ragavan2005-05-162-0/+6
| | | | | | | | | | | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.h shell/e-shell-window.c shell/e-sidebar.h shell/e-sidebar.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in calendar/ChangeLog calendar/gui/GNOME_Evolution_Calendar.server.in.in mail/ChangeLog mail/GNOME_Evolution_Mail.server.in.in Added support for tooltips for component switching buttons. svn path=/trunk/; revision=29358
* Fixes #272301Thouis R. Jones2005-05-1312-4/+288
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-13 Thouis R. Jones <thouis@csail.mit.edu> Fixes #272301 * gui/apps_evolution_calendar.schemas.in.in: * gui/calendar-config-keys.h: * gui/calendar-config.c: (calendar_config_get_marcus_bains, calendar_config_add_notification_marcus_bains): * gui/calendar-config.h: * gui/e-day-view-config.c: (set_marcus_bains, marcus_bains_changed_cb, e_day_view_config_set_view): * gui/e-day-view-main-item.c: (e_day_view_main_item_draw): * gui/e-day-view-time-item.c: (e_day_view_time_item_draw): * gui/e-day-view.c: (e_day_view_init, e_day_view_set_colors, e_day_view_get_show_marcus_bains, e_day_view_set_marcus_bains, e_day_view_update_marcus_bains): * gui/e-day-view.h: * gui/gnome-cal.c: (update_marcus_bains_line_cb, setup_widgets, gnome_calendar_destroy): Added Marcus Bains Line to main item view and time bar. svn path=/trunk/; revision=29351
* Setting default until date to 2 weeks after the start date. Fixes #268906Sushma Rai2005-05-132-3/+12
| | | | svn path=/trunk/; revision=29347
* On behalf of jack jia <jack.jia@sun.com>Harish Krishnaswamy2005-05-122-1/+9
| | | | | | | | | | fixes #229794 * gui/dialogs/recurrence-page.c: (make_weekly_special): Allow deselection of the current day while scheduling recurrences based on weeek days. svn path=/trunk/; revision=29337
* Missed Changelog in previous commit.Sushma Rai2005-05-121-0/+6
| | | | svn path=/trunk/; revision=29334
* Now not marking geographical locations for translation. Fixes #261080Sushma Rai2005-05-121-2/+2
| | | | svn path=/trunk/; revision=29333
* Fixes #271523Vivek Jain2005-05-122-2/+23
| | | | | | | | | | | | | | | 2005-05-12 Vivek Jain <jvivek@novell.com> Fixes #271523 * gui/dialogs/calendar-setup.c: (CalendarSourceDialog): included an ECalSourceType member in the structure (calendar_setup_edit_calendar): set source_type as EVENT (calendar_setup_edit_task_list): set source_type as TODO (eccp_general_offline): Change the label according to the type svn path=/trunk/; revision=29332
* Fixes the bug 269416 It makes the DnD to move tasks instead copying.Srinivasa Ragavan2005-05-122-0/+6
| | | | | | | | 2005-05-12 Srinivasa Ragavan <sragavan@novell.com> * gui/task-component.c (selector_tree_drag_motion): Fixes the bug 269416 It makes the DnD to move tasks instead copying. svn path=/trunk/; revision=29331
* Fixes #301350Rodrigo Moya2005-05-102-1/+33
| | | | | | | | | | | | | | 2005-05-09 Rodrigo Moya <rodrigo@novell.com> Fixes #301350 * gui/alarm-notify/alarm-queue.c (alarm_queue_init): install a timeout handler to check, every 30 minutes, for not losing the midnight refresh. (check_midnight_refresh): check the midnight refresh and if we missed it, reload alarms. (queue_midnight_refresh): made the midnight value be global. svn path=/trunk/; revision=29321
* Made the alarm-notify dialog multi-alarm awarePhilip Van Hoof2005-05-091-1/+1
| | | | | | | | | 2005-05-09 Philip Van Hoof <pvanhoof@gnome.org> * gui/alarm-notify/*: Made the alarm-notify dialog multi-alarm aware svn path=/trunk/; revision=29316
* Made the alarm-notify dialog multi-alarm awarePhilip Van Hoof2005-05-096-467/+662
| | | | | | | | | 2005-05-11 Philip Van Hoof <pvanhoof@gnome.org> * gui/alarm-notify/*: Made the alarm-notify dialog multi-alarm aware svn path=/trunk/; revision=29315
* cover the case when there is no calendar.ics/tasks.ics file in the folderRodrigo Moya2005-05-092-1/+6
| | | | | | | | | 2005-05-09 Rodrigo Moya <rodrigo@novell.com> * gui/migration.c (migrate_ical_folder_to_source): cover the case when there is no calendar.ics/tasks.ics file in the folder to migrate. svn path=/trunk/; revision=29313
* **Fixes #261079 Added translator comments.Vivek Jain2005-05-072-1/+13
| | | | | | | | | | 2005-05-06 Vivek Jain <jvivek@novell.com> **Fixes #261079 * gui/e-alarm-list.c:(get_alarm_string) Added translator comments. svn path=/trunk/; revision=29311
* Fixing a grammar mistake. See 301459Chenthill Palanisamy2005-05-062-1/+7
| | | | | | | | | | 2005-05-06 Chenthill Palanisamy <pchenthill@novell.com> * gui/apps_evolution_calendar.schemas.in.in: Fixing a grammar mistake. See 301459 svn path=/trunk/; revision=29295
* Fix for 272542Harish Krishnaswamy2005-05-062-2/+7
| | | | svn path=/trunk/; revision=29293
* Changelog already addedChenthill Palanisamy2005-05-061-3/+3
| | | | svn path=/trunk/; revision=29287
* Fixes #272464Chenthill Palanisamy2005-05-063-4/+11
| | | | | | | | | | | 2005-05-06 Chenthill Palanisamy <pchenthill@novell.com> Fixes #272464 * calendar-errors.xml: * calendar-errors.xml.h: Changed the primary and secondary messages to make it more clear. svn path=/trunk/; revision=29284
* **Fixes #272566 removed unwanted space in button labelVivek Jain2005-05-062-1/+7
| | | | | | | | | | 2005-05-06 Vivek Jain <jvivek@novell.com> **Fixes #272566 * gui/dialogs/event-page.glade: removed unwanted space in button label svn path=/trunk/; revision=29279
* uncomment code that shouldn't be.Rodrigo Moya2005-05-062-9/+14
| | | | | | | | | 2005-05-06 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_added_cb): uncomment code that shouldn't be. svn path=/trunk/; revision=29278
* Fixes #271679Rodrigo Moya2005-05-0610-64/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-06 Rodrigo Moya <rodrigo@novell.com> Fixes #271679 * gui/dialogs/comp-editor.c (save_comp): * gui/e-week-view.c (e_week_view_on_editing_stopped, e_week_view_change_event_time): set correct start/end times for individual instances and remove all rules and exceptions. (e_week_view_reshape_event_span): show recurrence icons for detached instances also. * gui/e-day-view.c (e_day_view_finish_resize, e_day_view_finish_long_event_resize, e_day_view_on_editing_stopped, e_day_view_on_top_canvas_drag_data_received, e_day_view_on_main_canvas_drag_data_received, e_day_view_change_event_time): set the correct start/end times when modifying individual instances and remove all rules and exceptions. (e_day_view_on_top_canvas_motion, e_day_view_on_main_canvas_motion): disable D&D for recurring events. (e_day_view_reshape_long_event, e_day_view_reshape_day_event): check for detached instances and show recurrence icons for them also. * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): check for detached instances and show recurrence icons for them also. * gui/e-cal-model.c (set_instance_times): don't use the RECURRENCE-ID to get the datetime. * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): exceptions need to be date only. (e_calendar_view_copy_clipboard): remove RECURRENCE-IDs from components we copy to the clipboard. (e_calendar_view_cut_clipboard): when cutting instances, remove only the selected instances. (on_unrecur_appointment): use MOD_ALL to modify the master object and remove recurrence-id from detached event. * gui/dialogs/recur-comp.c (recur_component_dialog): re-enabled. svn path=/trunk/; revision=29276
* removed GAL's e-categories.h include.Rodrigo Moya2005-05-053-2/+5
| | | | | | | | | 2005-05-05 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.c: * gui/dialogs/task-page.c: removed GAL's e-categories.h include. svn path=/trunk/; revision=29271
* Fixes #274406 Removed the additional unref present.Chenthill Palanisamy2005-05-022-1/+6
| | | | | | | | | 2005-05-01 Chenthill Palanisamy <pchenthill@novell.com> Fixes #274406 * gui/alarm-notify/alarm-notify.c: (cal_opened_cb): Removed the additional unref present. svn path=/trunk/; revision=29256
* Changing the date of commit.Chenthill Palanisamy2005-04-181-1/+1
| | | | svn path=/trunk/; revision=29214
* Fixes #274476 Send the right value boolean variable meeting toChenthill Palanisamy2005-04-182-2/+8
| | | | | | | | | | | 2005-04-13 Chenthill Palanisamy <pchenthill@novell.com> Fixes #274476 * gui/e-calendar-view.c: (e_calendar_view_open_event): Send the right value boolean variable meeting to e_calendar_view_edit_appointment method. svn path=/trunk/; revision=29211
* Fixes #70035Rodrigo Moya2005-04-082-2/+9
| | | | | | | | | | | 2005-04-08 Rodrigo Moya <rodrigo@novell.com> Fixes #70035 * importers/icalendar-importer.c (support_format_fn, load_file_fn): use e_cal_util_parse_ics_string instead of icalparser_parse_string. svn path=/trunk/; revision=29194
* If the status is busy call open method again, do not remove the client. IFChenthill Palanisamy2005-04-083-2/+25
| | | | | | | | | | | | | 2005-04-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-cal-model.c: (cal_opened_cb): If the status is busy call open method again, do not remove the client. * gui/gnome-cal.c: (client_cal_opened_cb), (default_client_cal_opened_cb): IF the status is busy and the load_state is not loaded call open method. svn path=/trunk/; revision=29181
* Fixes #68423Rodrigo Moya2005-04-054-0/+18
| | | | | | | | | | | | | 2005-04-04 Rodrigo Moya <rodrigo@novell.com> Fixes #68423 * gui/migration.c (migrate_ical): * gui/e-tasks,c (e_tasks_expunge): * gui/gnome-cal.c (gnome_calendar_purge): fixed huge (in some cases) memory leaks. svn path=/trunk/; revision=29151
* Fixes #41740Rodrigo Moya2005-04-025-3/+25
| | | | | | | | | | | | | | | | 2005-04-01 Rodrigo Moya <rodrigo@novell.com> Fixes #41740 * gui/calendar-errors.xml: * gui/calendar-errors.xml.h: added editor error. * gui/alarm-notify/alarm-queue.c (edit_component): display error messages when we can't load the component in the editor. * gui/alarm-notify/Makefile.am: linked against libemiscwidgets.la. svn path=/trunk/; revision=29148
* Changing the date of commit.Chenthill Palanisamy2005-04-011-1/+1
| | | | svn path=/trunk/; revision=29147
* Fixes #73879 Added a function to sensitize/desensitize the attachment bar.Chenthill Palanisamy2005-04-015-1/+41
| | | | | | | | | | | | | | | | 2005-03-31 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73879 * gui/dialogs/comp-editor.[ch]: (comp_editor_sensitize_attachment_bar): Added a function to sensitize/desensitize the attachment bar. (comp_editor_notify_client_changed): When client changes sensitize the attachment bar. * gui/dialogs/event-editor.c: (event_editor_construct): * gui/dialogs/task-editor.c: (task_editor_construct): Sensitize the attachment bar. svn path=/trunk/; revision=29146
* Changing the date of commitChenthill Palanisamy2005-03-311-1/+1
| | | | svn path=/trunk/; revision=29129
* Fixes #73969 Remove the recurrence id property if its present.Chenthill Palanisamy2005-03-312-0/+8
| | | | | | | | | | 2005-03-29 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73969 * gui/e-calendar-view.c: (delete_event): Remove the recurrence id property if its present. svn path=/trunk/; revision=29128
* Fixes #73914Li Yuan2005-03-302-0/+10
| | | | | | | | | | | 2005-03-30 Li Yuan <li.yuan@sun.com> Fixes #73914 * gui/dialogs/cal-prefs-dialog.glade: add a11y name to Publishing Table. svn path=/trunk/; revision=29123
* Fixes #44719Rodrigo Moya2005-03-282-0/+8
| | | | | | | | | | | 2005-03-28 Rodrigo Moya <rodrigo@novell.com> Fixes #44719 * gui/alarm-queue.c (display_notification): make the alarm dialog sticky when not using the system tray. svn path=/trunk/; revision=29116
* Fixes #69272JP Rosevear2005-03-242-14/+16
| | | | | | | | | | | | | | 2005-03-24 JP Rosevear <jpr@novell.com> Fixes #69272 * gui/comp-util.c (cal_comp_event_new_with_defaults): ensure we always return a valid comp * gui/comp-util.c (cal_comp_task_new_with_defaults): ditto; fix obvious pasto that would cause a leak svn path=/trunk/; revision=29107
* Fixes #73320 Check if we are editing the same row and if so do not removeChenthill Palanisamy2005-03-242-1/+8
| | | | | | | | | | 2005-03-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73320 * gui/e-meeting-list-view.c: (attendee_edited_cb): Check if we are editing the same row and if so do not remove the attendee. svn path=/trunk/; revision=29098
* Fixes #73508 Set the organizers status as NEEDS ACTION, checking for theChenthill Palanisamy2005-03-242-1/+10
| | | | | | | | | | 2005-03-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73508 * gui/dialogs/meeting-page.c: (meeting_page_fill_widgets): Set the organizers status as NEEDS ACTION, checking for the static capability. svn path=/trunk/; revision=29096
* remove the edit function.Li Yuan2005-03-232-9/+8
| | | | | | | | | | | 2005-03-16 Li Yuan <li.yuan@sun.com> * gui/calendar-view.c: (calendar_view_class_init): remove the edit function. Fixes # 40762 svn path=/trunk/; revision=29094
* Popup all the menu items when clicked on the source.Chenthill Palanisamy2005-03-222-13/+7
| | | | | | | | | 2005-03-22 Chenthill Palanisamy <pchenthill@novell.com> * gui/calendar-component.c: (popup_event_cb): Popup all the menu items when clicked on the source. svn path=/trunk/; revision=29090
* Fixes #73031Chenthill Palanisamy2005-03-213-9/+48
| | | | | | | | | | | 2005-03-21 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73031 * gui/dialogs/event-editor.c: (event_editor_finalize): * gui/dialogs/task-editor.c: (task_editor_finalize): Added a check for the presence of the object before unreffing it. svn path=/trunk/; revision=29076
* if its busy, try again (client_cal_opened_cb): dittoJP Rosevear2005-03-212-0/+8
| | | | | | | | | | 2005-03-21 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (default_client_cal_opened_cb): if its busy, try again (client_cal_opened_cb): ditto svn path=/trunk/; revision=29074
* abort sequence (e_day_view_on_top_canvas_motion): prevent drag ofJP Rosevear2005-03-213-9/+17
| | | | | | | | | | | | | 2005-03-21 JP Rosevear <jpr@novell.com> * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): abort sequence (e_day_view_on_top_canvas_motion): prevent drag of recurring events (e_day_view_on_main_canvas_motion): ditto * gui/e-calendar-view.c (on_unrecur_appointment): clear recur id svn path=/trunk/; revision=29073
* ensure the color and primary config are set on the personal sourceJP Rosevear2005-03-213-0/+29
| | | | | | | | | | | 2005-03-21 JP Rosevear <jpr@novell.com> * gui/tasks-component.c (ensure_sources): ensure the color and primary config are set on the personal source * gui/calendar-component.c (ensure_sources): ditto svn path=/trunk/; revision=29072
* Fixes #44579Li Yuan2005-03-212-3/+20
| | | | | | | | | 2005-03-21 Li Yuan <li.yuan@sun.com> * gui/print.c: (print_comp_item): Fixes #44579 svn path=/trunk/; revision=29068
* Fixes #68525, 68580 Added a boolean variable to avoid crash when a raceChenthill Palanisamy2005-03-182-0/+15
| | | | | | | | | | | 2005-03-17 Chenthill Palanisamy <pchenthill@novell.com> Fixes #68525, 68580 * gui/gnome-cal.c (update_query), (gnome_calendar_init): Added a boolean variable to avoid crash when a race condition occurs. svn path=/trunk/; revision=29062
* Fixes #73101Rodrigo Moya2005-03-163-3/+10
| | | | | | | | | | | 2005-03-16 Rodrigo Moya <rodrigo@novell.com> Fixes #73101 * calendar-errors.xml: * calendar-errors.xml.h: removed unnecessary leading space. svn path=/trunk/; revision=29043
* Fixes 72983Rodrigo Moya2005-03-162-0/+8
| | | | | | | | | | | 2005-03-16 Rodrigo Moya <rodrigo@novell.com> Fixes 72983 * gui/e-cal-list-view.c (e_cal_list_view_new): set EXPAND_RECURRENCES flag on the model. svn path=/trunk/; revision=29041
* when publishing, the to_list will always be null so don't error out thenJP Rosevear2005-03-162-4/+9
| | | | | | | | | 2005-03-15 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (itip_send_comp): when publishing, the to_list will always be null so don't error out then svn path=/trunk/; revision=29026
* Merge from 2.10 branchJP Rosevear2005-03-154-2/+8
| | | | svn path=/trunk/; revision=29019
* Fixes #73563JP Rosevear2005-03-142-1/+9
| | | | | | | | | | | | 2005-03-13 JP Rosevear <jpr@novell.com> Fixes #73563 * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): make sure in the snooze case the tray (and via callbacks then) the dialog is destroyed svn path=/trunk/; revision=29011
* Fixes #72979 Check whether its a meeting and send appropriate booleanChenthill Palanisamy2005-03-142-2/+20
| | | | | | | | | | | 2005-03-14 Chenthill Palanisamy <pchenthill@novell.com> Fixes #72979 * gui/e-cal-list-view.c (find_meeting), (e_cal_list_view_on_table_double_click): Check whether its a meeting and send appropriate boolean variable. svn path=/trunk/; revision=29006
* Handling static capability for disabling general send options at theSushma Rai2005-03-113-9/+23
| | | | | | right palce. Fixes #73501 svn path=/trunk/; revision=29000
* free the ecalcomponent after using it.Not Zed2005-03-113-1/+8
| | | | | | | | | | 2005-03-09 Not Zed <NotZed@Ximian.com> * gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons): * gui/e-day-view.c (e_day_view_reshape_day_event): free the ecalcomponent after using it. svn path=/trunk/; revision=28998
* Fixes #73141 Assign the updated client to priv->client and unref the oldChenthill Palanisamy2005-03-082-0/+11
| | | | | | | | | | | 2005-03-08 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73141 * gui/dialogs/comp-editor.c: (comp_editor_notify_client_changed):Assign the updated client to priv->client and unref the old one. svn path=/trunk/; revision=28979
* disable dialog for asking user which instance(s) to modify.Rodrigo Moya2005-03-062-0/+18
| | | | | | | | | 2005-03-06 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recur-comp.c (recur_component_dialog): disable dialog for asking user which instance(s) to modify. svn path=/trunk/; revision=28971
* Fixes #72835Rodrigo Moya2005-03-044-54/+127
| | | | | | | | | | | | | | | | | | | | | | 2005-03-04 Rodrigo Moya <rodrigo@novell.com> Fixes #72835 * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog): changed to return the dialog we create, and to run in the background. (dialog_response_cb): response callback for the dialog. * gui/alarm-notify/alarm-queue.c (alarm_queue_done): don't g_assert, just check for midnight_refresh pointer, and clear it up if not NULL. Also, traverse all clients with g_hash_table_foreach_remove. (free_client_alarms_cb, alarm_queue_remove_client, load_alarms): added missing cleanup code. (queue_midnight_refresh): don't g_assert, just check for midnigh_refresh pointer and clear it up if not NULL. (open_alarm_dialog): store the dialog returned by alarm_notify_dialog(). (tray_icon_destroyed_cb): destroy the dialog if still around. svn path=/trunk/; revision=28956
* Fixes #69556 Add missing call to attach_mime_part.Harish Krishnaswamy2005-03-012-0/+16
| | | | | | | | | | | 2005-02-28 Harish Krishnaswamy <kharish@novell.com> Fixes #69556 * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_attach_mime_part): Add missing call to attach_mime_part. svn path=/trunk/; revision=28923
* Fixes #72928Rodrigo Moya2005-03-013-6/+16
| | | | | | | | | | | | | 2005-02-28 Rodrigo Moya <rodrigo@novell.com> Fixes #72928 * gui/alarm-notify/notify-main.c (main): don't call alarm_queue_done... * gui/alarm-notify/alarm-notify.c (alarm_notify_finalize): ...do it at the same level than alarm_queue_init. svn path=/trunk/; revision=28922
* revert fix for 70000, its a ui changeJP Rosevear2005-03-012-1/+5
| | | | | | | | | 2005-02-28 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_goto_today): revert fix for 70000, its a ui change svn path=/trunk/; revision=28919
* Connect the signal to "event", and open the attachment only if its aChenthill Palanisamy2005-03-012-15/+25
| | | | | | | | | | 2005-02-28 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/comp-editor.c: (attachment_bar_icon_clicked_cb), (setup_widgets): Connect the signal to "event", and open the attachment only if its a double click from the cal attachment bar. svn path=/trunk/; revision=28916
* Fixes #72958 If the backend returns success, if the delay delivery is set,Chenthill Palanisamy2005-02-282-3/+34
| | | | | | | | | | | | 2005-02-28 Chenthill Palanisamy <pchenthill@novell.com> Fixes #72958 * gui/dialogs/comp-editor.c: (save_comp): If the backend returns success, if the delay delivery is set, do not show them in the view, since it will not be created in the server. svn path=/trunk/; revision=28914
* Make sure the base uri is same as the one migration code uses. Avoids twoSivaiah Nallagatla2005-02-262-1/+8
| | | | | | | | | | | 2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/calendar-component.c (ensure_sources) : Make sure the base uri is same as the one migration code uses. Avoids two "On This Computer" groups when both migration and this code runs. svn path=/trunk/; revision=28890
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-247-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* Fixes #70000JP Rosevear2005-02-242-0/+8
| | | | | | | | | | | 2005-02-23 JP Rosevear <jpr@novell.com> Fixes #70000 * gui/gnome-cal.c (gnome_calendar_goto_today): set the view type to day view svn path=/trunk/; revision=28870
* Fixes #72006Chenthill Palanisamy2005-02-234-3/+14
| | | | | | | | | | | | | 2005-02-23 Chenthill Palanisamy <pchenthill@novell.com> Fixes #72006 * gui/dialogs/comp-editor.c: (real_edit_comp): * gui/dialogs/event-editor.c: (show_meeting): * gui/dialogs/task-editor.c: (show_assignment): Reset the changed state, to suppress the promt_to_changes dialog when the fields are not changed. svn path=/trunk/; revision=28868
* Add one more bug to the ChangeLogJP Rosevear2005-02-231-1/+1
| | | | svn path=/trunk/; revision=28852
* Fixes #63866, #67714, #62089, #47747, #61495JP Rosevear2005-02-237-153/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-21 JP Rosevear <jpr@novell.com> Fixes #63866, #67714, #62089, #47747, #61495 * gui/e-select-names-renderer.h: update signal * gui/e-select-names-renderer.c (e_select_names_renderer_editing_done): emit the cancelled signal properly and don't update if it was cancelled (e_select_names_renderer_focus_out_event): if the cell loses focus the editing is done (e_select_names_renderer_start_editing): listen for focus out event, and only set the address if appropriate (e_select_names_renderer_get_property): handle name/email props (e_select_names_renderer_set_property): ditto (e_select_names_renderer_finalize): free name/email (e_select_names_renderer_class_init): install name/email props; cell_edited returns lists now * gui/e-select-names-editable.h: update protos * gui/e-select-names-editable.c: don't really override any of the gtkentry editable cell routines since we directly inherit from ENameSelectorEntry (e_select_names_editable_get_emails): get all the email addresses (e_select_names_editable_get_names): get all the names (e_select_names_editable_set_address): set the destination correctly for editing * gui/e-meeting-list-view.c (attendee_edited_cb): handle a blank entry by removing it and don't allow an entry that already exists to be entered (attendee_editing_canceled_cb): if the item editing is cancelled and it has no name or email address, remove it (process_section): if the contact has multiple addresses (ie a mailing list), expand the entries * gui/e-calendar-marshal.list: add new marshaller svn path=/trunk/; revision=28851
* Make sure all the default source groups and sources are present by addingSivaiah Nallagatla2005-02-223-12/+261
| | | | | | | | | | | | | | | | | | | 2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> * gui/calendar-component.c (ensure_sources) : Make sure all the default source groups and sources are present by adding missing ones. Also update the base uri of "On This Computer" group to take care of change in user home dir. (calendar_component_init) : call ensure_sources * gui/tasks-component.c (ensure_sources) (tasks_component_init) : ditto Takes care of #67411 & #67724 for calendar and tasks components. svn path=/trunk/; revision=28840
* if opening the calendar failed, disconnect signals and unref it.Rodrigo Moya2005-02-182-0/+8
| | | | | | | | | 2005-02-18 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-notify.c (cal_opened_cb): if opening the calendar failed, disconnect signals and unref it. svn path=/trunk/; revision=28810
* added a boolean variable is_meeting. added a boolean variableChenthill Palanisamy2005-02-188-7/+47
| | | | | | | | | | | | | | | | | | | | | | | 2005-02-18 Chenthill Palanisamy <pchenthill@novell.com> * _EventPagePrivate: added a boolean variable is_meeting. * _TaskPagePrivate: added a boolean variable is_assignment. * gui/dialogs/task-page.h: * gui/dialogs/event-page.h: Added a function to set the is_meeting boolean variable. * gui/dialogs/event-editor.c: (show_meeting): * gui/dialogs/task-editor.c: (show_assignment): Called the function to set the boolean variable. * gui/dialogs/event-page.c: (event_page_init), (event_page_set_meeting), (source_changed_cb): * gui/dialogs/task-page.c: (task_page_init), (task_page_set_assignment), (source_changed_cb): If the source is changed and only if its a group event show the send options frame. * gui/gnome-cal.c: (client_cal_opened_cb): Do not popup the offline error dialog for tasks. svn path=/trunk/; revision=28809
* check return value from e_cal_new, to display a better warning message.Rodrigo Moya2005-02-162-3/+15
| | | | | | | | | 2005-02-15 Rodrigo Moya <rodrigo@novell.com> * gui/migration.c (migrate_ical_folder_to_source): check return value from e_cal_new, to display a better warning message. svn path=/trunk/; revision=28800
* Fixes #72038Rodrigo Moya2005-02-152-0/+11
| | | | | | | | | | | 2005-02-11 Rodrigo Moya <rodrigo@novell.com> Fixes #72038 * gui/itip-utils.c (itip_send_comp): when we get no recipients, don't send the message and return an error. svn path=/trunk/; revision=28798
* Remove the component from the view, if its already present before addingChenthill Palanisamy2005-02-102-2/+20
| | | | | | | | | | 2005-02-10 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Remove the component from the view, if its already present before adding it. svn path=/trunk/; revision=28763
* Always remove the meeting and scheduling pages when there are noHarish Krishnaswamy2005-02-092-1/+8
| | | | | | | attendees. This allows the sender to be added to the attendees list by default while creating new meetings. svn path=/trunk/; revision=28756
* set instance times correctly.Rodrigo Moya2005-02-082-29/+12
| | | | | | | | 2005-02-08 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): set instance times correctly. svn path=/trunk/; revision=28747
* Fixes #61075JP Rosevear2005-02-082-32/+71
| | | | | | | | | | | 2005-02-07 JP Rosevear <jpr@novell.com> Fixes #61075 * gui/apps_evolution_calendar.schemas.in.in: add long descriptions and clean up short items svn path=/trunk/; revision=28741
* correct the error that was made in the earlier commit that was missing a ':'Harish Krishnaswamy2005-02-051-1/+1
| | | | svn path=/trunk/; revision=28719
* add messages for calendar/tasks not marked for offline usage.Harish Krishnaswamy2005-02-055-21/+63
| | | | | | | | | | | * calendar-errors.xml: * calendar-errors.xml.h: * gui/e-tasks.c: (client_cal_opened_cb): * gui/gnome-cal.c: (client_cal_opened_cb), (default_client_cal_opened_cb): add messages for calendar/tasks not marked for offline usage. svn path=/trunk/; revision=28718
* fix the dnd woes on calendar attachments. gui/dialogs/cal-attachment-bar.cHarish Krishnaswamy2005-02-051-1/+1
| | | | | | | | | | | | * gui/dialogs/comp-editor.c (attach_message), (drop_action), (drop_popup_copy), (drop_popup_move), (drop_popup_cancel), (drop_popup_free), (drag_data_received), (drag_motion), (comp_editor_class_init), (comp_editor_init), (real_edit_comp): fix the dnd woes on calendar attachments. * gui/dialogs/cal-attachment-bar.c * (add_from_file): reuse mail composer's error message. svn path=/trunk/; revision=28716
* fix the dnd woes on calendar attachments. gui/dialogs/cal-attachment-bar.cHarish Krishnaswamy2005-02-052-1/+394
| | | | | | | | | | | | * gui/dialogs/comp-editor.c (attach_message), (drop_action), (drop_popup_copy), (drop_popup_move), (drop_popup_cancel), (drop_popup_free), (drag_data_received), (drag_motion), (comp_editor_class_init), (comp_editor_init), (real_edit_comp): fix the dnd woes on calendar attachments. * gui/dialogs/cal-attachment-bar.c * (add_from_file): reuse mail composer's error message. svn path=/trunk/; revision=28715
* Add a11y name for attachment button and bars.Harry Lu2005-02-053-0/+11
| | | | | | | | | | | 2005-02-04 Harry Lu <harry.lu@sun.com> Add a11y name for attachment button and bars. * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_new): * gui/dialogs/comp-editor.c: (setup_widgets): svn path=/trunk/; revision=28714
* Add a string to CompEditorPrivate to store the name of the help section weRodney Dawes2005-02-045-0/+62
| | | | | | | | | | | | | | | | | | | | | | 2005-02-04 Rodney Dawes <dobey@novell.com> * gui/dialogs/comp-editor.[ch]: Add a string to CompEditorPrivate to store the name of the help section we need to refer for derived dialogs (response_cb): Handle the GTK_RESPONSE_HELP response and show help (setup_widgets): Add a button to the dialog for Help (comp_editor_init): Default to the "usage-calendar" help section (comp_editor_finalize): Free the help_section variable (comp_editor_show_help): Add a new method to actually open the help (comp_editor_set_help_section): Add a method for derivatives to set the help section they want to open * gui/dialogs/event-editor.c (event_editor_init): Set the help section we want to open for the event editor to "usage-calendar-apts" * gui/dialogs/task-editor.c (task_editor_init): Set the help section we want to open for the event editor to "usage-calendar-todo" svn path=/trunk/; revision=28710
* clear the component preview when we update the view.Rodrigo Moya2005-02-045-6/+13
| | | | | | | | | | | | 2005-02-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (update_view): clear the component preview when we update the view. * gui/e-cal-model.c (set_instance_times): use the correct timezone. Removed commented code. svn path=/trunk/; revision=28708
* Fixes #71265Rodrigo Moya2005-02-043-2/+19
| | | | | | | | | | | | 2005-02-04 Rodrigo Moya <rodrigo@novell.com> Fixes #71265 * gui/e-week-view.c (e_week_view_remove_event_cb): * gui/e-day-view.c (e_day_view_remove_event_cb): if we remove the event we were editing, update internal pointers. svn path=/trunk/; revision=28707
* calendar-errors.xml.h changed the warning message string forVivek Jain2005-02-043-2/+8
| | | | | | | | | | 2005-02-04 Vivek Jain <jvivek@novell.com> * calendar-errors.xml.h * calendar-errors.xml : changed the warning message string for server-version svn path=/trunk/; revision=28705
* Fix for #56901Yong Sun2005-02-042-2/+9
| | | | | | | | | | | 2005-02-04 Yong Sun <yong.sun@sun.com> Fix for #56901 * gui/print.c: (bound_text): When the width>maxwidth, the pointer 'p' should also be backwarded, same as 'o'. svn path=/trunk/; revision=28700
* Update to include new strings from the calendar-errors.xml fileRodney Dawes2005-02-042-0/+11
| | | | | | | | | 2005-02-03 Rodney Dawes <dobey@novell.com> * calendar-errors.xml.h: Update to include new strings from the calendar-errors.xml file svn path=/trunk/; revision=28692
* add a11y name to url. add a11y name to date completed. add a11y names toLi Yuan2005-02-034-6/+19
| | | | | | | | | | | | | 2005-02-03 Li Yuan <li.yuan@sun.com> * gui/dialogs/task-details-page.c: (get_widgets): add a11y name to url. * gui/dialogs/task-details-page.glade: add a11y name to date completed. * gui/dialogs/task-page.glade: add a11y names to due date and start date. svn path=/trunk/; revision=28687
* added a warning message for invalid server version added a case to checkVivek Jain2005-02-033-0/+24
| | | | | | | | | | | | 2005-02-03 Vivek Jain <jvivek@novell.com> * calendar-errors.xml : added a warning message for invalid server version * gui/gnome-cal.c (default_client_cal_opened_cb) (client_cal_opened_cb): added a case to check the call status and display warning svn path=/trunk/; revision=28686
* Set the border width for the internal dialog containers to be HIGRodney Dawes2005-02-035-735/+758
| | | | | | | | | | | | | | | | | | 2005-02-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/alarm-dialog.c (alarm_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-list-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant svn path=/trunk/; revision=28681
* Fixes #72090Rodrigo Moya2005-02-022-31/+40
| | | | | | | | | | | 2005-02-02 Rodrigo Moya <rodrigo@novell.com> Fixes #72090 * gui/calendar-component.c (impl_handleURI): don't assume the URI is always correct. svn path=/trunk/; revision=28677
* Clean up the spacing and padding, and shove the notebook and expanderRodney Dawes2005-02-022-4/+24
| | | | | | | | | | | | | 2005-02-01 Rodney Dawes <dobey@novell.com> * gui/dialogs/comp-editor.c (setup_widgets): Clean up the spacing and padding, and shove the notebook and expander arrow into a vbox so that we can be HIG compliant (comp_editor_init): Remove the separator from the "dialog" and set the border width for the internal dialog widgets appropriately to be compliant with the HIG for dialog borders svn path=/trunk/; revision=28662
* fix typoJP Rosevear2005-02-023-6/+12
| | | | | | | | | | 2005-02-01 JP Rosevear <jpr@novell.com> * gui/e-tasks.c (e_tasks_destroy): fix typo * gui/gnome-cal.c (gnome_calendar_destroy): ditto svn path=/trunk/; revision=28661
* add correct mask for detached recurrences.Rodrigo Moya2005-02-013-0/+10
| | | | | | | | | | 2005-02-01 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-menu.c (e_cal_menu_target_new_select): * gui/e-cal-popup.c (e_cal_popup_target_new_select): add correct mask for detached recurrences. svn path=/trunk/; revision=28660
* only add real data to the array.Rodrigo Moya2005-02-012-2/+8
| | | | | | | | | | 2005-02-01 Rodrigo Moya <rodrigo@novell.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): only add real data to the array. svn path=/trunk/; revision=28658
* Fixes #71944JP Rosevear2005-02-012-0/+8
| | | | | | | | | | | 2005-02-01 JP Rosevear <jpr@novell.com> Fixes #71944 * gui/e-tasks.c: declare config_categories_changed_cb before its used svn path=/trunk/; revision=28652
* And the changelog entry.Hans Petter2005-02-011-0/+5
| | | | svn path=/trunk/; revision=28648
* Remove the -module flag, this isn't supposed to be a module.Hans Petter Jansson2005-02-011-1/+1
| | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * common/Makefile.am (libevolution_calendarprivate_la_LDFLAGS): Remove the -module flag, this isn't supposed to be a module. svn path=/trunk/; revision=28647
* Remove definition of CalObjUID and include that fromHans Petter Jansson2005-02-012-3/+7
| | | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * idl/evolution-calendar.idl: Remove definition of CalObjUID and include that from Evolution-DataServer-Calendar.idl instead. This prevents the typecode from being defined twice. svn path=/trunk/; revision=28642
* Use guint instead of ulong for signal ID.Hans Petter Jansson2005-02-012-1/+6
| | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * gui/e-cal-config.c (_ECalConfigPrivate): Use guint instead of ulong for signal ID. svn path=/trunk/; revision=28640
* Fixes #61078Priit Laes2005-01-312-4/+10
| | | | | | | | | | 2005-01-31 Priit Laes <amd@tt.ee> Fixes #61078 * gui/dialogs/task-page.glade: use consistent style for markup. svn path=/trunk/; revision=28629
* Fixes #64682 Added an X property to identify if the appointment is movedChenthill Palanisamy2005-01-312-2/+15
| | | | | | | | | | | 2005-01-31 Chenthill Palanisamy <pchenthill@novell.com> Fixes #64682 * gui/e-calendar-view.c: (transfer_item_to): Added an X property to identify if the appointment is moved from another calendar. svn path=/trunk/; revision=28627
* Fixes #71452JP Rosevear2005-01-292-2/+30
| | | | | | | | | | | | 2005-01-28 JP Rosevear <jpr@novell.com> Fixes #71452 * gui/dialogs/comp-editor.c (setup_widgets): listen for delete_event signal and handle it outside of the response signal so that cancel works properly svn path=/trunk/; revision=28605
* use correct key name.Rodrigo Moya2005-01-293-2/+7
| | | | | | | | | 2005-01-28 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (setup_widgets): * gui/gnome-cal.c (setup_widgets): use correct key name. svn path=/trunk/; revision=28600
* Fixes #33078Rodrigo Moya2005-01-293-133/+102
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Rodrigo Moya <rodrigo@novell.com> Fixes #33078 * gui/gnome-cal.c: deal now with categories entirely here, no more "categories_changed" signal from the backends. (free_categories, add_categories, append_category_cb, client_categories_changed_cb, copy_categories): removed. (gnome_calendar_add_source): don't connect to removed signal. (gnome_calendar_destroy): destroy the config listener. (gnome_calendar_init): create a listener for the categories list GConf key. (config_categories_changed_cb): callback for configuration changes in category list. (setup_widgets): initialize the search bar with categories from the configuration. * gui/e-tasks.c (client_categories_changed_cb, e_tasks_add_todo_source, e_tasks_init, config_categories_changed_cb, e_tasks_destroy, setup_widgets): same as gnome-cal.c. svn path=/trunk/; revision=28599
* Fixes #71485JP Rosevear2005-01-273-2/+15
| | | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> Fixes #71485 * calendar-errors.xml: fix paste-o svn path=/trunk/; revision=28570
* objects returned from e_cal_get_objects_for_uid are ECalComponent's, soRodrigo Moya2005-01-262-1/+7
| | | | | | | | | | 2005-01-26 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): objects returned from e_cal_get_objects_for_uid are ECalComponent's, so use g_object_unref to free them, not icalcomponent_free. svn path=/trunk/; revision=28562
* use full name for the weekday checkbox.Li Yuan2005-01-262-1/+30
| | | | | | | | | | | 2005-01-26 Li Yuan <li.yuan@sun.com> * gui/dialogs/cal-prefs-dialog.glade: use full name for the weekday checkbox. Fixes #71729. svn path=/trunk/; revision=28561
* make sure we free the user listJP Rosevear2005-01-262-0/+10
| | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (itip_send_comp): make sure we free the user list svn path=/trunk/; revision=28559
* add a11y name to task table.Li Yuan2005-01-252-0/+10
| | | | | | | | | 2005-01-25 Li Yuan <li.yuan@sun.com> * gui/e-calendar-table.c: (e_calendar_table_init): add a11y name to task table. svn path=/trunk/; revision=28550
* if there are detached instances, disable recurrence date widgets.Rodrigo Moya2005-01-242-0/+18
| | | | | | | | | 2005-01-24 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): if there are detached instances, disable recurrence date widgets. svn path=/trunk/; revision=28525
* Fixes #46404JP Rosevear2005-01-225-112/+96
| | | | | | | | | | | | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/tasks-control.c (tasks_control_print_cmd): just call print tasks, we don't do the dialog here * gui/print.h: update protos * gui/print.c (print_calendar): use e_print routines for config and dialog and make copies and range settings properly available (print_comp): ditto (print_table): bring up dialog here so that printing for calendar list view works correctly * gui/calendar-commands.c (print): pass extra params to print table svn path=/trunk/; revision=28490
* use receive_objects method instead of individually updating objects. SetRodrigo Moya2005-01-202-2/+9
| | | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-importer.c (update_objects): use receive_objects method instead of individually updating objects. Set the method on the VCALENDAR object we create. svn path=/trunk/; revision=28450
* use receive_objects method instead of individually updating objects.Rodrigo Moya2005-01-192-27/+18
| | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-imporer.c (update_objects): use receive_objects method instead of individually updating objects. svn path=/trunk/; revision=28449
* Added bug numberRodrigo Moya2005-01-191-0/+2
| | | | svn path=/trunk/; revision=28442
* killed warnings. (e_week_view_start_editing_event): do nothing if theRodrigo Moya2005-01-193-2/+17
| | | | | | | | | | | | 2005-01-18 Rodrigo Moya <rodrigo@novell.com> * gui/e-week-view.c (process_component): killed warnings. (e_week_view_start_editing_event): do nothing if the calendar is read only. * gui/e-day-view.c (e_day_view_start_editing_event): ditto. svn path=/trunk/; revision=28440
* handle error conditions more gracefully.Harish Krishnaswamy2005-01-182-4/+14
| | | | | | | | | 2005-01-18 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/cal-attachment-bar.c (cal_attachment_bar_get_attachment_list): handle error conditions more gracefully. svn path=/trunk/; revision=28432
* use libedataserver's e-url.Rodrigo Moya2005-01-178-7/+17
| | | | | | | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/calendar-component.c: * gui/calendar-offline-handler.c: * gui/comp-editor-factory.c: * gui/e-tasks.c: * gui/gnome-cal.c: * gui/misc.c: * gui/alarm-notify/alarm-notify.c: use libedataserver's e-url. svn path=/trunk/; revision=28422
* Changed the title for the free/busy publishing settings dialog toNat Friedman2005-01-172-1/+7
| | | | | | | | | | 2005-01-17 Nat Friedman <nat@novell.com> * gui/dialogs/url-editor-dialog.glade: Changed the title for the free/busy publishing settings dialog to "Free/Busy Publishing Settings" (away from "Free/Busy Editor" which made no sense). svn path=/trunk/; revision=28421
* removed the e_day_view_... prefix in warning messages.Rodrigo Moya2005-01-172-2/+7
| | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c (on_unrecur_appointment): removed the e_day_view_... prefix in warning messages. svn path=/trunk/; revision=28420
* fixed a kludge.Harish Krishnaswamy2005-01-172-8/+10
| | | | | | | * gui/dialogs/cal-attachment-bar.c (destroy): fixed a kludge. svn path=/trunk/; revision=28418
* Fixes #65820JP Rosevear2005-01-132-0/+7
| | | | | | | | | | 2005-01-12 JP Rosevear <jpr@novell.com> Fixes #65820 * gui/weekday-picker.c (get_day_text): add translator comment svn path=/trunk/; revision=28385
* set last_Edited_comp_string to NULL, not test it for null.Not Zed2005-01-122-1/+6
| | | | | | | | | 2005-01-08 Not Zed <NotZed@Ximian.com> * gui/e-day-view.c (e_day_view_finish_resize): set last_Edited_comp_string to NULL, not test it for null. svn path=/trunk/; revision=28371
* Reverted the previous fix to offset the hyphen whileHarish Krishnaswamy2005-01-122-1/+7
| | | | | | forming the filename. svn path=/trunk/; revision=28368
* remove the temporary object from the view when stopping editing.Rodrigo Moya2005-01-113-1/+14
| | | | | | | | | | | 2005-01-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): remove the temporary object from the view when stopping editing. * gui/e-week-view.c (e_week_view_on_editing_stopped): ditto. svn path=/trunk/; revision=28341
* offset the file name to account for the 'hyphen'.Harish Krishnaswamy2005-01-112-1/+7
| | | | | | | | * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_set_attachment_list): offset the file name to account for the 'hyphen'. svn path=/trunk/; revision=28337
* Missed to commit this file before.Chenthill Palanisamy2005-01-103-13/+21
| | | | | | | | | 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com> * backends/groupwise/e-cal-backends-groupwise-utils.h: Missed to commit this file before. svn path=/trunk/; revision=28317
* Modified cal-attachment-bar to allow the path to the local attachmentHarish Krishnaswamy2005-01-104-20/+32
| | | | | | | | | | | | | | | | * gui/dialogs/cal-attachment-bar.[ch]: (destroy), (init), (cal_attachment_bar_set_local_attachment_store), (cal_attachment_bar_get_attachment_list), (cal_attachment_bar_get_nth_attachment_filename), (cal_attachment_bar_set_attachment_list): Modified cal-attachment-bar to allow the path to the local attachment store be set externally, thereby hiding the storage policy of different backends from it. * gui/dialogs/comp-editor.c: * (real_edit_comp): set the local attachment store after obtaining it from the calendar. svn path=/trunk/; revision=28311
* handle calendar:// urisJP Rosevear2005-01-102-1/+70
| | | | | | | | | 2005-01-09 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (impl_handleURI): handle calendar:// uris svn path=/trunk/; revision=28303
* Added support for attachments support to calendar items.Harish Krishnaswamy2005-01-0818-30/+383
| | | | | | | 2005-01-08 Harish Krishnaswamy <kharish@novell.com> Added support for attachments support to calendar items. svn path=/trunk/; revision=28287
* New files that provide attachments support for calendar items.Harish Krishnaswamy2005-01-087-0/+2064
| | | | svn path=/trunk/; revision=28286
* clear the attendees, somehow I remove this in an earlier commitJP Rosevear2005-01-083-1/+8
| | | | | | | | | 2005-01-07 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): clear the attendees, somehow I remove this in an earlier commit svn path=/trunk/; revision=28278
* put a name to the 'Send options' frame.Rodrigo Moya2005-01-085-30/+43
| | | | | | | | | | | | | | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: put a name to the 'Send options' frame. * gui/dialogs/event-page.c (event_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (event_page_hide_options): just hide the frame. (event_page_show_options): just show the frame. * gui/dialogs/task-page.c (task_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (task_page_hide_options): just hide the frame. (task_page_show_options): just show the frame. svn path=/trunk/; revision=28277
* MissingRodrigo Moya2005-01-072-0/+4
| | | | svn path=/trunk/; revision=28268
* initial import of ECalEvent targetsDavid Trowbridge2005-01-074-0/+270
| | | | | | | | | | 2005-01-06 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-event[hc]: initial import of ECalEvent targets * gui/migration.c (migrate_calendars): add component.migration event svn path=/trunk/; revision=28266
* install schemas properlyJP Rosevear2005-01-072-1/+5
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * gui/Makefile.am: install schemas properly svn path=/trunk/; revision=28260
* Commiting send optionsChenthill Palanisamy2005-01-0612-7/+588
| | | | | | | | 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com> Commiting send options svn path=/trunk/; revision=28252
* added a new argument to pass the calendar client, since it might happen toRodrigo Moya2005-01-053-4/+27
| | | | | | | | | | | | | | | | | 2005-01-05 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_find_event_from_uid): added a new argument to pass the calendar client, since it might happen to have events with the same UID on different calendars. (e_day_view_do_key_press, model_rows_deleted_cb): added new argument to e_day_view_find_event_from_uid. * gui/e-week-view.c (e_week_view_find_event_from_uid): same as e-day-view.c. (e_week_view_do_key_press, model_rows_deleted_cb): added new argument to e_week_view_find_event_from_uid. svn path=/trunk/; revision=28245
* use the new e-categories API in e-d-s.Rodrigo Moya2005-01-052-1/+7
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-component-preview.c (write_html): use the new e-categories API in e-d-s. svn path=/trunk/; revision=28236
* search our internal data for the correct event.Rodrigo Moya2005-01-052-2/+26
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-week-view.c (model_rows_deleted_cb): search our internal data for the correct event. svn path=/trunk/; revision=28234
* add a11y name to calendar sidebar selector. add a11y name to task sidebarHarry Lu2005-01-043-0/+13
| | | | | | | | | | | 2005-01-04 Harry Lu <harry.lu@sun.com> * gui/calendar-component.c: (create_component_view): add a11y name to calendar sidebar selector. * gui/tasks-component.c: (create_component_view): add a11y name to task sidebar selector. svn path=/trunk/; revision=28231
* Fixes #69663JP Rosevear2005-01-042-1/+18
| | | | | | | | | | | 2005-01-03 JP Rosevear <jpr@novell.com> Fixes #69663 * gui/e-cal-model-tasks.c (is_complete): look at the percent complete and status properties as well for completeness clues svn path=/trunk/; revision=28221
* redo the queries after emitting the 'time_range_changed' signal, since nowRodrigo Moya2005-01-034-24/+19
| | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_time_range): redo the queries after emitting the 'time_range_changed' signal, since now the views will only update their internal data but not redraw the events on that signal. * gui/e-day-view.c (model_changed_cb): removed, no longer needed. (e_day_view_recalc_day_starts): no need to call e_day_view_update_query. (e_day_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. * gui/e-week-view.c (time_range_changed_cb): no need to call e_week_view_update_query. (model_changed_cb): removed, no longer needed. (e_week_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. svn path=/trunk/; revision=28214
* add necessary includeJP Rosevear2005-01-0110-57/+114
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-31 JP Rosevear <jpr@novell.com> * gui/dialogs/schedule-page.c: add necessary include * gui/dialogs/meeting-page.c (sensitize_widgets): kill warning * gui/dialogs/cal-prefs-dialog.c (template_url_changed): kill warning * gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm): kill warnings (init_widgets): ditto * gui/main.c (initialize): no need to init the config system now * gui/e-cell-date-edit-config.h: include date edit text header * gui/e-cal-config.c (ecp_target_free): kill warning * gui/calendar-config.c: clean up includes, internally initialize the config setup to make it easier for others; kill dead functions svn path=/trunk/; revision=28209
* removed superfluous if check. (e_cal_view_objects_modified_cb): add allRodrigo Moya2004-12-272-6/+8
| | | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (search_by_uid_and_client): removed superfluous if check. (e_cal_view_objects_modified_cb): add all objects at once. svn path=/trunk/; revision=28203
* set fields we free to NULL.Rodrigo Moya2004-12-272-0/+7
| | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_remove_event_cb): set fields we free to NULL. svn path=/trunk/; revision=28202
* typo correctionHarish Krishnaswamy2004-12-241-1/+1
| | | | svn path=/trunk/; revision=28197
* Check for the existence of the meet/sched pages before attempting toHarish Krishnaswamy2004-12-242-2/+9
| | | | | | | | | 2004-12-24 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): Check for the existence of the meet/sched pages before attempting to remove them. svn path=/trunk/; revision=28196
* Merging offline brnach with HEADSivaiah Nallagatla2004-12-242-0/+50
| | | | svn path=/trunk/; revision=28195
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-231-39/+0
| | | | | | | | | | | | | | 2004-12-23 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): get instance times using the correct timezone. (redo_queries): emit signals before clearing the array. * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): no need to try to update, always add. svn path=/trunk/; revision=28193
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-234-97/+56
| | | | | | | | | | | | | | 2004-12-23 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): get instance times using the correct timezone. (redo_queries): emit signals before clearing the array. * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): no need to try to update, always add. svn path=/trunk/; revision=28192
* Correct bad include.Hans Petter Jansson2004-12-233-14/+9
| | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * gui/e-select-names-editable.c: Correct bad include. * gui/dialogs/Makefile.am (IDL_GENERATED_H) (IDL_GENERATED) (BUILT_SOURCES): No longer needed, removed. svn path=/trunk/; revision=28187
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-238-297/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* prevent compare against null default_fb_uri and fix thinkoJP Rosevear2004-12-232-1/+6
| | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-store.c (freebusy_async): prevent compare against null default_fb_uri and fix thinko svn path=/trunk/; revision=28185
* Change copyright from ximian to novellJP Rosevear2004-12-222-1/+5
| | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-cal-model.c: Change copyright from ximian to novell svn path=/trunk/; revision=28182
* svn path=/trunk/; revision=28177Not Zed2004-12-228-8/+24
| | | | | | | | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/tasks-component.c (popup_event_cb): * gui/gnome-cal.c (gnome_calendar_view_popup_factory): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): * gui/dialogs/meeting-page.c (button_press_event): * gui/calendar-component.c (popup_event_cb): svn path=/trunk/; revision=28177
* Fixes #61077JP Rosevear2004-12-223-2/+10
| | | | | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> Fixes #61077 * gui/dialogs/task-details-page.glade: remove extraneous tab * gui/dialogs/alarm-dialog.c: ditto svn path=/trunk/; revision=28174
* Fixes #61076JP Rosevear2004-12-223-3/+13
| | | | | | | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> Fixes #61076 * gui/comp-editor-factory.c (open_client): don't translate command line warnings * gui/calendar-offline-handler.c (backend_go_online): ditto (backend_go_offline): ditto svn path=/trunk/; revision=28173
* Fixes #41624JP Rosevear2004-12-222-1/+8
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #41624 * conduits/calendar/calendar-conduit.c (local_record_from_comp): append the exceptions, don't keep overwriting the first svn path=/trunk/; revision=28168
* no need to convert times now. (add_instance_cb): no need to convert here.Rodrigo Moya2004-12-222-29/+23
| | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): no need to convert times now. (add_instance_cb): no need to convert here. svn path=/trunk/; revision=28167
* Merge from recurrences-work-branchRodrigo Moya2004-12-226-243/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> Merge from recurrences-work-branch * gui/e-cal-model.c (free_comp_data): renamed to e_cal_model_free_component_data and made it public. (clear_objects_array, e_cal_view_objects_removed_cb, remove_client_objects): use e_cal_model_free_component_data. (get_dtstart): get the DTSTART correctly for recurrences. (add_instance_cb): initialize all members of ECalModelComponent, and use the correct icalcomponent when setting the field. (set_instance_times): new function to set the instance_* fields of the ECalModelComponent when not expanding recurrences. (e_cal_view_objects_added_cb): expand recurrences for all objects when the model is set to expand. Call set_instance_times when not expanding recurrences. (e_cal_view_objects_modified_cb): made it remove objects and re-add them. (copy_ecdv): check values before using them. (e_cal_model_copy_component_data): Added code to copy the instance_* and color fields. * gui/e-cal-model-calendar.c (get_dtend): get the DTEND correctly for recurrences. (ecmc_set_value_at): ask user which instances to modify. * gui/e-day-view.c (e_day_view_find_event_from_uid): changed to search by UID and RID if given. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_day_view_new): set the model to expand recurrences. (e_day_view_remove_event_cb): check the value searched in the array. (e_day_view_do_key_press): use e_day_view_find_event_from_uid correctly. * gui/e-week-view.c (e_week_view_find_event_from_uid): changed to search by UID and RID if given. (process_component_recur_cb): removed. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_week_view_new): set the model to expand recurrences. (e_week_view_remove_event_cb): check the value searched in the array. Set the ECalModelComponent field to NULL after freeing it. (e_week_view_do_key_press): use e_week_view_find_event_from_uid correctly. * gui/dialogs/recur-comp.c (recur_component_dialog): remove the RECURRENCE-ID from the object when modifying all instances. svn path=/trunk/; revision=28166
* Add schema for Free/Busy template uri.James Bowes2004-12-1812-204/+713
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-18 James Bowes <bowes@cs.dal.ca> * gui/apps_evolution_calendar.schemas.in.in: Add schema for Free/Busy template uri. * gui/calendar-config-keys.h: * gui/calendar-config.c: (calendar_config_get_free_busy_template), (calendar_config_set_free_busy_template), (calendar_config_add_notification_free_busy_template): * gui/calendar-config.h: Functions to get, set and monitor the Free/Busy template uri gconf setting. * gui/dialogs/cal-prefs-dialog.c: (template_url_changed), (setup_changes), (get_widgets), (show_fb_config): * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/cal-prefs-dialog.h: Change 'Free/Busy Publish' tab to 'Free/Busy'. Add an entry for setting the default Free/Busy uri. Only change the gconf setting on 'focus out' event * gui/e-meeting-store.c: (refresh_queue_remove): Check the hash using the attendee's mailto: address, rather than the memory address of the attendee object as the key. (e_meeting_store_get_fb_uri), (e_meeting_store_set_fb_uri): Get and set the EMeetingStore's Free/Busy template string. (process_callbacks_main_thread), (process_callbacks): Process callbacks in the main thread, so that widgets can be redrawn properly. (replace_string): Utility function for replacing wildcards in the default Free/Busy uri. (ems_finalize), (ems_init), (freebusy_async), (refresh_busy_periods), (refresh_queue_add), (e_meeting_store_refresh_busy_periods): Add the ability to check for Free/Busy information from a default location, if all else fails. (start_async_read): Use gnome-vfs to read the Free/Busy information. * gui/e-meeting-store.h: Add function prototypes for get and set fb_uri * gui/e-meeting-time-sel.c: (e_meeting_time_selector_init), (e_meeting_time_selector_destroy), (free_busy_timeout_refresh), (free_busy_template_changed_cb): Watch for a change in the Free/Busy template gconf setting, and check for new Free/Busy data if it occurs. * gui/e-meeting-time-sel.h: Include variable for notification function id on changes to the Free/Busy uri in the EMeetingTimeSelector . svn path=/trunk/; revision=28151
* Add callback function for doing ngettext on the "minutes" labelRodney Dawes2004-12-182-0/+29
| | | | | | | | | | | | | 2004-12-17 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (an_minutes_update_label): Add callback function for doing ngettext on the "minutes" label (alarm_notify_dialog): Get the "minutes" label from the glade file and set the callback for its "value_changed" signal Fixes #47535 svn path=/trunk/; revision=28146
* Correct some white space ugliness in the previous commit.Harish Krishnaswamy2004-12-142-0/+6
| | | | | | | | | 2004-12-13 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/calendar-setup.c : Correct some white space ugliness in the previous commit. svn path=/trunk/; revision=28116
* +2004-12-10 Vivek Jain <jvivek@novell.com>Jain Vivek2004-12-132-3/+10
| | | | | | | * gui/dialogs/calendar-setup.c : Changed the window title based upon the source. svn path=/trunk/; revision=28112
* keep a local copy of the ECal.Rodrigo Moya2004-12-092-3/+23
| | | | | | | | | 2003-12-09 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c (on_unrecur_appointment): keep a local copy of the ECal. svn path=/trunk/; revision=28101
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-095-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* update the query so currently held events can be cleared off.Harish Krishnaswamy2004-12-082-0/+8
| | | | | | | * gui/e-week.c (time_range_changed_cb, e_week_view_set_first_day_shown): update the query so currently held events can be cleared off. svn path=/trunk/; revision=28088
* include plugin headers to fix 64 bit problems.David Mosberger2004-12-082-0/+6
| | | | | | | | 2004-12-08 David Mosberger <davidm@napali.hpl.hp.com> * gui/main.c: include plugin headers to fix 64 bit problems. svn path=/trunk/; revision=28081
* Fixes #67403Rodrigo Moya2004-12-063-4/+23
| | | | | | | | | | | | | | | 2004-12-06 Rodrigo Moya <rodrigo@novell.com> Fixes #67403 * gui/dialogs/event-page.c (sensitize_widgets): don't unsensitize the 'Customize' button, to allow users to look at the alarm list for read only events. * gui/dialogs/alarm-list-dialog.c (sensitize_buttons): unsensitize buttons if the event is read only. svn path=/trunk/; revision=28072
* add libeabutil, since we use e-destination.Not Zed2004-12-032-0/+8
| | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * gui/dialogs/Makefile.am (libcal_dialogs_la_LIBADD): add libeabutil, since we use e-destination. svn path=/trunk/; revision=28049
* Add a boolean variable to denote assigned task and construct the meetingChenthill Palanisamy2004-12-0211-35/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/task-editor.[ch] (task_editor_new), (task_editor_construct), (show_assignment): Add a boolean variable to denote assigned task and construct the meeting page only for the assigned task. Set it as a group item in component editor. (_TaskEditorPrivate): added the boolean variable (is_assigned). (task_editor_init): initialized the variable. * gui/dialogs/comp-editor.[ch]: Added functions to set and get whether comp is a group item or individual item. * gui/comp-editor.c (make_title_from_string), (make_title_from_comp): Set the Title for the appointment editor window as "Meeting" or "Assigned Task" if its a group calendar/task item. (_CompEditorPrivate): added a boolean variable (is_group_item). (comp_editor_init): initialized the same. * gui/dialogs/event-editor.c (event_editor_construct), (show_meeting): Set whether the component is a group item or not in comp editor. * gui/e-calendar-table.c (e_calendar_table_open_task), (e_calendar_table_open_selected), (open_task_by_row): Check whether the component being opened is an assigned task by checking for attendees and call open_task with proper value for boolean variable assign. * gui/comp-editor-factory.c (edit_existing): * gui/e-calendar-table.c (open_task): * gui/e-tasks.c (e_tasks_new_task): * gui/gnome-cal.c (gnome_calendar_new_task): * gui/tasks-component.c (create_new_todo): Called the function task_editor_new with a added argument. svn path=/trunk/; revision=28044
* Free the string day_view->last_edited_comp_string before changingChenthill Palanisamy2004-12-023-0/+27
| | | | | | | | | | | | 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-day-view.c (e_day_view_finish_resize), (e_day_view_reshape_day_event) (e_day_view_change_event_time): Free the string day_view->last_edited_comp_string before changing assigning it another value. * gui/e-week-view.c (e_week_view_change_event_time): Free the string week_view->last_edited_comp_string for the same reason above. svn path=/trunk/; revision=28042
* committed this file. Missed to commit this one.Chenthill Palanisamy2004-11-292-0/+14
| | | | | | | | 2004-11-29 Chenthill Palanisamy <pchenthill@novell.com> * calendar-errors.xml.h: committed this file. Missed to commit this one. svn path=/trunk/; revision=28010
* Moved the call for the warning dialog (send_component_prompt_subject)Chenthill Palanisamy2004-11-292-6/+14
| | | | | | | | | | 2004-11-29 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/comp-editor.c (response_cb): Moved the call for the warning dialog (send_component_prompt_subject) after the component is saved (save_comp_with_send). svn path=/trunk/; revision=28009
* dittoJP Rosevear2004-11-263-9/+9
| | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): ditto * gui/e-timezone-entry.c (e_timezone_entry_init): get the image directly from the icon factory svn path=/trunk/; revision=27996
* prevent crash if there is no descriptionJP Rosevear2004-11-262-5/+14
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): prevent crash if there is no description svn path=/trunk/; revision=27994
* Evo UI Hackfest : harishHarish Krishnaswamy2004-11-255-9/+38
| | | | | | | | | | | | | | | | | * gui/calendar-component.c: (new_calendar_cb), (edit_calendar_cb): Use modified_setup_edit_calendar call. (popup_event_cb): If source is null (Rt click on a source group), show the new calendar popup menu item. Else, do not show the new calendar option. * gui/dialogs/calendar-setup.[ch] (eccp_get_source_type): Compare the source_groups by their uid and not the pointers, so that the correct option is activated on the combo box. (calendar_setup_edit_calendar) : add a source_group parameter to the function. (calendar_setup_new_calendar): Use modified signature of the above function. * gui/e-calendar-view.c (on_edit_appointment): check the icalcomponent to see if it is a meeting and set the argument to e_calendar_view_edit_appointment correctly. svn path=/trunk/; revision=27991
* removed the call for comp_editor_show_page, so that the event page showsChenthill Palanisamy2004-11-252-2/+7
| | | | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-deitor.c (show_meeting): removed the call for comp_editor_show_page, so that the event page shows up at first instead of meeting page when a meeting is opened. svn path=/trunk/; revision=27988
* Added two error ids to display use it when the meeting is created withoutChenthill Palanisamy2004-11-255-1/+65
| | | | | | | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * calendar-errors.xml: Added two error ids to display use it when the meeting is created without a summary. * gui/dialogs/send-comp.[ch] (send_component_prompt_subject): Added a function to prompt for a dialog when a meeting/assigned task is sent without a summary. * gui/dialogs/comp-editor.c (response_cb): Called the above mentioned function when the summary is not present. svn path=/trunk/; revision=27987
* Add gtkimage.h to includes, and remove gtkhtml headers Add and remove someRodney Dawes2004-11-235-385/+461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.[ch]: Add gtkimage.h to includes, and remove gtkhtml headers Add and remove some widgets in the AlarmNotify struct (dialog_destroy_cb, delete_event_cb, close_clicked_cb): (snooze_clicked_cb, edit_clicked_cb, url_requested_cb): (make_html_display, write_times, write_html_heading): (alarm_notify_dialog_disable_buttons): Remove all these unneeded functions (no more GtkHTML in the dialog) (alarm_notify_dialog): Add description and location arguments Rename message argument to summary Update gtk-doc comment block to reflect API changes Clean up code to use gtk_dialog_run () and use a HIG compliant dialog * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant and not use GtkHTML, and display more information that is relevant to the appointment we are alerting of * gui/alarm-notify/alarm-queue.c: Add new variables to the TrayIconData structure so we can access the description and location (on_dialog_objs_removed_cb): Remove alarm_dialog bits (notify_dialog_cb): Remove alarm_dialog bits (tray_icon_destroyed_cb): Free the description and location as well (open_alarm_dialog): alarm_notify_dialog does all the work now, we don't need to trap the dialog widget here (display_notification): Add code to get the description and location information from the cal component Avoid using an alarm component which has less useful API Fix a warning when creating the tray_icon widget svn path=/trunk/; revision=27971
* Don't try to convert the results of timet_to_str_with_zone to UTF-8, sinceRodney Dawes2004-11-092-8/+10
| | | | | | | | | | | | 2004-11-08 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Don't try to convert the results of timet_to_str_with_zone to UTF-8, since the return value is already encoded in UTF-8 Fixes #47529 svn path=/trunk/; revision=27866
* expand the horizontal box so that it fills all available space.Rodrigo Moya2004-11-043-5/+11
| | | | | | | | | | 2004-11-04 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: expand the horizontal box so that it fills all available space. svn path=/trunk/; revision=27840
* added EConfig subclass for calendars initialize plugin hooks on componentDavid Trowbridge2004-11-048-777/+659
| | | | | | | | | | | 2004-11-03 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-config.c: added EConfig subclass for calendars * gui/calendar-component.c, gui/tasks-component.c: initialize plugin hooks on component startup. * gui/dialogs/calendar-setup.c: Converted to use EConfig svn path=/trunk/; revision=27832
* Fixes #6767Li Yuan2004-11-044-113/+118
| | | | | | | | | | | | | | | | | | | | 2004-11-04 Li Yuan <li.yuan@sun.com> Fixes #6767 * gui/e-day-view-main-item.c: (e_day_view_main_item_draw_day_event): use widget->style instead of hard code colors. * gui/e-day-view.c: (e_day_view_realize), (e_day_view_set_colors), (e_day_view_style_set), (e_day_view_reshape_long_event), (e_day_view_reshape_day_event): ditto. * gui/e-week-view.c: (e_week_view_realize), (e_week_view_set_colors), (e_week_view_style_set), (e_week_view_reshape_event_span): ditto. svn path=/trunk/; revision=27827
* make sure the day view times redraw themselves if we switch 24/12 hourJP Rosevear2004-11-032-0/+8
| | | | | | | | | 2004-11-02 JP Rosevear <jpr@novell.com> * gui/e-day-view-config.c (set_twentyfour_hour): make sure the day view times redraw themselves if we switch 24/12 hour modes svn path=/trunk/; revision=27801
* Fixes #68707JP Rosevear2004-11-032-1/+10
| | | | | | | | | | | 2004-11-02 JP Rosevear <jpr@novell.com> Fixes #68707 * gui/e-week-view-event-item.c (e_week_view_event_item_draw): restrict the range to 0-23 (midnight end times became '24') svn path=/trunk/; revision=27799
* added hook doco.Not Zed2004-10-285-0/+36
| | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (popup_event_cb): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/calendar-component.c (popup_event_cb): added hook doco. svn path=/trunk/; revision=27751
* don't expand recurrences for the list view.Rodrigo Moya2004-10-282-2/+6
| | | | | | | | | 2004-10-27 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-list-view.c (e_cal_list_view_new): don't expand recurrences for the list view. svn path=/trunk/; revision=27739
* Quieter.Nat Friedman2004-10-221-0/+1
| | | | svn path=/trunk/; revision=27691
* Add status bits to denote if the calendar source is available offline soHarish Krishnaswamy2004-10-223-0/+25
| | | | | | | | | * gui/e-cal-popup.[ch]: (e_cal_popup_target_new_source): Add status bits to denote if the calendar source is available offline so that plugins to calendar popups can use the status qualifier to denote their visibility preferences. svn path=/trunk/; revision=27680
* use the new source selector dialog in libedataserverui.Rodrigo Moya2004-10-222-101/+12
| | | | | | | | | 2004-10-21 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/select-source-dialog.c: use the new source selector dialog in libedataserverui. svn path=/trunk/; revision=27679
* put an icon on the properties menu itemJP Rosevear2004-10-214-2/+16
| | | | | | | | | | | | | 2004-10-20 JP Rosevear <jpr@novell.com> * gui/calendar-component.c: put an icon on the properties menu item * gui/tasks-component.c: ditto * gui/main.c (initialize): register plugin hooks for tasks and calendar svn path=/trunk/; revision=27656
* correct classidJP Rosevear2004-10-202-1/+5
| | | | | | | | 2004-10-20 JP Rosevear <jpr@novell.com> * gui/e-cal-popup.c (ecalph_class_init): correct classid svn path=/trunk/; revision=27647
* convert to org.gnome hook namesJP Rosevear2004-10-2010-16/+23
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/calendar-component.c, gui/e-cal-menu.c, gui/e-cal-popup.c, gui/e-calendar-table.c, gui/e-calendar-view.c, gui/gnome-cal.c, gui/tasks-component.c, gui/alarm-notify/alarm-queue.c, gui/dialogs/meeting-page.c: convert to org.gnome hook names svn path=/trunk/; revision=27638
* Use e_cal_component_has_attendees to test if it is a meeting. By default,Harish Krishnaswamy2004-10-204-19/+32
| | | | | | | | | | | | | * gui/comp-editor-factory.c: (edit_existing): Use e_cal_component_has_attendees to test if it is a meeting. * gui/dialogs/event-editor.c: (event_editor_init): By default, the event is not a meeting. (event_editor_construct): Do not add the invitation, scheduling pages to the editor if it is not a meeting. * gui/e-day-view.c: (e_day_view_on_event_double_click): check the icalproperty to test if the event is a meeting. svn path=/trunk/; revision=27628
* listen to the canvas for focus events (setup_widgets): listen for listenJP Rosevear2004-10-193-2/+29
| | | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (connect_list_view_focus): listen to the canvas for focus events (setup_widgets): listen for listen view selection changes * gui/e-cal-list-view.c (setup_e_table): listen for the cursor to move (e_cal_list_view_cursor_change_cb): indicate the selection changed svn path=/trunk/; revision=27623
* gui/comp-editor-factory.c (edit_existing),Harish Krishnaswamy2004-10-198-55/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/calendar-component.c (create_new_event): * gui/e-calendar-view.c: (e_calendar_view_edit_appointment): * gui/comp-editor-factory.c (edit_existing), * (edit_new): * gui/dialogs/event-editor.c * (event_editor_edit_comp), (event_editor_new): updated the calls to event_editor_new with additional argument. * gui/dialogs/event-editor.h: * add parameter * is_meeting to distinguish between events and meetings. * gui/dialogs/meeting-page.c: * (sensitize_widgets): use explicit GError variable so that BUSY_ERROR conditions do not lead us to think the calendar is readonly. * gui/e-meeting-store.c: * (refresh_queue_remove), * (ems_init), (e_meeting_store_remove_attendee), (freebusy_async), (refresh_busy_periods), (refresh_queue_add): Make free-busy calls to backends async. Fixed the problem of spurious attendees getting added to the refresh_data. svn path=/trunk/; revision=27614
* dont access a NULL client.Not Zed2004-10-1811-89/+602
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 Not Zed <NotZed@Ximian.com> * gui/e-cal-menu.c (e_cal_menu_target_new_select): dont access a NULL client. * gui/gnome-cal.c (gnome_calendar_get_taskpad_menu) (gnome_calendar_get_calendar_menu): accessors to get the menu managers. (gnome_calendar_init): setup menu managers. 2004-10-13 Not Zed <NotZed@Ximian.com> * gui/calendar-commands.c (calendar_control_activate) (calendar_control_deactivate): activate and deactivate the calendar and taskpad menu handlers. (sensitize_items): helper to sensitise items based on target masks. (calendar_control_sensitize_calendar_commands): update the calendar menu manager target appropriately. (sensitize_taskpad_commands): same for the taskpad. * gui/e-cal-menu.[ch]: Targets for main menu management. * gui/e-cal-popup.c (e_cal_popup_target_new_select): fix cast. Also include the tasks stuff in the hook metadata. svn path=/trunk/; revision=27607
* remove useless ifdef'd out statement (its been unused for 3+ years)JP Rosevear2004-10-162-7/+5
| | | | | | | | | 2004-10-15 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c (calendar_control_activate): remove useless ifdef'd out statement (its been unused for 3+ years) svn path=/trunk/; revision=27599
* remove prototypeJP Rosevear2004-10-163-105/+6
| | | | | | | | | | 2004-10-15 JP Rosevear <jpr@novell.com> * gui/calendar-commands.h (calendar_goto_today): remove prototype * gui/calendar-commands.c: remove dead function svn path=/trunk/; revision=27598
* convert to G_DEFINE_TYPEJP Rosevear2004-10-1410-152/+108
| | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-meeting-attendee.c: convert to G_DEFINE_TYPE * gui/e-meeting-list-view.c: ditto * gui/e-meeting-time-sel.c: ditto * gui/e-meeting-time-sel-item.c: ditto * gui/e-select-names-renderer.c: ditto * gui/e-timezone-entry.c: ditto * gui/e-tasks.c: ditto * gui/gnome-cal.c: ditto * gui/weekday-picker.c: ditto svn path=/trunk/; revision=27584
* convert to G_DEFINE_TYPEJP Rosevear2004-10-146-70/+49
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cell-date-edit-config.c: convert to G_DEFINE_TYPE * gui/e-cell-date-edit-text.c: ditto * gui/e-comp-editor-registry.c: ditto * gui/e-date-edit-config.c: ditto * gui/e-mini-calendar-config.c: ditto svn path=/trunk/; revision=27583
* convert to G_DEFINE_TYPEJP Rosevear2004-10-149-119/+97
| | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cal-list-view-config.c: convert to G_DEFINE_TYPE * gui/e-cal-list-view.c: ditto * gui/e-cal-model-calendar.c: ditto * gui/e-cal-model-tasks.c: ditto * gui/e-cal-model.c: ditto * gui/e-calendar-table-config.c: ditto * gui/e-calendar-table.c: ditto * gui/e-calendar-view.c: ditto svn path=/trunk/; revision=27580
* convert to G_DEFINE_TYPEJP Rosevear2004-10-145-50/+22
| | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/calendar-view.c: convert to G_DEFINE_TYPE * gui/calendar-view-factory.c: ditto * gui/cal-search-bar.c: ditto * gui/e-cal-component-preview.c: ditto svn path=/trunk/; revision=27579
* convert to G_DEFINE_TYPEJP Rosevear2004-10-146-70/+47
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-week-view-config.c: convert to G_DEFINE_TYPE * gui/e-week-view-event-item.c: ditto * gui/e-week-view-main-item.c: ditto * gui/e-week-view-titles-item.c: ditto * gui/e-week-view.c: ditto svn path=/trunk/; revision=27578
* convert to G_DEFINE_TYPEJP Rosevear2004-10-146-64/+48
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-day-view.c: convert to G_DEFINE_TYPE * gui/e-day-view-config.c: ditto * gui/e-day-view-main-item.c: ditto * gui/e-day-view-time-item.c: ditto * gui/e-day-view-top-item.c: ditto svn path=/trunk/; revision=27577
* conver to G_DEFINE_TYPEJP Rosevear2004-10-1410-173/+75
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: conver to G_DEFINE_TYPE * gui/dialogs/meeting-page.c: ditto * gui/dialogs/recurrence-page.c: ditto * gui/dialogs/schedule-page.c: ditto * gui/dialogs/e-delegate-dialog.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/task-details-page.c: ditto * gui/dialogs/select-source-dialog.c (primary_selection_changed_cb): fix warning svn path=/trunk/; revision=27576
* dittoJP Rosevear2004-10-1412-68/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c: ditto * gui/calendar-component.h: remove e-source-selector include * gui/tasks-component.h: ditto * gui/calendar-component.c: update include to libedataserverui for source selector and option menus * gui/e-cal-popup.c: ditto * gui/dialogs/url-editor-dialog.h: ditto * gui/dialogs/select-source-dialog.c: ditto * gui/tasks-component.c: ditto * importers/icalendar-importer.c: ditto * gui/e-itip-control.c: ditto; use G_DEFINE_TYPE instead of E_MAKE_TYPE * gui/dialogs/event-page.c: ditto * gui/dialogs/task-page.c: ditto svn path=/trunk/; revision=27569
* If main_canvas has focus, do not grub it. Emit the selected_time_changedLi Yuan2004-10-133-2/+11
| | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/e-day-view.c: (e_day_view_on_main_canvas_button_press): * gui/e-week-view.c: (e_week_view_on_button_press): If main_canvas has focus, do not grub it. Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27563
* convert menu to epopup.Not Zed2004-10-123-23/+29
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c (button_press_event): convert menu to epopup. svn path=/trunk/; revision=27555
* removed. (e_calendar_table_show_popup_menu): convert to use e-popup forNot Zed2004-10-125-265/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (setup_popup_icons): removed. (e_calendar_table_show_popup_menu): convert to use e-popup for pluggable popup menu. (e_calendar_table_on_open_task, e_calendar_table_on_save_as) (e_calendar_table_on_print_task, e_calendar_table_on_cut) (e_calendar_table_on_copy, e_calendar_table_on_paste) (e_calendar_table_on_assign, e_calendar_table_on_forward) (delete_cb): (mark_as_complete_cb, open_url_cb): convert to epopup callbacks. Moved all of the callbacks above the table rather than maintaining forward declarations for some of them. * gui/e-cal-popup.c (e_cal_popup_target_new_select): add the task required masks, and make one vs many mutally exclusive. * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): copy/setup the event list here. * gui/e-cal-popup.c (e_cal_popup_target_new_select): take model + events rather than the calendar view. svn path=/trunk/; revision=27553
* When the start year and the end year are the same, the num should beLi Yuan2004-10-1214-26/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/calendar-commands.c: (calendar_get_text_for_folder_bar_label): When the start year and the end year are the same, the num should be displayed in start time. * gui/dialogs/alarm-dialog.glade: Add names to comboxes in alarm-dialog page. * gui/dialogs/cal-prefs-dialog.glade: Add labbled_by relation for e_date_edit. Add names to comboxes in general tab and display tab. Add shortcut keys to start_of_day_label and end_of_day_label. * gui/dialogs/event-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/event-page.glade: Add labbled_by relation for e_date_edit. * gui/dialogs/meeting-page.glade: Set an atk name for organizer widget. * gui/dialogs/task-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/task-page.glade: Add labbled_by relation for e_date_edit. Add a11y names to task description and categories. * gui/e-alarm-list.c: (e_alarm_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-date-time-list.c: (e_date_time_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Add labbled_by relation for e_date_edit. * gui/e-timezone-entry.c: (e_timezone_entry_class_init), (e_timezone_entry_init), (e_timezone_entry_mnemonic_activate), (e_timezone_entry_focus): Add a focus handler for e-timezone-entry. Set an atk name for the button. * gui/e-week-view.c: (e_week_view_do_cursor_key_up), (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left), (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up), (e_month_view_do_cursor_key_down), (e_month_view_do_cursor_key_left), (e_month_view_do_cursor_key_right): Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27550
* convert to epopup. (add_popup_menu_item): removed, now redundant.Not Zed2004-10-122-45/+38
| | | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): convert to epopup. (add_popup_menu_item): removed, now redundant. svn path=/trunk/; revision=27546
* Fixes #45951Rodrigo Moya2004-10-124-14/+18
| | | | | | | | | | | | | | | | 2004-10-08 Rodrigo Moya <rodrigo@novell.com> Fixes #45951 * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: attach the description field correctly to the table so that it scrolls correctly instead of making the dialog bigger as you write. * gui/dialogs/comp-editor.c (setup_widgets): no need to create an extra GtkVBox, just use the GtkDialog's one. svn path=/trunk/; revision=27538
* remove useless includeJP Rosevear2004-10-083-2/+6
| | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/dialogs/cal-prefs-dialog.c: remove useless include * gui/dialogs/url-editor-dialog.c: ditto svn path=/trunk/; revision=27502
* guard config.hJP Rosevear2004-10-088-8/+24
| | | | | | | | | | | | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/print.c: guard config.h * gui/tasks-control.c: guard config.h, remove useless include * gui/migration.c: remove useless include * gui/main.c: remove useless include * gui/e-calendar-view.h: #define the type * gui/calendar-offline-handler.c: remove useless include * gui/calendar-config.c: tidy header svn path=/trunk/; revision=27501
* guard config.h include, kill warning and remove useless includeJP Rosevear2004-10-082-2/+9
| | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c: guard config.h include, kill warning and remove useless include svn path=/trunk/; revision=27500
* Fixes #65932Rodrigo Moya2004-10-073-17/+74
| | | | | | | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Fixes #65932 * common/authentication.c: keep a hash table of all the source lists. (auth_new_cal_from_uri): do a search in the source list for the given URI, and use that ESource if we find it. Also, keep the hash table of source lists up to date. * gui/comp-editor-factory.c (cal_opened_cb): don't assert on error cases, just display an error dialog. svn path=/trunk/; revision=27498
* rename to view_popup_factory. Make it build an epopup item list directly.Not Zed2004-10-0715-294/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_popup): rename to view_popup_factory. Make it build an epopup item list directly. Can't re-use the galview cruft :-/ (gnome_calendar_discard_view_popup): no longer needed. (gc_set_view, gc_save_custom_view, gc_define_views_response) (gc_define_views): implement the gal-view popup menu items. * gui/gnome-cal.h: * gui/e-week-view.h: * gui/e-day-view.h: * gui/e-cal-list-view.h: removed old e-popup-menu header. * gui/e-calendar-view.c (setup_popup_icons): removed. (e_calendar_view_create_popup_menu): converted to use e-popup. (on_paste, on_copy, on_cut, on_delete_occurrence) (on_unrecur_appointment, on_delete_appointment, on_publish) (on_forward, on_meeting, on_move_to, on_copy_to, on_print_event) (on_save_as, on_print, on_edit_appointment, on_goto_today) (on_goto_date, on_new_task, on_new_meeting, on_new_event) (on_new_appointment): convert to use e-popup stuff. * gui/tasks-component.c (popup_event_cb): e-popup api changes. * gui/e-cal-popup.c (e_cal_popup_target_new_select): implement the selection target. (ecalp_target_free): and free it. * gui/e-cal-model.h: Make the ECalModel struct non-anonymous so it can be forward-declared. * gui/calendar-component.c (popup_event_cb): e-popup api changes. svn path=/trunk/; revision=27489
* Revert fix for #60551Rodrigo Moya2004-10-072-9/+7
| | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Revert fix for #60551 * gui/dialogs/task-page.c (task_page_fill_component): start date can be after the due date, no need to compare. svn path=/trunk/; revision=27481
* Fixes #48116Iván Frade2004-10-072-11/+30
| | | | | | | | | | | 2004-10-02 Iván Frade <frade@asturlinux.org> Fixes #48116 * gui/dialogs/task-details.page.c (task_details_page_fill_component): Validation: completed date is not a future date. svn path=/trunk/; revision=27480
* pass the variable in correctlyJP Rosevear2004-10-061-4/+1
| | | | | | | | | 2004-10-06 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (comp_server_send): pass the variable in correctly svn path=/trunk/; revision=27476
* cast warning away. (create_component_view): connect to popup_event ratherNot Zed2004-10-068-187/+586
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (create_component_view): cast warning away. (create_component_view): connect to popup_event rather than fill_popup_menu. * gui/calendar-component.c (create_component_view): cast a warning away. * calendar-errors.xml: add prompt-delete-task-list. * gui/tasks-component.c (fill_popup_menu_cb): renamed to popup_event_cb, make use e-cal-popup. (edit_task_list_cb, new_task_list_cb, delete_task_list_cb) (copy_task_list_cb): deja-vu. update for api. (add_popup_menu_item): killed. murdered. drawn and quatered. (delete_task_list_cb): use e-error for the delete prompt. * gui/calendar-component.c (create_component_view): hook onto popup event instead of fill_popup_menu. * calendar-errors.xml: added prompt-delete-calendar. * gui/calendar-component.c (fill_popup_menu_cb): rename to popup_event_cb, make use e-cal-popup. (edit_calendar_cb, new_calendar_cb, delete_calendar_cb) (copy_calendar_cb): fix for api changes. (add_popup_menu_item): removed. (delete_calendar_cb): use e-error for the delete thing. * gui/e-cal-popup.[ch]: calendar popup driver. svn path=/trunk/; revision=27467
* Fixes #64683Rodrigo Moya2004-09-302-3/+21
| | | | | | | | | | | | 2004-09-29 Rodrigo Moya <rodrigo@novell.com> Fixes #64683 * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): create a scrolled window for the attendees list, and synchronize it with the scrolling in the F/B area. svn path=/trunk/; revision=27425
* ** See bug #66736.Not Zed2004-09-292-0/+9
| | | | | | | | | | | 2004-09-28 Not Zed <NotZed@Ximian.com> ** See bug #66736. * gui/e-itip-control.c (e_itip_control_set_data): noop if we were destroyed (priv == null). svn path=/trunk/; revision=27418
* Fixes #61766JP Rosevear2004-09-282-0/+40
| | | | | | | | | | | | | | 2004-09-28 JP Rosevear <jpr@novell.com> Fixes #61766 * gui/migration.c (create_calendar_contact_source): set a color for the contacts (create_calendar_sources): set a color for the personal source and make in primary and default if nothing else is either (create_task_sources): ditto for tasks personal source svn path=/trunk/; revision=27414
* Fixes #65599Rodrigo Moya2004-09-273-5/+18
| | | | | | | | | | | | | 2004-09-24 Rodrigo Moya <rodrigo@novell.com> Fixes #65599 * gui/itip-utils.c (comp_fb_normalize): don't use NULL properties. * gui/e-pub-utils.c (e_pub_publish): use auth_new_cal_from_source() instead of auth_new_cal_from_uri(). svn path=/trunk/; revision=27394
* Fixes #66344JP Rosevear2004-09-244-8/+32
| | | | | | | | | | | | | | | | 2004-09-24 JP Rosevear <jpr@novell.com> Fixes #66344 * gui/e-cal-model-calendar.c (get_dtend): check for existence of property and null time instead of sending through bad data * gui/e-cal-model.c (get_dtstart): ditto * gui/e-cal-model-tasks.c (get_completed): ditto (get_due): ditto svn path=/trunk/; revision=27368
* Fixes #63513 Now the myaddress can be set to ecal address since ok will beChenthill Palanisamy2004-09-242-0/+10
| | | | | | | | | | | 2004-09-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #63513 * gui/e-itip-control.c (ok_clicked_cb): Now the myaddress can be set to ecal address since ok will be sentized only when ecal is loaded. svn path=/trunk/; revision=27362
* dittoJP Rosevear2004-09-233-9/+28
| | | | | | | | | | | 2004-09-22 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (fill_popup_menu_cb): ditto * gui/tasks-component.c (fill_popup_menu_cb): don't allow a delete of the system calendar svn path=/trunk/; revision=27339
* Fixes #60904JP Rosevear2004-09-222-13/+76
| | | | | | | | | | | | | | | | 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #60904 * gui/gnome-cal.c (set_week_start): update the view (get_times_for_views): mimic the work week guessing code exactly for calculating the time range needed instead of hardcoding 5 days (set_working_days): new routine to update the view (working_days_changed_cb): use above when getting config change notification (setup_config): set working days and add notification svn path=/trunk/; revision=27320
* Fixes #66158JP Rosevear2004-09-222-1/+13
| | | | | | | | | | | 2004-09-20 JP Rosevear <jpr@novell.com> Fixes #66158 * gui/e-cal-model-tasks.c (e_cal_model_tasks_mark_task_complete): notify of change so completion status updates immediately svn path=/trunk/; revision=27319
* Fixes #59194JP Rosevear2004-09-222-1/+8
| | | | | | | | | | | 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #59194 * gui/e-cal-model-calendar.c (get_location): return "" instead of NULL svn path=/trunk/; revision=27317
* Fixes #65682 check the static capability before booking the deletion.Chenthill Palanisamy2004-09-212-1/+8
| | | | | | | | | | | 2004-09-21 Chenthill Palanisamy <pchenthill@novell.com> Fixes #65682 * gui/itip-utils.c (itip_send_comp): check the static capability before booking the deletion. svn path=/trunk/; revision=27313