aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixes #55172JP Rosevear2004-09-202-2/+13
| | | | | | | | | | | | 2004-09-15 JP Rosevear <jpr@novell.com> Fixes #55172 * conduits/calendar/calendar-conduit.c (local_record_from_comp): handle -1 (last) for monthly recurrences and check both by_set_pos and by_day since either can indicate this type of recurrence svn path=/trunk/; revision=27308
* Fixes #66174Tony Tsui2004-09-202-1/+9
| | | | | | | | | | 2004-09-20 Tony Tsui <ttsui9@gmail.com> Fixes #66174 * gui/dialogs/meeting-page.c (existing_attendee): fixed memory leak. svn path=/trunk/; revision=27303
* Fixes bug #65051Hannah & Fazlu2004-09-202-0/+16
| | | | | | | | | | | 2004-09-10 Hannah & Fazlu <hannah_lins@yahoo.co.in> Fixes bug #65051 * calendar/gui/dialogs/task-page.c (task_page_fill_component): Compared the dates and time svn path=/trunk/; revision=27302
* Fixes #62374Rodrigo Moya2004-09-172-57/+59
| | | | | | | | | | | | | | | | | | 2004-09-10 Rodrigo Moya <rodrigo@novell.com> Fixes #62374 * gui/alarm-notify/alarm-queue.c (load_missed_alarms): removed this function. (cal_opened_cb): no need to call load_missed_alarms, load_alarms_for_today will do everything. (alarm_queue_add_client): ditto. (load_alarms_for_today): take into account the last saved notification time. (load_alarms): unref the previous query, this function should now only be called once per time range. svn path=/trunk/; revision=27286
* Fixes #65454JP Rosevear2004-09-102-44/+44
| | | | | | | | | | | | | | | | 2004-09-09 JP Rosevear <jpr@novell.com> Fixes #65454 * gui/e-itip-control.c (class_init): only use a destroy function, no finalize (cleanup_ecal): util function (init): use above for hash table and killed destroyed flag (weren't using it anywhere) (destroy): collapse finalize work into here and guard against multiple destroy calls svn path=/trunk/; revision=27210
* Fixes #62728JP Rosevear2004-09-092-0/+10
| | | | | | | | | | | 2004-09-08 JP Rosevear <jpr@novell.com> Fixes #62728 * gui/e-week-view.c (e_week_view_set_week_start_day): trigger a redraw when changing the start day svn path=/trunk/; revision=27187
* Check the static capability to enable or disable the assign tasks in theChenthill Palanisamy2004-09-053-0/+26
| | | | | | | | | | | | | | | | 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): Check the static capability to enable or disable the assign tasks in the popup menu. * gui/dialogs/recurrence-page.c (sensitize_buttons): Check for the static capability to convert a existing appointment to recurrence appointment for enabling or diabling the recurrence widgets. svn path=/trunk/; revision=27152
* Fixes #62392Rodrigo Moya2004-09-042-2/+10
| | | | | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> Fixes #62392 * gui/alarm-notify/alarm-queue.c (display_notification): ref the client's query object so that it doesn't disappear on us. (tray_icon_destroyed_cb): unref the query previously ref'ed. svn path=/trunk/; revision=27132
* include missing string.h, to avoid problems in 64 bit builds.Rodrigo Moya2004-09-022-0/+6
| | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model-tasks.c: include missing string.h, to avoid problems in 64 bit builds. svn path=/trunk/; revision=27111
* constify the strings to remove a warning.Not Zed2004-08-303-4/+15
| | | | | | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> * common/authentication.c (auth_func_cb): constify the strings to remove a warning. ** See bug #64856 (workaround). * common/authentication.c (auth_func_cb): * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password request. svn path=/trunk/; revision=27077
* get the active state (insert_rsvp): set inital rsvp stateJP Rosevear2004-08-282-1/+9
| | | | | | | | | | | | 2004-08-28 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (rsvp_clicked_cb): get the active state (insert_rsvp): set inital rsvp state * gui/alarm-notify/alarm-queue.c (alarm_queue_add_client): load immediately if they are loaded svn path=/trunk/; revision=27057
* bump version, requirementsJP Rosevear2004-08-281-1/+5
| | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * configure.in: bump version, requirements svn path=/trunk/; revision=27050
* use the new 'has-alarms-in-range' query. (alarm_queue_add_client): makeRodrigo Moya2004-08-282-15/+38
| | | | | | | | | | 2004-08-27 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (load_alarms): use the new 'has-alarms-in-range' query. (alarm_queue_add_client): make sure we don't add twice the same alarm. svn path=/trunk/; revision=27044
* Fixes #62911, #54101JP Rosevear2004-08-282-258/+606
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> Fixes #62911, #54101 * gui/e-itip-control.c (set_ok_sens): util routine to set sensitivity of OK button (cal_opened_cb): cal back when calendar opens, sensitize ok button (start_calendar_server): open async and take call back arg (source_selected_cb): desensitize ok button until calendar is loaded (find_cal_opened_cb): check to see if the calendar contains the object we are looking for, if none do show the source selector option menu (find_server): search async for the server (destroy): clean up html widget (finalize): instead of here (get_publish_options): use only object tag (get_request_options): ditto (get_request_fb_options): ditto (get_reply_options): ditto (get_refresh_options): ditto (get_cancel_options): ditto (show_current_event): use new options, remove groupwise NEEDS ACTION check, handle async loading (show_current_todo): use new options, handle async loading (option_activated_cb): record action (add_option): add action item (insert_boxes): layout widgets (insert_label): insert label (rsvp_clicked_cb): record rsvp status (insert_rsvp): insert rsvp check box (insert_ok): insert ok button (publish_options_object): spit out relevant options (request_options_object): ditto (freebusy_options_object): ditto (reply_options_object): ditto (refresh_options_object): ditto (cancel_options_object): ditto (object_requested_cb): handle object requests (ok_clicked_cb): use recorded actions svn path=/trunk/; revision=27043
* update protoJP Rosevear2004-08-273-19/+43
| | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (list_changed_cb): use per source type client hash (alarm_notify_init): ditto (alarm_notify_finalize): ditto (cal_opened_cb): ditto (alarm_notify_add_calendar): ditto (alarm_notify_remove_calendar): ditto, take source_type arg (load_calendars_cb): don't call list_changed if the source list is NULL svn path=/trunk/; revision=27042
* Don't mark component menu accels for translation.Christian Neumair2004-08-272-2/+7
| | | | svn path=/trunk/; revision=27036
* prepare the local record correctly, should fix copy to/from problems whenJP Rosevear2004-08-263-2/+9
| | | | | | | | | | | 2004-08-25 JP Rosevear <jpr@novell.com> * conduits/todo/todo-conduit.c (for_each): prepare the local record correctly, should fix copy to/from problems when syncing * conduits/calendar/calendar-conduit.c (for_each): ditto svn path=/trunk/; revision=27026
* Don't call gtk_dialog_set_has_separator on Gtk Message DialogFrédéric Crozat2004-08-252-0/+8
| | | | | | | * gui/dialogs/recur-comp.c: (recur_component_dialog): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog svn path=/trunk/; revision=27017
* Reset the Status Bar message to NUll, if the status of the Calendar isChenthill Palanisamy2004-08-252-0/+7
| | | | | | | | | | 2004-08-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-tasks.c (default_client_cal_opened_cb): Reset the Status Bar message to NUll, if the status of the Calendar is returned OK. svn path=/trunk/; revision=27015
* Fixes #58824Rodrigo Moya2004-08-252-15/+24
| | | | | | | | | | | | | | | | 2004-08-24 Rodrigo Moya <rodrigo@novell.com> Fixes #58824 * gui/gnome-cal.c (open_ecal): Only try to open the calendar if not loaded yet. (update_query, client_cal_opened_cb, default_client_cal_opened_cb, backend_died_cb): use always the same view for status messages. (gnome_calendar_set_activity_handler): set the activity handlers on all views, not just the current one. (display_view): no need to set the activity handler here. svn path=/trunk/; revision=27007
* Make the description scrolled window scroll policy "automatic" rather thanJeffrey Stedfast2004-08-242-14/+20
| | | | | | | | | | 2004-08-13 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/event-page.glade: Make the description scrolled window scroll policy "automatic" rather than "never". Fixes bug #62063. svn path=/trunk/; revision=26998
* initialize the mutext needed to prevent concurrect accessSivaiah Nallagatla2004-08-182-16/+43
| | | | | | | | | | | | | | | | 2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.c (alarm-notify_init) : initialize the mutext needed to prevent concurrect access priv->uri_clients_hash. Also install a timeout handler for loading sources which requires auth later (alarm_notify_finalize) : free the new mutex (load_calendars_cb) : call back which adds sources again after one minute (alarm_notify_add_calendar) : lock ad unlock the new mutex before and after accessing uri_clients_hash svn path=/trunk/; revision=26962
* Fixes #62706JP Rosevear2004-08-172-1/+12
| | | | | | | | | | | 2004-08-16 JP Rosevear <jpr@ximian.com> Fixes #62706 * gui/e-cal-model.c (e_cal_model_set_timezone): set the default timezone on the server svn path=/trunk/; revision=26955
* change the prototype of alarm_notify_add_calendar to take Esource insteadSivaiah Nallagatla2004-08-163-9/+31
| | | | | | | | | | | | | | | | 2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.h : change the prototype of alarm_notify_add_calendar to take Esource instead of uri * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar) : use auth_new_cal_from_source instead of _from_uri to create cal client also do not try to load the cal backend which require auth and for which there is no password availble in e-password seesion (list_changed_cb) (load_calendars) : pass Esource insted of uri to alarm_notify_add_calendar svn path=/trunk/; revision=26947
* initialize priv->default_lcient (default_client_cal_opened_cb) : unrefSivaiah Nallagatla2004-08-162-6/+17
| | | | | | | | | | | | | | | 2004-08-14 Sivaiah Nallagatla <snallagatla@novell.com> * gui/e-tasks.c (e_tasks_init) : initialize priv->default_lcient (default_client_cal_opened_cb) : unref priv->default_client and make it NULL (client_cal_opened_cb) : don't unref client explicitly as removing from priv->clients already does that. Remove client based on uid instead of uri (backend_died_cb) : Remove client based on uid insted of uri Fixes #62869 svn path=/trunk/; revision=26943
* bump version. requiresJP Rosevear2004-08-141-0/+2
| | | | | | | | 2004-08-13 JP Rosevear <jpr@novell.com> * configure.in: bump version. requires svn path=/trunk/; revision=26926
* make the button say Add Task List instead of Add Group (matches menu item)JP Rosevear2004-08-132-1/+6
| | | | | | | | | 2004-08-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.glade: make the button say Add Task List instead of Add Group (matches menu item) svn path=/trunk/; revision=26910
* added the property "use_filechooser" to the GnomeFileEntryCarlos Garnacho Parro2004-08-132-0/+6
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/dialogs/alarm-dialog.glade: added the property "use_filechooser" to the GnomeFileEntry svn path=/trunk/; revision=26896
* epasswords api change.Not Zed2004-08-123-6/+11
| | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * gui/e-pub-utils.c (e_pub_publish): * common/authentication.c (auth_func_cb): epasswords api change. svn path=/trunk/; revision=26882
* Fixes #61555JP Rosevear2004-08-112-6/+44
| | | | | | | | | | | | | 2004-08-11 JP Rosevear <jpr@ximian.com> Fixes #61555 * gui/dialogs/meeting-page.c (existing_attendee): check if an attendee was pre-existing (remove_attendee): only add the attendee to the cancel comp if it was pre-existing svn path=/trunk/; revision=26870
* guard against re-running the same query.Rodrigo Moya2004-08-112-0/+8
| | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_search_query): guard against re-running the same query. svn path=/trunk/; revision=26868
* disconnect from signals also when using only the system tray. Fixes aRodrigo Moya2004-08-102-0/+9
| | | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): disconnect from signals also when using only the system tray. Fixes a crash when removing an event that had an alarm popup recently. svn path=/trunk/; revision=26862
* re-added 'Make this occurrence movable' menu item, gone by mistake.Rodrigo Moya2004-08-102-18/+96
| | | | | | | | | | 2004-08-09 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c: re-added 'Make this occurrence movable' menu item, gone by mistake. (on_unrecur_appointment): new callback for the new menu item. svn path=/trunk/; revision=26861
* Fixes #62452JP Rosevear2004-08-092-56/+76
| | | | | | | | | | | | | | | | 2004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62452 * gui/e-itip-control.c (find_my_address): take option to retrieve current status as well, actually look for the delegator in the list so we can retrieve status there as well (show_current_event): use find_my_address to get the status so we properly handle not finding the address in the list of attendees (show_current): pass extra param (ok_clicked_cb): ditto svn path=/trunk/; revision=26856
* Fixes #62021JP Rosevear2004-08-085-0/+36
| | | | | | | | | | | | | | | | | | | | 004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62021 * gui/dialogs/event-page.c (source_changed_cb): set the default timezone * gui/e-itip-control.c (start_calendar_server): set the default timezone * gui/calendar-component.c (setup_create_ecal): set the default timezone, as the component view is not alive and hence has not set it * gui/tasks-component.c (setup_create_ecal): ditto svn path=/trunk/; revision=26849
* Fix for bug #61673. The function takes two arguments now, instead of one.Parthasarathi S A2004-08-066-6/+47
| | | | | | | | | | | | | | | | | | | 2004-08-05 Parthasarathi S A <sparthasarathi@novell.com> Fix for bug #61673. * calendar/gui/dialogs/save_comp.c(save_component_dialog): The function takes two arguments now, instead of one. The second argument is the pointer to the ECalComponent from which the component type can be determined. Based on the component type the corresponding error message is displayed. * calendar/gui/dialogs/save_comp.h: Function definition updated for save_component_dialog. * calendar/gui/dialogs/comp_editor.c(prompt_to_save_changes): passing the ECalComponent pointer to the 'save_component_dialog' function * calendar/calendar-errors.xml: New error message string for task included * calendar/calendar-errors.xml.h svn path=/trunk/; revision=26839
* Fixes #62030Rodrigo Moya2004-08-063-12/+30
| | | | | | | | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): only remove the tray icon blinking timeout if we installed it. (display_notification): only install the tray icon blinking timeout if using the system tray. (tray_icon_blink_cb): use g_object_unref instead of the deprecated gdk_pixbuf_unref. * gui/alarm-notify/alarm.c (alarm_add): added missing argument documentation. svn path=/trunk/; revision=26838
* clean up all the default clients (default_client_cal_opened_cb): changeJP Rosevear2004-08-053-28/+58
| | | | | | | | | | | | | | | | | | | | | | | 2004-08-03 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_destroy): clean up all the default clients (default_client_cal_opened_cb): change the if statement to a switch to be consistent with the other code bits and set the default client for the source type (gnome_calendar_add_source): look at the default based on the source type (gnome_calendar_set_default_source): set the default for the source type (gnome_calendar_new_task): bail out if we have no ecal * gui/gnome-cal.c (set_timezone): set the timezone for all the default clients * gui/calendar-component.c (update_primary_task_selection): look in the task source list, not the plain source list svn path=/trunk/; revision=26828
* kill warning by checking if there is a default client first (can happenJP Rosevear2004-08-052-1/+10
| | | | | | | | | | 2004-08-05 JP Rosevear <jpr@novell.com> * gui/tasks-control.c (tasks_control_sensitize_commands): kill warning by checking if there is a default client first (can happen when first starting up) svn path=/trunk/; revision=26827
* Fixes #62363JP Rosevear2004-08-052-0/+8
| | | | | | | | | | | 004-08-05 JP Rosevear <jpr@novell.com> Fixes #62363 * gui/calendar-component.c (create_new_event): commit the sequence svn path=/trunk/; revision=26826
* Handle decline request by using update_item rather than remove_item, soHarish Krishnaswamy2004-08-042-1/+10
| | | | | | | | | * gui/e-itip-control.c: (ok_clicked_cb): Handle decline request by using update_item rather than remove_item, so the backend receives the notification and can handle it. Also, do not rsvp if the backend has the 'save_schedule' capability. svn path=/trunk/; revision=26818
* get source list and source (todoconduit_dupe_configuration): copy sourceJP Rosevear2004-08-035-19/+116
| | | | | | | | | | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * conduits/todo/todo-conduit.c (todoconduit_load_configuration): get source list and source (todoconduit_dupe_configuration): copy source list and source (todoconduit_destroy_configuration): unref source list and source (start_calendar_server): open the source that was set earlier (fill_widgets): set the source option menu value (create_settings_window): pass source list to pilot settings (save_settings): mark source with pilot-sync property * conduits/calendar/calendar-conduit.c: as above * conduits/todo/Makefile.am: link to and include misc. widgets * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=26798
* Fixes #57622Rodrigo Moya2004-08-028-69/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Rodrigo Moya <rodrigo@novell.com> Fixes #57622 * gui/e-cal-model.h: added ECalModelFlags enum type. * gui/e-cal-model.c (e_cal_model_set_flags, e_cal_model_get_flags): new functions. (e_cal_model_init): initialize the new internal field to keep the flags. (e_cal_view_objects_added_cb): expand recurrences if the model flags contain the EXPAND_RECUR bit. (e_cal_view_objects_modified_cb): if EXPAND_RECUR is on, remove all recurrences and regenerate them. (e_cal_view_objects_removed_cb): remove all instances for given UIDs. (add_new_client): killed warning. (get_dtstart): use the instance_start time when dealing with recurrences. * gui/e-cal-model-calendar.c (get_dtend): use the instance_end time when dealing with recurrences. * gui/e-cal-list-view.c (e_cal_list_view_new): set the EXPAND_RECUR flag on the model for the list view. * gui/e-week-view.c (e_week_view_add_event): * gui/e-day-view.c (e_day_view_add_event): fill in the instance's start and end times in the ECalModelComponent struct. * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): use the instance_start field to retrieve the RECUR-ID, now that all the views fill it in. svn path=/trunk/; revision=26790
* creating new items no longer needs to be disabled since the user canJP Rosevear2004-08-012-4/+10
| | | | | | | | | | 2004-07-29 JP Rosevear <jpr@novell.com> * gui/e-calendar-view.c: creating new items no longer needs to be disabled since the user can switch to a writable calendar and the editor ui is disabled properly svn path=/trunk/; revision=26786
* use Invitations not Meetings (event_editor_edit_comp): dittoJP Rosevear2004-08-012-2/+8
| | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (show_meeting): use Invitations not Meetings (event_editor_edit_comp): ditto svn path=/trunk/; revision=26785
* guard with is_instance instead of has_recurrences because most of theJP Rosevear2004-08-013-8/+22
| | | | | | | | | | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/e-day-view.c (e_day_view_finish_long_event_resize): guard with is_instance instead of has_recurrences because most of the backends don't support this yet (e_day_view_finish_resize): ditto (e_day_view_change_event_time): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/e-week-view.c (e_week_view_change_event_time): ditto (e_week_view_on_editing_stopped): ditto svn path=/trunk/; revision=26784
* Handle E_CALENDAR_STATUS_BUSY conditions and do notHarish Krishnaswamy2004-07-303-0/+19
| | | | | | remove the source from the gnome-calendar. svn path=/trunk/; revision=26774
* hide dialog items that don't apply when editing properties.Larry Ewing2004-07-302-3/+29
| | | | | | | | | | | 004-07-28 Larry Ewing <lewing@novell.com> * gui/dialogs/calendar-setup.c (dialog_hide_unused_options): hide dialog items that don't apply when editing properties. (general_update_dialog): check to make sure we have a source before checking its state. svn path=/trunk/; revision=26773
* Fixes #62006JP Rosevear2004-07-292-1/+10
| | | | | | | | | | | 2004-07-27 JP Rosevear <jpr@novell.com> Fixes #62006 * gui/e-cal-model.c (add_new_client): don't load the events if we are already doing the query svn path=/trunk/; revision=26760
* Fixes #61058JP Rosevear2004-07-272-5/+48
| | | | | | | | | | | | | | | | | | 2004-07-25 JP Rosevear <jpr@ximian.com> Fixes #61058 * gui/e-week-view.c (process_component_recur_cb): add but don't prepend (process_component): use above as call back so we can pass the prepend bool (e_week_view_add_event): take a prepend bool and prepend to the events array if asked so the event will be shown first when drawn (e_week_view_do_key_press): If the event can't be fit on the screen, ie not even one event can be shown in the day, don't try to edit it svn path=/trunk/; revision=26741
* Fix mnemonic for "Location" to not be duplicated with "OK"Rodney Dawes2004-07-275-225/+176
| | | | | | | | | | | | | | | | | | | 2004-07-26 Rodney Dawes <dobey@novell.com> * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not be duplicated with "OK" * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label (meeting_page_construct): Fix padding of GtkScrolledWindow widget Set the mnemonic widget for the "Attendees" label * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct Fix the mnemonic for "Organizer" to not conflict Add mnemonic for "Attendees" * gui/dialogs/task-page.glade: Add mnemonic for "Description" svn path=/trunk/; revision=26737
* set a different title if we are editing; de-sensitize option menu if weJP Rosevear2004-07-265-19/+53
| | | | | | | | | | | | | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set a different title if we are editing; de-sensitize option menu if we are editing (calendar_setup_edit_task_list): set a different title if we are editing * gui/dialogs/calendar-setup.glade: use task list instead of tasks group * gui/tasks-component.c (impl__get_userCreatableItems): add assigned task as an item, use task list instead of tasks group * gui/calendar--component.c (impl__get_userCreatableItems): fiddle with shortcuts svn path=/trunk/; revision=26735
* Fixes #59983 If the ecal component is already loaded, check for thepchenthill2004-07-262-2/+39
| | | | | | | | | | | 2004-07-25 pchenthill <pchenthill@novell.com> Fixes #59983 If the ecal component is already loaded, check for the participation status of the attendee and display the menu for selecting the calendar. svn path=/trunk/; revision=26732
* Fixes #61571JP Rosevear2004-07-242-1448/+32
| | | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@ximian.com> Fixes #61571 * gui/e-week-view.c (e_week_view_start_editing_event): if the event moves, find it again using the model data as the invariant and then find the span again svn path=/trunk/; revision=26721
* Fixes #61760JP Rosevear2004-07-242-7/+11
| | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@novell.com> Fixes #61760 * gui/e-cal-model.c (add_new_client): don't check against the URI, just against the client svn path=/trunk/; revision=26720
* Retracting the commit made below for #59983 as it has results in crashpchenthill2004-07-232-31/+7
| | | | | | | | | 2004-07-23 pchenthill <pchenthill@novell.com> * Retracting the commit made below for #59983 as it has results in crash some cases svn path=/trunk/; revision=26713
* Fixes #59983 If the ecal component is already loaded, check for thepchenthill2004-07-232-2/+39
| | | | | | | | | | | | 2004-07-23 pchenthill <pchenthill@novell.com> Fixes #59983 * gui/e-itip-control.c (show_current_event): If the ecal component is already loaded, check for the participation status of the attendee and display the menu for selecting the calendar. svn path=/trunk/; revision=26712
* fix the row heights and tweek the offsets so that things come out OK.Larry Ewing2004-07-232-11/+39
| | | | | | | | | | 2004-07-16 Larry Ewing <lewing@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): fix the row heights and tweek the offsets so that things come out OK. svn path=/trunk/; revision=26706
* Fixes #61776JP Rosevear2004-07-222-3/+11
| | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61776 * gui/e-calendar-table.c (clipboard_get_text_cb): make sure the text is not NULL svn path=/trunk/; revision=26702
* Fixes #61738JP Rosevear2004-07-222-4/+19
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61738 * gui/dialogs/meeting-page.c (clear_widgets): by default we have a user as organizer (sensitize_widgets): use user_org to determine widget sensitivity (meeting_page_fill_widgets): set user_org value appropriately (change_clicked_cb): set user_org to TRUE svn path=/trunk/; revision=26701
* Fixes #61779JP Rosevear2004-07-223-0/+16
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61779 * gui/dialogs/task-page.c (init_widgets): listen for changes on start and due dates * gui/dialogs/task-details-page.c (init_widgets): listen for changes on completion date svn path=/trunk/; revision=26700
* include config.h. See #61395.Not Zed2004-07-228-0/+38
| | | | | | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c: * importers/icalendar-importer.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/copy-source-dialog.c: * gui/alarm-notify/util.c: * common/authentication.c: * gui/migration.c: include config.h. See #61395. svn path=/trunk/; revision=26694
* Fixes #61451JP Rosevear2004-07-202-4/+25
| | | | | | | | | | | | | 2004-07-16 JP Rosevear <jpr@novell.com> Fixes #61451 * gui/e-itip-control.c (get_cancel_options): don't give a cancel option if the event is no where to be found (show_current_event): pass in kind (show_current_todo): ditto svn path=/trunk/; revision=26678
* use short month forms to limit the maximum width of the label.Larry Ewing2004-07-202-7/+12
| | | | | | | | | 2004-07-16 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (set_info): use short month forms to limit the maximum width of the label. svn path=/trunk/; revision=26673
* Fixes #57142Rodrigo Moya2004-07-164-4/+19
| | | | | | | | | | | | | | | | | | | 2004-07-15 Rodrigo Moya <rodrigo@novell.com> Fixes #57142 * gui/e-day-view.c (e_day_view_on_editing_stopped): commit the sequence on the object before sending it to the backend. (e_day_view_add_event): s/abort_sequence/commit_sequence. * gui/e-week-view.c (e_week_view_on_editing_stopped): commit the sequence here also. (e_week_view_add_event): s/abort_sequence/commit_sequence. * gui/comp-util.c (cal_comp_event_new_with_current_time): don't commit the sequence here. svn path=/trunk/; revision=26665
* Fixes #61572JP Rosevear2004-07-163-350/+15
| | | | | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #61572 * gui/dialogs/schedule-page.c (times_changed_cb): call notify changed * gui/dialogs/comp-editor.c (page_summary_changed_cb): no need to mark the editor changed here, it doesn't do the right thing anyhow (page_dates_changed_cb): ditto svn path=/trunk/; revision=26659
* Fixes #60678JP Rosevear2004-07-152-8/+15
| | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #60678 * gui/dialogs/cancel-comp.c (cancel_component_dialog): flip the messages around, the "deleting" flag means something else is doing the deleting svn path=/trunk/; revision=26658
* Fixes #57287, 58748JP Rosevear2004-07-1413-99/+500
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-12 JP Rosevear <jpr@novell.com> Fixes #57287, 58748 * gui/tasks-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating a task (create_component_view): listen for source_added signal on the tasks * gui/gnome-cal.c (view_selection_changed_cb): if the user created a task, make sure we are displaying the relevant event list (set_timezone): set the default zone of the default client (setup_widgets): listen for the user_created signal (gnome_calendar_destroy): clean up default client (client_cal_opened_cb): disconnect from the open signal (default_client_cal_opened_cb): set the default client on the models (open_ecal): make the callback function a param (gnome_calendar_add_source): include the default client when searching for an existing client (gnome_calendar_set_default_source): make the default client independent of the rest of the clients * gui/e-week-view.c (e_week_view_on_editing_stopped): emit user_created signal * gui/e-tasks.c (user_created_cb): if the user created a task, make sure we are displaying the relevant task list (set_timezone): set the timezone on the client (setup_widgets): listen for user_created signal (e_tasks_destroy): unref default client (default_client_cal_opened_cb): set the default on the model when it opens (open_ecal): open a task list (e_tasks_add_todo_source): include the default client when searching for an existing client (e_tasks_set_default_source): make the default client independent of the rest of the clients * gui/e-day-view.c (e_day_view_on_editing_stopped): emit user_created signal * gui/e-calendar-view.h: add signal proto * gui/e-calendar-view.c (e_calendar_view_class_init): add user_created signal * gui/e-calendar-table.h: add signal proto * gui/e-calendar-table.c (e_calendar_table_class_init): add user_created signal (row_appended_cb): if row is appended, emit user_created signal (e_calendar_table_init): listen for row_appended signal * gui/e-cal-model.h: add signal proto * gui/e-cal-model.c (e_cal_model_class_init): add row_appended signal (ecm_append_row): don't leak, emit row appended signal (e_cal_model_set_default_client): remove the existing default if it was only used as the default (update_e_cal_view_for_client): short circuit query create (add_new_client): look for an existing client and update its record if found, handle opening things here (e_cal_model_add_client): just call add_new_client (remove_client_objects): just remove a client's objects (remove_client): use above, handle removal of client if its default * gui/calendar-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating an appointment (create_component_view): listen for source_added signal on the calendar svn path=/trunk/; revision=26644
* reverted unwanted changeRadek Doulik2004-07-131-4/+0
| | | | svn path=/trunk/; revision=26637
* reverted unwanted changeRadek Doulik2004-07-131-0/+4
| | | | svn path=/trunk/; revision=26636
* reverted unwanted changeRadek Doulik2004-07-132-6/+0
| | | | svn path=/trunk/; revision=26635
* as belowRadek Doulik2004-07-136-14/+34
| | | | | | | | | | | | | | | | | | 2004-07-08 Radek Doulik <rodo@ximian.com> * gui/e-cal-model.c (e_cal_model_date_value_to_string): as below * gui/e-cal-model-calendar.c (ecmc_value_to_string): as below * gui/e-cal-model.c (ecm_value_to_string): as below * gui/e-cal-model-tasks.c (ecmt_value_to_string): dup the string value, it's free-ed later. instead of returning NULL return g_strdup ("") as gal does Fixes #56271 svn path=/trunk/; revision=26634
* Add this callback so we can set the paned position on realizeRodney Dawes2004-07-132-8/+29
| | | | | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey#novell.com> * gui/e-tasks.c (pane_realized): Add this callback so we can set the paned position on realize (setup_widgets): Move the paned widget to the priv structure so that we can access it elsewhere (display_view_cb): Set the paned position when the view gets displayed Fixes #55653 svn path=/trunk/; revision=26624
* Update the layout of the dialog to be more usableRodney Dawes2004-07-132-6/+30
| | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey@novell.com> * gui/dialogs/recur-comp.c (recur_component_dialog): Update the layout of the dialog to be more usable Partially fixes #56171 svn path=/trunk/; revision=26623
* busy should be opaque, not transparentJürg Billeter2004-07-122-1/+6
| | | | | | | | | 2004-07-11 Jürg Billeter <j@bitron.ch> * gui/dialogs/event-page.c (event_page_fill_component): busy should be opaque, not transparent svn path=/trunk/; revision=26619
* Revert my patches from July 5th and 6th.Rodrigo Moya2004-07-102-6/+17
| | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Revert my patches from July 5th and 6th. * gui/gnome-cal.c (gnome_calendar_init): call setup_config/widgets in the previous order. (setup_widgets): set the timezone on the views when creating them. (set_timezone): no need to set the timezone on the views here. (client_cal_opened_cb): removed call to set_timezone(). svn path=/trunk/; revision=26613
* Add an argument for the event_num so we can get the event object Draw theRodney Dawes2004-07-103-8/+56
| | | | | | | | | | | | | | | 2004-07-09 Rodney Dawes <dobey@novell.com> * gui/e-day-view-top-item.c (e_day_view_top_item_draw_triangle): Add an argument for the event_num so we can get the event object Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points * gui/e-week-view-event-item.c (e_week_view_event_item_draw_triangle): Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points svn path=/trunk/; revision=26609
* Fixes #60289Rodrigo Moya2004-07-103-3/+39
| | | | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Fixes #60289 * gui/dialogs/select-source-dialog.c (select_source_dialog): set the absolute URI on the selected source, so that the ESource we keep around has a valid URI. * gui/e-calendar-view.c (transfer_item_to): when copying appointments, change the UID. (transfer_selected_items): don't pass hardcoded values to transfer_item_to. svn path=/trunk/; revision=26608
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-092-1/+6
| | | | | | | * gui/Makefile.am: tarball should ship .schemas.in.in files, not generated files. svn path=/trunk/; revision=26605
* setup the widgets before the configuration.Rodrigo Moya2004-07-062-1/+6
| | | | | | | | | 2004-07-06 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (gnome_calendar_init): setup the widgets before the configuration. svn path=/trunk/; revision=26587
* Fixes #60645JP Rosevear2004-07-062-0/+11
| | | | | | | | | | | 2004-07-06 JP Rosevear <jpr@novell.com> Fixes #60645 * gui/e-calendar-view.c (e_calendar_view_new_appointment_full): guess when an item should be all day based on the selection time svn path=/trunk/; revision=26586
* don't set the timezone on the views here. (set_timezone): do it here.Rodrigo Moya2004-07-062-6/+11
| | | | | | | | | | | 2004-07-05 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (setup_widgets): don't set the timezone on the views here. (set_timezone): do it here. (client_cal_opened_cb): call set_timezone() here. svn path=/trunk/; revision=26585
* update the internal current_view_type field and focus the newly selectedRodrigo Moya2004-07-052-0/+7
| | | | | | | | | 2004-07-02 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (set_view): update the internal current_view_type field and focus the newly selected view. svn path=/trunk/; revision=26582
* Get the label for the calendar list header also (init_widgets): Set theRodney Dawes2004-07-034-181/+255
| | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/url-editor-dialog.c (get_widgets): Get the label for the calendar list header also (init_widgets): Set the border widths for the dialog's vbox and action area to be more compliant with the HIG Set the mnemonic widget for the calendar label, to the Source Selector Remove the unneeded settings for the scrolled window, these are in the glade xml for the widget Set the icon list on the correct dialog widget, not the settings dialog * gui/dialogs/url-editor-dialog.h: Add the calendar_list_label widget here so we can access it * gui/dialogs/url-editor-dialog.glade: Change the dialog's layout to be HIG compliant and fix some strings to do the same Add mnemonics to all the labels that are associated with widgets svn path=/trunk/; revision=26564
* store and lookup clients based on ESource uid instead of uri inSivaiah Nallagatla2004-06-292-14/+20
| | | | | | | | | | 2004-06-29 Sivaiah Nallagatla <snallagatla@novell.com> * gui/e-tasks.c (e_tasks_add_todo_source) (e_tasks_remove_todo_source) : store and lookup clients based on ESource uid instead of uri in priv->clients svn path=/trunk/; revision=26545
* same.Not Zed2004-06-283-4/+11
| | | | | | | | | | | 2004-06-28 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (impl__get_userCreatableItems): same. * gui/calendar-component.c (impl__get_userCreatableItems): fix up shortcuts. #56746. svn path=/trunk/; revision=26540
* don't show option tabsJP Rosevear2004-06-262-3/+6
| | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-dialog.glade: don't show option tabs svn path=/trunk/; revision=26519
* use "Task" instead of "Basic"JP Rosevear2004-06-263-2/+10
| | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/task-editor.c (task_editor_construct): use "Task" instead of "Basic" * gui/dialogs/event-editor.c (event_editor_construct): use "Invitations" instead of "Meeting" svn path=/trunk/; revision=26518
* use "Contacts..."JP Rosevear2004-06-264-46/+155
| | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/e-delegate-dialog.glade: use "Contacts..." * gui/dialogs/alarm-dialog.glade: add custom message email toggle * gui/dialogs/alarm-dialog.c (get_widgets): get custom email message toggle (check_custom_email): check the custom message when setting sensitivity of OK button (malarm_message_toggled_cb): check custom email (malarm_description_changed_cb): ditto (action_selection_done_cb): ditto svn path=/trunk/; revision=26517
* set the default address here if possible (dialog_to_alarm): don't set itJP Rosevear2004-06-262-21/+70
| | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-dialog.c (alarm_to_dialog): set the default address here if possible (dialog_to_alarm): don't set it here (check_custom_email): check for To: entries (malarm_addresses_changed_cb): update when the text in the to entry changes (action_selection_done_cb): for the custom email settings (init_widgets): listen for email To: changes (alarm_dialog_run): only save the alarm if the response was "OK" svn path=/trunk/; revision=26516
* init alarm interval to -1 (clear_widgets): give the alarm time option menuJP Rosevear2004-06-252-17/+142
| | | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_init): init alarm interval to -1 (clear_widgets): give the alarm time option menu a sensible default (is_custom_alarm): account for the user defined alarm time if it doesn't match the default set (event_page_fill_widgets): default the option menu to the 15 minute or user define alarm if no alarm is currently set (event_page_fill_component): account for the user defined alarm tme (init_widgets): add in the user defined alarm time if it doesn't match the default set svn path=/trunk/; revision=26515
* the args are optional, don't store them if they aren't thereJP Rosevaer2004-06-252-23/+146
| | | | | | | | | | | | | | | | | | | | 2004-06-25 JP Rosevaer <jpr@novell.com> * gui/dialogs/alarm-dialog.c (palarm_widgets_to_alarm): the args are optional, don't store them if they aren't there (check_custom_sound): sensitize the ok button based on whether or not there needs to be input (check_custom_message): ditto (check_custom_program): ditto (dalarm_message_toggled_cb): check custom message (dalarm_description_changed_cb): ditto (aalarm_sound_toggled_cb): check custom sound (aalarm_attach_changed_cb): ditto (palarm_program_changed_cb): check custom program (action_selection_done_cb): use above checks as appropriate (init_widgets): listen for changed signals svn path=/trunk/; revision=26512
* free old_summary (is_custom_alarm): take description into account whenJP Rosevear2004-06-254-83/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 004-06-25 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_finalize): free old_summary (is_custom_alarm): take description into account when checking for custom alarm (is_custom_alarm_uid_list): pass old_summary (is_custom_alarm_store): ditto (is_custom_alarm_store): ditto (sensitize_widgets): ditto (event_page_fill_component): ditto (event_page_fill_widgets): store the initial summary (alarm_changed_cb): make sure the needs description property gets set on the default alarm (alarm_custom_clicked_cb): copy the current store in case the user hits cancel, if all the alarms are erased uncheck the alarm toggle * gui/dialogs/alarm-dialog.glade: add toggles for custom messages and sound * gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store custom sound only if the toggle is checked (dalarm_widgets_to_alarm): store custom message only if toggle is checked (get_widgets): load new widgets (aalarm_sound_toggled_cb): sensitize sound entry (dalarm_message_toggled_cb): sensitize message entry (init_widgets): listen for toggle signals svn path=/trunk/; revision=26511
* sensitize the buttons (init_widgets): listen for selection changes so weJP Rosevear2004-06-252-0/+18
| | | | | | | | | | | 2004-06-24 JP Rosevear <jpr@novell.com> * gui/dialogs/alarm-list-dialog.c (selection_changed_cb): sensitize the buttons (init_widgets): listen for selection changes so we can delete alarms svn path=/trunk/; revision=26502
* store all the custom alarms (alarm_custom_clicked_cb): emit changed signalJP Rosevear2004-06-2510-1661/+1410
| | | | | | | | | | | | | | | | | | | | 2004-06-24 JP Rosevear <jpr@novell.com> * gui/dialogs/event-page.c (event_page_fill_component): store all the custom alarms (alarm_custom_clicked_cb): emit changed signal if necessary * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return true/false based on button pushed * gui/dialogs/alarm-dialog.c: move repeat options and per alarm type options here * gui/dialogs/alarm-dialog.glade: ditto * gui/dialogs/Makefile.am: remove alarm options dialog svn path=/trunk/; revision=26500
* Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-253-0/+9
| | | | | | | | | | | | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (create_component_view): * gui/tasks-component.c (create_component_view): Add a call to e_source_selector_set_select_new here so that we can select new sources when we create them 2004-06-24 Rodney Dawes <dobey@novell.com> * e-source-selector.[ch]: Add new "select_new" property to private structure of the ESourceSelector (rebuild_cb): Add code to select the new source, and cause the selection_changed signal to get emitted, if we select new sources (init): Don't select new sources by default (e_source_selector_set_select_new): Add function to set whether or not we want to select new sources when we add them svn path=/trunk/; revision=26498
* Bump the version to 0.1.5 to help track down bug #59726.Jeffrey Stedfast2004-06-242-1/+9
| | | | | | | | | 2004-06-23 Jeffrey Stedfast <fejj@novell.com> * conduits/todo/todo-conduit.c: Bump the version to 0.1.5 to help track down bug #59726. svn path=/trunk/; revision=26481
* set the window type hint to normal so it can go below the shell windowJP Rosevear2004-06-242-0/+7
| | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c (comp_editor_init): set the window type hint to normal so it can go below the shell window svn path=/trunk/; revision=26480
* fixed gtk-doc comments and made it enable/disable the dialog's OK buttonRodrigo Moya2004-06-242-4/+15
| | | | | | | | | | 2004-06-23 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.c (comp_editor_notify_client_changed): fixed gtk-doc comments and made it enable/disable the dialog's OK button depending on the selected source. svn path=/trunk/; revision=26479
* Revert previous change to add the callbacks for notification of calendarRodney Dawes2004-06-242-22/+9
| | | | | | | | | | | 2004-06-23 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c: Revert previous change to add the callbacks for notification of calendar selection changes (create_new_view): Update the comment for watching notification on the tasks selection to state it is for the mini tasks view svn path=/trunk/; revision=26478
* Fixes #57862JP Rosevear2004-06-232-6/+13
| | | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> Fixes #57862 * gui/gnome-cal.c (connect_day_view_focus): connect after the focus events happen so the day view knows what is selected svn path=/trunk/; revision=26477
* Fixed ChangeLog... ran cvs commit in subdir last night which didn't grab ↵Rodney Dawes2004-06-231-1/+12
| | | | | | ChangeLog svn path=/trunk/; revision=26475
* tidy up to work again (ok_clicked_cb): use above when replyingJP Rosevear2004-06-232-43/+14
| | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (update_attendee_status): tidy up to work again (ok_clicked_cb): use above when replying svn path=/trunk/; revision=26474
* util function to do the actual removal (remove_attendee_at_row): dittoJP Rosevear2004-06-232-39/+105
| | | | | | | | | | | | | 2004-06-23 JP Rosevear <jpr@novell.com> * gui/dialogs/meeting-page.c (remove_attendee): util function to do the actual removal (remove_attendee_at_row): ditto based on row number (remove_clicked_cb): make the remove button work (popup_delete_cb): use utility routines to do removal (button_press_event): do the icon properly svn path=/trunk/; revision=26473
* Add these two callbacks so that we can update the selection in theRodney Dawes2004-06-232-4/+57
| | | | | | | | | | | | | | 2004-06-22 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c (config_calendars_selection_changed_cb): (config_primary_calendar_selection_changed_cb): Add these two callbacks so that we can update the selection in the calendar when the gconf key changes, like we do for tasks (create_component_view): Register the two callbacks that we created for updating the selection in the view, and their notification IDs svn path=/trunk/; revision=26470
* clean up mnemonic handling and put the proper icon in the contacts buttonJP Rosevear2004-06-232-23/+22
| | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): clean up mnemonic handling and put the proper icon in the contacts button svn path=/trunk/; revision=26469
* fix mnemonicsJP Rosevear2004-06-233-4/+12
| | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/recurrence-page.glade: fix mnemonics * gui/dialogs/event-page.glade: ditto svn path=/trunk/; revision=26468
* kill warningsJP Rosevear2004-06-232-10/+4
| | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: kill warnings svn path=/trunk/; revision=26467
* kill warningJP Rosevear2004-06-232-1/+4
| | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (create_new_event): kill warning svn path=/trunk/; revision=26466
* removed alarm-page.*.Rodrigo Moya2004-06-232-3/+4
| | | | | | | | 2004-06-22 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/Makefile.am: removed alarm-page.*. svn path=/trunk/; revision=26465
* HIGify and newer design; alarm page is gone, Cancel/OK buttons for theJP Rosevear2004-06-2326-4042/+4100
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/dialogs/Makefile.am, gui/dialogs/alarm-dialog.c, gui/dialogs/alarm-dialog.glade, gui/dialogs/alarm-dialog.h, gui/dialogs/alarm-list-dialog.c, gui/dialogs/alarm-list-dialog.glade, gui/dialogs/alarm-list-dialog.h, gui/dialogs/alarm-options.c, gui/dialogs/alarm-options.h, gui/dialogs/alarm-page.c, gui/dialogs/alarm-page.glade, gui/dialogs/alarm-page.h, gui/dialogs/comp-editor.c, gui/dialogs/comp-editor.h, gui/dialogs/event-editor.c, gui/dialogs/event-page.c, gui/dialogs/event-page.glade, gui/dialogs/meeting-page.c, gui/dialogs/meeting-page.glade, gui/dialogs/recurrence-page.c, gui/dialogs/recurrence-page.glade, gui/dialogs/task-details-page.c, gui/dialogs/task-details-page.glade, gui/dialogs/task-editor.c, gui/dialogs/task-page.c, gui/dialogs/task-page.glade: HIGify and newer design; alarm page is gone, Cancel/OK buttons for the dialog, no more menus; slightly improve read-only workings for entry areas svn path=/trunk/; revision=26463
* rename widgets to be consistent with those else whereJP Rosevear2004-06-232-21/+12
| | | | | | | | | | | | 2004-06-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): rename widgets to be consistent with those else where (e_meeting_time_selector_set_read_only): cast properly (e_meeting_time_selector_on_invite_others_button_expose): remove, the widget sensitization is taken care of elsewhere svn path=/trunk/; revision=26462
* Fixes #59824Larry Ewing2004-06-232-2/+10
| | | | | | | | | | | | 2004-06-22 Larry Ewing <lewing@ximian.com> Fixes #59824 * gui/e-week-view.h: increase some of the passing so that the text does not appear to run together. Ideally this would be based on the font size but this will work for now. svn path=/trunk/; revision=26452
* Fixes #56892Rodney Dawes2004-06-222-3/+28
| | | | | | | | | | | | | | | | | 2004-06-21 Rodney Dawes <dobey@novell.com> Fixes #56892 * gui/dialogs/select-source-dialog.c (row_activated_cb): Add this callback to activate the OK button when we double-click or press the Enter key on a row (select_source_dialog): Change the default size to be reasonable Use ensure_style instead of realize on the dialog Set the default response for the dialog to OK Fix the packing of the group label to not have extraneous padding Connect up the callback for row_activated svn path=/trunk/; revision=26444
* Fixes bug #57592Jeffrey Stedfast2004-06-193-4/+13
| | | | | | | | | | | | | 2004-06-18 Jeffrey Stedfast <fejj@novell.com> Fixes bug #57592 * conduits/calendar/calendar-conduit.c (pre_sync): Same as below. * conduits/todo/todo-conduit.c (pre_sync): s/wombat/evolution-data-server/g svn path=/trunk/; revision=26428
* Fixes #58747Rodrigo Moya2004-06-192-0/+11
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #58747 * gui/dialogs/comp-editor.c (prompt_to_save_changes): if the source is read only, don't prompt the user. svn path=/trunk/; revision=26420
* Fixes #56323Rodrigo Moya2004-06-183-22/+10
| | | | | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #56323 * gui/calendar-component.c (create_new_event): removed read-only check, just call the editor with the currently selected client and let it do the job. * gui/tasks-component.c (create_new_todo): ditto. svn path=/trunk/; revision=26419
* Fixes #60293Rodrigo Moya2004-06-182-0/+21
| | | | | | | | | | | 2004-06-18 Rodrigo Moya <rodrigo@novell.com> Fixes #60293 * gui/dialogs/recurrence-page.c (type_toggled_cb): make sure we enable/disable correctly the 'Add' button. svn path=/trunk/; revision=26417
* check for host being non-NULL in soup uri. host can be null for uri's ofSivaiah Nallagatla2004-06-172-1/+7
| | | | | | | | | | 2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/itip-utils.c (itip_publish_comp) : check for host being non-NULL in soup uri. host can be null for uri's of the form file:/foo or http:/foo etc svn path=/trunk/; revision=26390
* Fixes #60309Rodrigo Moya2004-06-172-16/+23
| | | | | | | | | | | 2004-06-17 Rodrigo Moya <rodrigo@novell.com> Fixes #60309 * gui/meeting-page.c (sensitize_widgets): moved up in the file, to be declared before any use. svn path=/trunk/; revision=26385
* use e-util's HTML conversion function, instead of camel's. (write_html):Rodrigo Moya2004-06-172-4/+10
| | | | | | | | | | 2004-06-16 Rodrigo Moya <rodrigo@novell.com> * gui/e-itip-control.c: use e-util's HTML conversion function, instead of camel's. (write_html): use e_text_to_html_full(). svn path=/trunk/; revision=26368
* Fixes #56197JP Rosevear2004-06-163-0/+10
| | | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #56197 * gui/e-cal-list-view.etspec: add back categories * gui/e-calendar-table.etspec: ditto svn path=/trunk/; revision=26355
* Fixes #59401JP Rosevear2004-06-162-1/+12
| | | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #59401 * gui/e-week-view.c (e_week_view_on_text_item_event): if we are editing the event, don't ignore the right click, stop editing the event and continue on svn path=/trunk/; revision=26353
* Fixes #57393JP Rosevear2004-06-162-0/+8
| | | | | | | | | | | 2004-06-15 JP Rosevear <jpr@novell.com> Fixes #57393 * gui/e-week-view.c (e_week_view_set_compress_weekend): redraw the titles as well since the spacing is different svn path=/trunk/; revision=26351
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-153-8/+43
| | | | | | | | | | | | 2004-06-15 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/meeting-page.c (meeting_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_widgets): new function. (meeting_page_fill_widgets): call sensitize_widgets(). svn path=/trunk/; revision=26345
* new function. (e_meeting_time_selector_construct): store some missingRodrigo Moya2004-06-154-24/+85
| | | | | | | | | | | | | | | | | 2004-06-15 Rodrigo Moya <rodrigo@novell.com> * gui/e-meeting-time-sel.[ch] (e_meeting_time_selector_set_read_only): new function. (e_meeting_time_selector_construct): store some missing buttons in the EMeetingTimeSelector structure. * gui/dialogs/schedule-page.c (schedule_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_widgets): new function. (schedule_page_fill_widgets): call sensitize_widgets(). svn path=/trunk/; revision=26344
* removed g_assert call, since we shouldn't crash when getting wrongRodrigo Moya2004-06-112-1/+8
| | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_modified_cb): removed g_assert call, since we shouldn't crash when getting wrong notifications from a backend. svn path=/trunk/; revision=26312
* only do the range selected hack in one caseJP Rosevear2004-06-112-3/+9
| | | | | | | | | | 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): only do the range selected hack in one case svn path=/trunk/; revision=26290
* set 6 weeks shown (display_view): dittoJP Rosevear2004-06-112-2/+9
| | | | | | | | | 2004-06-10 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (setup_widgets): set 6 weeks shown (display_view): ditto svn path=/trunk/; revision=26287
* Fixes #58748Rodrigo Moya2004-06-102-0/+12
| | | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> Fixes #58748 * gui/gnome-cal.c (setup_widgets): set the timezone on all views when creating them. svn path=/trunk/; revision=26283
* don't set the "bg_color_column" property on the ECellToggle class.Rodrigo Moya2004-06-102-3/+5
| | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-table.c (e_calendar_table_init): don't set the "bg_color_column" property on the ECellToggle class. svn path=/trunk/; revision=26282
* Fixes #58799Rodrigo Moya2004-06-102-2/+25
| | | | | | | | | | | | | 2004-06-10 Rodrigo Moya <rodrigo@novell.com> Fixes #58799 * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): Use the timezone for getting the RECUR-ID from the instance start date if available. Also, use dates only as the recurrence ID, and do nothing if not a recurrent appointment. svn path=/trunk/; revision=26281
* calculate the work week, week, and month views more exactlyJP Rosevear2004-06-104-166/+207
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-09 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (get_times_for_views): calculate the work week, week, and month views more exactly (update_adjustment): update the view based on week view scrolling (setup_widgets): listen for the scroll bar moving on the week views (gnome_calendar_update_date_navigator): adjust for compressed weekends in the month view (gnome_calendar_on_date_navigator_selection_changed): ditto * gui/e-week-view.h: add protos * gui/e-week-view.c (time_range_changed_cb): calculate the base_date and first_day_shown more simply, allows multi-week selection to work better; update the base date when told to do so (e_week_view_init): init update_base_value var (e_week_view_get_update_base_date): accessor (e_week_view_set_update_base_date): ditto svn path=/trunk/; revision=26276
* Fixes #57578Rodrigo Moya2004-06-092-22/+66
| | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #57578 * gui/e-calendar-view.c (on_move_to, on_copy_to): simplified to just call transfer_selected_items() with the approppriate arguments. (transfer_selected_items): new function to transfer all selected items to another calendar. (transfer_item_to): added missing implementation. svn path=/trunk/; revision=26257
* Fixes #57579Rodrigo Moya2004-06-092-2/+19
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #57579 * gui/dialogs/select-source-dialog.c (select_source_dialog): start with the OK button disabled. (primary_selection_changed_cb): enable/disable the OK button depending on the selection on the ESourceSelector. svn path=/trunk/; revision=26256
* new function for notifying all pages of the client change.Rodrigo Moya2004-06-096-17/+53
| | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed): new function for notifying all pages of the client change. (page_client_changed_cb): no need for this callback. (comp_editor_append_page): no need to connect to "client_changed" signal on the pages. * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): re-added the call to comp_editor_page_set_e_cal(), the client was not being set anywhere. * gui/dialogs/event-page.c (source_changed_cb): use comp_editor_notify_client_changed() so that all pages get informed of the client change. * gui/dialogs/task-page.c (source_changed_cb): ditto. svn path=/trunk/; revision=26255
* do not set the private client here, it is set in comp-editor.c.Rodrigo Moya2004-06-085-15/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): do not set the private client here, it is set in comp-editor.c. * gui/dialogs/event-page.c (sensitize_widgets): new function. (source_changed_cb): call sensitize_buttons(). * gui/dialogs/recurrence-page.c (sensitize_buttons): new function, to deal correctly with the sensitivity of all widgets in the page. (recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb): call sensitize_buttons() instead of sensitize_recur_widgets(). (recurrence_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. * gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing widgets in the page. (alarm_page_construct): g_signal_connect_after for "client_changed", to get notifications after CompEditorPage gets his. svn path=/trunk/; revision=26254
* cast week view correctlyJP Rosevear2004-06-082-1/+6
| | | | | | | | | 2004-06-08 JP Rosevear <jpr@novell.com> * gui/e-week-view.c (e_week_view_do_key_press): cast week view correctly svn path=/trunk/; revision=26253
* connect to "client_changed" signal on the page. (client_changed_cb): newRodrigo Moya2004-06-083-1/+25
| | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (recurrence_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. * gui/dialogs/alarm-page.c (sensitize_buttons): fixed missing stuff in last commit. svn path=/trunk/; revision=26252
* Fixes #59650Rodrigo Moya2004-06-082-4/+32
| | | | | | | | | | | | | | 2004-06-08 Rodrigo Moya <rodrigo@novell.com> Fixes #59650 * gui/dialogs/alarm-page.c (alarm_page_construct): connect to "client_changed" signal on the page. (client_changed_cb): new callback. (sensitize_buttons): added code for dealing with read only calendars and disable/enable buttons approppriately. svn path=/trunk/; revision=26251
* fix the name of "stock_save-as" everywhereDan Winship2004-06-072-1/+5
| | | | svn path=/trunk/; revision=26237
* open task lists asynchronously. (client_cal_opened_cb): callback from theRodrigo Moya2004-06-073-45/+85
| | | | | | | | | | | | | | | | | | | 2004-06-07 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (e_tasks_add_todo_source): open task lists asynchronously. (client_cal_opened_cb): callback from the client when opened. * gui/gnome-cal.c (client_cal_opened_cb): disconnect from all signals of the client when opening it fails. Clean up the status messages correctly, based on source type. (open_ecal): for tasks, use e_calendar_table_set_status_message not e_calendar_view_set_status_message. (gnome_calendar_remove_source_by_uid): call update_query only when removing calendars, not tasks lists. (update_query): set meaningful status messages. svn path=/trunk/; revision=26236
* Bug #36247 Changes to improve the performance of _(str) function call onVardhman Jain2004-06-072-5/+25
| | | | | | | | | | | 2004-06-06 Vardhman Jain <vardhman@students.iiit.net> * Bug #36247 * gui/e-itip-control.c (write_html, set_date_label): Changes to improve the performance of _(str) function call on strings str of the type <tar>str</tag> to avoid translation of tag. svn path=/trunk/; revision=26235
* define G_MAXINT32 if it isn't alreadyJP Rosevear2004-06-052-0/+16
| | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c: define G_MAXINT32 if it isn't already svn path=/trunk/; revision=26216
* add bug numberJP Rosevear2004-06-041-0/+2
| | | | svn path=/trunk/; revision=26214
* make purging actually workJP Rosevear2004-06-042-10/+11
| | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_purge): make purging actually work svn path=/trunk/; revision=26213
* guard against the text value being NULLJP Rosevear2004-06-043-5/+17
| | | | | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c (task_page_fill_widgets): guard against the text value being NULL * gui/dialogs/event-page.c (event_page_fill_widgets): add guards here as well svn path=/trunk/; revision=26211
* If the last_uri string value is the Evolution 1.4 URI, change it to theJeffrey Stedfast2004-06-042-2/+25
| | | | | | | | | | 2004-06-03 Jeffrey Stedfast <fejj@novell.com> * conduits/calendar/calendar-conduit.c (calconduit_load_configuration): If the last_uri string value is the Evolution 1.4 URI, change it to the new URI. Fixes bug #54134. svn path=/trunk/; revision=26203
* Merge from release branch.JP Rosevear2004-06-042-5/+20
| | | | svn path=/trunk/; revision=26178
* Fixes #59481Rodrigo Moya2004-06-041-0/+4
| | | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> Fixes #59481 * gui/e-tasks.c (set_status_message): don't use vsprintf with NULL strings, crashes on FreeBSD. svn path=/trunk/; revision=26177
* don't use vsprintf with NULL strings, crashes on FreeBSD.Rodrigo Moya2004-06-042-6/+12
| | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (set_status_message): don't use vsprintf with NULL strings, crashes on FreeBSD. svn path=/trunk/; revision=26176
* update the internal client when it changes.Rodrigo Moya2004-06-042-0/+7
| | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_client_changed): update the internal client when it changes. svn path=/trunk/; revision=26174
* Fixes #56875Rodrigo Moya2004-06-043-3/+28
| | | | | | | | | | | | | | | | 2004-06-03 Rodrigo Moya <rodrigo@novell.com> Fixes #56875 * gui/dialogs/event-editor.c (event_editor_construct): connect to "client_changed" signal on the EventPage. (client_changed_cb): set menu sensibility when the client changes. * gui/dialogs/task-editor.c (task_editor_construct): connect to "client_changed signal on the TaskPage. (client_changed_cb): set menu sensibility when the client changes. svn path=/trunk/; revision=26173
* remove absolute_uri from ESource's. (migrate_tasks): same.Chris Toshok2004-06-032-0/+45
| | | | | | | | | | 2004-06-02 Chris Toshok <toshok@ximian.com> * gui/migration.c (migrate_calendars): remove absolute_uri from ESource's. (migrate_tasks): same. svn path=/trunk/; revision=26159
* removed pre-completion code, not needed anymore. (emlv_finalize): no needRodrigo Moya2004-06-032-24/+9
| | | | | | | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> * gui/e-meeting-list-view.c (start_addressbook_server): removed pre-completion code, not needed anymore. (emlv_finalize): no need to unref the book anymore. (emlv_init): don't call start_addressbook_server. * gui/e-meeting-store.c (start_addressbook_server): removed. (ems_finalize): no need to unref the book anymore. svn path=/trunk/; revision=26156
* fixed leak and pass the correct icalcomponent to e_cal_modify_object.Rodrigo Moya2004-06-034-6/+11
| | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/copy-source-dialog.c (copy_source): fixed leak and pass the correct icalcomponent to e_cal_modify_object. svn path=/trunk/; revision=26154
* Fixes #59333Rodrigo Moya2004-06-022-1/+8
| | | | | | | | | | | 2004-06-02 Rodrigo Moya <rodrigo@novell.com> Fixes #59333 * gui/dialogs/task-page.c (task_page_fill_widgets): guard against list items being NULL. svn path=/trunk/; revision=26152
* add a drag delete handler. (table_drag_data_get): support text/vcardLarry Ewing2004-06-023-0/+365
| | | | | | | | | | | | 2004-06-02 Larry Ewing <lewing@ximian.com> * gui/e-tasks.c (table_drag_data_delete): add a drag delete handler. (table_drag_data_get): support text/vcard drags. (setup_widgets): setup the etable as a drag source. * gui/tasks-component.c: add source selector Drag & Drop handlers. svn path=/trunk/; revision=26151
* rename can_add to is_mutable, add sensitivity logic for both readonly andLarry Ewing2004-06-023-746/+52
| | | | | | | | | | | | | 2004-06-01 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: rename can_add to is_mutable, add sensitivity logic for both readonly and mutable cases. The esource attributes are a complete mess and need discussion. * gui/dialogs/calendar-setup.glade: remove edit dialogs and name the tables. svn path=/trunk/; revision=26149
* Fixes #59369Rodrigo Moya2004-06-012-1/+11
| | | | | | | | | | | 2004-06-01 Rodrigo Moya <rodrigo@novell.com> Fixes #59369 * gui/e-calendar-view.c (clipboard_get_text_cb): don't pass NULL strings to libical functions. svn path=/trunk/; revision=26142
* *** empty log message ***Rodrigo Moya2004-06-011-1/+1
| | | | svn path=/trunk/; revision=26134
* *Bug #51968 "Invite others.." button confusing in Appointment editorPriyanshu Raj2004-06-014-5/+10
| | | | | | | | | 2004-05-31 Priyanshu Raj <Priyanshu@students.iiit.net> *Bug #51968 "Invite others.." button confusing in Appointment editor dialog(Fixed)" svn path=/trunk/; revision=26133
* Menu items in Scheduling tab should have sentence capitalization (Fixed)Priyanshu Raj2004-05-302-7/+12
| | | | | | | | | 2004-05-29 Priyanshu Raj <priyanshu@students.iiit.net> * Bug #48134: Menu items in Scheduling tab should have sentence capitalization (Fixed) svn path=/trunk/; revision=26131
* a more straightforward way to calculate the offset of a day within theKidd Wang2004-05-282-9/+21
| | | | | | | | * gui/e-week-view.c: (e_week_view_event_move), (e_week_view_get_day_offset_of_event): a more straightforward way to calculate the offset of a day within the week. svn path=/trunk/; revision=26118
* Fix for bug #57818.Jeffrey Stedfast2004-05-275-16/+55
| | | | | | | | | | | | | | | | | | | | | | 2004-05-26 Jeffrey Stedfast <fejj@novell.com> Fix for bug #57818. * gui/e-tasks.c (setup_widgets): Same. * gui/gnome-cal.c (setup_widgets): Updated to pass a set of bitflags to cal_search_bar_new(). * gui/cal-search-bar.c (cal_search_bar_new): Now takes a bit flag argument specifying which search options to present. (cal_search_bar_construct): Same as above. Construct the search menu to use based on the bit flags. * gui/apps_evolution_calendar.schemas.in.in: Changed the default "Tasks due today" colour to be a light-blue (one of the default colour values in the colour picker dialog). Fixes bug #53412. svn path=/trunk/; revision=26112
* Changed the default "Tasks due today" colour to be a light-blue (one ofJeffrey Stedfast2004-05-272-2/+8
| | | | | | | | | | 2004-05-26 Jeffrey Stedfast <fejj@novell.com> * gui/apps_evolution_calendar.schemas.in.in: Changed the default "Tasks due today" colour to be a light-blue (one of the default colour values in the colour picker dialog). Fixes bug #53412. svn path=/trunk/; revision=26105
* Fixes #57759Rodrigo Moya2004-05-272-0/+23
| | | | | | | | | | | 2004-05-26 Rodrigo Moya <rodrigo@ximian.com> Fixes #57759 * gui/gnome-cal.c (gnome_calendar_remove_source_by_uid): remove all queries we've got for the removed source. svn path=/trunk/; revision=26104
* In week view all-day events should keep all-dayness when moved around.Kidd Wang2004-05-262-9/+23
| | | | | | | | * gui/e-week-view.c: (e_week_view_event_move), (e_week_view_change_event_time): In week view all-day events should keep all-dayness when moved around. svn path=/trunk/; revision=26097
* remove now unused functions. (source_group_can_add): fix can add logic,Larry Ewing2004-05-262-207/+27
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: remove now unused functions. (source_group_can_add): fix can add logic, remove more unused functions. svn path=/trunk/; revision=26095
* i2004-05-25 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-262-40/+2
| | | | | | * gui/dialogs/calendar-setup.c: remove now unused functions. svn path=/trunk/; revision=26094
* (key_press_event): look for escape press and destroy dialog.Larry Ewing2004-05-262-0/+25
| | | | svn path=/trunk/; revision=26093
* use the new dialog. (calendar_setup_edit_calendar): use the new dialog.Larry Ewing2004-05-261-50/+105
| | | | | | | | | | 2004-05-25 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_task_list): use the new dialog. (calendar_setup_edit_calendar): use the new dialog. svn path=/trunk/; revision=26091
* Use gtk_window_set_icon_list() here instead of gtk_window_set_icon().Jeffrey Stedfast2004-05-267-30/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/url-editor-dialog.c (init_widgets): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/select-source-dialog.c (select_source_dialog): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/calendar-setup.c (source_to_dialog): Huh?? Why are integer colours in an array of char*? Fixed to be an array of guint32. * gui/dialogs/changed-comp.c (changed_component_dialog): Use gtk_window_set_icon_list() here instead of gtk_window_set_icon(). * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): Don't bother calling tk_window_set_icon() if we are gonna call gtk_window_set_icon_list a few lines later. (calendar_setup_edit_calendar): Same. instead. (calendar_setup_new_task_list): Same. (calendar_setup_edit_task_list): Same. * gui/dialogs/alarm-options.c (alarm_options_dialog_run): Use gtk_window_set_icon_list() instead of gtk_window_set_icon() so gtk can do the Right Thing (tm). svn path=/trunk/; revision=26086
* Make calendar-errors.xml.h and install the xml file.Jeffrey Stedfast2004-05-2610-165/+371
| | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * Makefile.am: Make calendar-errors.xml.h and install the xml file. * calendar-errors.xml: New error definitions file. * gui/gnome-cal.c (backend_died_cb): Use e-error * gui/e-tasks.c (backend_died_cb): Use e-error * gui/dialogs/send-comp.c (send_component_dialog): Use e-error * gui/dialogs/save-comp.c (save_component_dialog): Use e-error * gui/dialogs/delete-comp.c (delete_component_dialog): Use e-error * gui/dialogs/cancel-comp.c (cancel_component_dialog): Use e-error svn path=/trunk/; revision=26084
* read the "auth-domain" property to use as component name for e-passwordSivaiah Nallagatla2004-05-252-2/+15
| | | | | | | | | | 2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com> * common/authentication.c (auth_func_cb) : read the "auth-domain" property to use as component name for e-password calls instead of hard coded component name svn path=/trunk/; revision=26074
* Fixes: #57472Trent Lloyd2004-05-2511-0/+64
| | | | | | | | | | | | | | | | | | | | | 2004-05-25 Trent Lloyd <lathiat@bur.st> Fixes: #57472 * gui/dialogs/alarm-options.c: * gui/dialogs/calendar-setup.c: * gui/dialogs/cancel-comp.c: * gui/dialogs/changed-comp.c: * gui/dialogs/delete-comp.c: * gui/dialogs/delete-error.c: * gui/dialogs/save-comp.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/send-comp.c * gui/dialogs/url-editor-dialog.c: - Add include of e-icon-factory.h - Set icon on window to be calendar/tasks icon rather than mail icon svn path=/trunk/; revision=26073
* i2004-05-21 Larry Ewing <lewing@ximian.com>Larry Ewing2004-05-222-15/+21
| | | | | | | * gui/dialogs/calendar-setup.c: set the dialog icons appropriately for add task and calendar dialogs. svn path=/trunk/; revision=26038
* i2004-05-21 Larry Ewing <lewing@ximian.com>H P Nadig2004-05-222-50/+19
| | | | | | | | | | | | | | | * gui/dialogs/calendar-setup.c: remove references to the uri buttons. * gui/dialogs/calendar-setup.glade: remove uri buttons, make add task window wider and make the button spacing larger. 2004-05-21 H P Nadig <hpnadig@pacific.net.in> * gui/dialogs/calendar-setup.glade: Adjusted the default size of New Calendar Dialog. Fixes 57469. svn path=/trunk/; revision=26037
* proper look for figuring out if the object is on the serverJP Rosevear2004-05-212-9/+8
| | | | | | | | | | 2004-05-20 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (find_server): proper look for figuring out if the object is on the server svn path=/trunk/; revision=26022
* pass the client properlyJP Rosevear2004-05-212-2/+7
| | | | | | | | | 2004-05-20 JP Rosevear <jpr@novell.com> * gui/tag-calendar.c (tag_calendar_by_comp): pass the client properly svn path=/trunk/; revision=26017
* use the new e_book_new_* and e_book_open apis.Chris Toshok2004-05-203-4/+13
| | | | | | | | | | | | 2004-05-19 Chris Toshok <toshok@ximian.com> * gui/e-meeting-store.c (start_addressbook_server): use the new e_book_new_* and e_book_open apis. * gui/e-meeting-list-view.c (start_addressbook_server): use the new e_book_new_* and e_book_open apis. svn path=/trunk/; revision=26000
* Add menu_label and menu_accelerator.William Jon McCann2004-05-192-0/+9
| | | | | | | | | 2004-05-05 William Jon McCann <mccann@jhu.edu> * gui/GNOME_Evolution_Calendar.server.in.in: Add menu_label and menu_accelerator. svn path=/trunk/; revision=25969
* add argJP Rosevear2004-05-185-14/+63
| | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * idl/evolution-calendar.idl: add arg * gui/alarm-notify/alarm-queue.c (edit_component): send a mode type * gui/alarm-notify/alarm-notify.c: add fixme note * gui/comp-editor-factory.c (impl_editExisting): take a editor mode and twist it into a source type (impl_editNew): ditto (open_client): take a source type for creating the client (lookup_open_client): ditto svn path=/trunk/; revision=25959
* just set up the alarm notify objectJP Rosevear2004-05-189-233/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 JP Rosevear <jpr@novell.com> * gui/alarm-notify/notify-main.c (init_alarm_service): just set up the alarm notify object * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (process_removal_in_hash): process removals using the source list (list_changed_cb): when the list changes, update (load_calendars): initially load the calendars (alarm_notify_init): load the calendars here and don't listen for a selection notification (alarm_notify_add_calendar): get the source type when adding a calendar * gui/alarm-notify/notify-main.c (main): no need to init/shutdown gnome vfs * gui/alarm-notify/config-data.h: new proto * gui/alarm-notify/config-data.c (config_data_get_notify_with_tray): routine to get schema value * gui/alarm-notify/alarm.c (alarm_ready_cb): no timeout checking here, setup_timeout does that (queue_alarm): ditto (setup_timeout): calculate the timeout better * gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): tidy (edit_component): clean up exception handling (display_notification): don't show the tray icon if we aren't notifying with the tray * gui/apps_evolution_calendar.schemas.in.in: add notify_with_tray option svn path=/trunk/; revision=25958
* make the focus movable in week/month view when no events are selected.Kidd Wang2004-05-182-0/+207
| | | | | | | | | | | | | | * gui/e-week-view.c: (e_week_view_do_cursor_key_up), (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left), (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up), (e_month_view_do_cursor_key_down), (e_month_view_do_cursor_key_left), (e_month_view_do_cursor_key_right), (e_week_view_cursor_key_up), (e_week_view_cursor_key_down), (e_week_view_cursor_key_left), (e_week_view_cursor_key_right), (e_week_view_do_key_press): make the focus movable in week/month view when no events are selected. svn path=/trunk/; revision=25947
* Same.Jeffrey Stedfast2004-05-183-10/+16
| | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/event-editor.c: Same. * gui/dialogs/comp-editor.c: Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25942
* Use E_ICON_SIZE enum here. (display_notification): Same.Jeffrey Stedfast2004-05-185-10/+22
| | | | | | | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb): Use E_ICON_SIZE enum here. (display_notification): Same. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Use E_ICON_SIZE_DIALOG here. * gui/e-week-view.c (e_week_view_realize): Same as below. * gui/e-day-view.c (e_day_view_realize): Use E_ICON_SIZE_MENU for the icon sizes rather than using pixel values. svn path=/trunk/; revision=25941
* Change E_PIXMAP size args over to E_ICON_SIZE_* values.Jeffrey Stedfast2004-05-182-5/+9
| | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/calendar-commands.c (pixmaps): Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25940
* Use E_ICON_SIZE_MENUJeffrey Stedfast2004-05-187-14/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/tasks-component.c (add_popup_menu_item): Use E_ICON_SIZE_MENU * gui/e-timezone-entry.c (e_timezone_entry_init): Use E_ICON_SIZE_BUTTON * gui/e-itip-control.c (write_error_html): Use E_ICON_SIZE enums. (write_html): Same. * gui/e-calendar-view.c (e_calendar_view_set_status_message): Use E_ICON_SIZE_STATUS (setup_popup_icons): Use E_ICON_SIZE_MENU * gui/e-calendar-table.c (e_calendar_table_init): Use E_ICON_SIZE_LIST rather than a hard-coded value of 16 pixels. (e_calendar_table_set_status_message): Use E_ICON_SIZE_STATUS * gui/calendar-component.c (add_popup_menu_item): Use E_ICON_SIZE_MENU rather than hard-coding the pixel size. svn path=/trunk/; revision=25934
* Fixes #56373JP Rosevear2004-05-182-2/+9
| | | | | | | | | | | | 2004-05-17 JP Rosevear <jpr@ximian.com> Fixes #56373 * gui/comp-editor-factory.c (open_client): guess its an event for now svn path=/trunk/; revision=25932
* Change dropdown list item 'Display a message' for reminder types to 'PopV Ravi Kumar Raju2004-05-171-1/+1
| | | | | | | | | | 2004-05-17 V Ravi Kumar Raju <vravikr@yahoo.co.uk> * gui/e-alarm-list.c (get_alarm_string): * gui/dialogs/alarm-page.glade: Change dropdown list item 'Display a message' for reminder types to 'Pop up an alert' svn path=/trunk/; revision=25927
* Change dropdown list item 'Display a message'for reminder types to 'Pop upV Ravi Kumar Raju2004-05-173-2/+8
| | | | | | | | | | 2004-05-17 V Ravi Kumar Raju <vravikr@yahoo.co.uk> * gui/e-alarm-list.c (get_alarm_string): * gui/dialogs/alarm-page.glade: Change dropdown list item 'Display a message'for reminder types to 'Pop up an alert' svn path=/trunk/; revision=25926
* if we don't have a RECURRENCE-ID, remove nothing, and use the instanceRodrigo Moya2004-05-172-7/+4
| | | | | | | | | | 2004-05-17 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): if we don't have a RECURRENCE-ID, remove nothing, and use the instance start time for the RECURRENCE-ID as the default. svn path=/trunk/; revision=25925
* if we don't have a RECURRENCE-ID, remove nothing.Rodrigo Moya2004-05-172-11/+18
| | | | | | | | | 2004-05-17 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): if we don't have a RECURRENCE-ID, remove nothing. svn path=/trunk/; revision=25924
* Fixes #56885H P Nadig2004-05-172-2/+9
| | | | | | | | | | | 2004-05-17 H P Nadig <hpnadig@pacific.net.in> Fixes #56885 * gui/dialogs/select-source-dialog.c (select_source_dialog): Changed the window size of source dialog and a minor naming issue. svn path=/trunk/; revision=25920
* use e_cal_generate_instances_for_object instead ofRodrigo Moya2004-05-146-30/+28
| | | | | | | | | | | | | | 2004-05-14 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): * gui/gnome-cal.c (gnome_calendar_purge): * gui/tag-calendar.c (tag_calendar_by_comp): * gui/e-cal-model.c (e_cal_model_generate_instances): use e_cal_generate_instances_for_object instead of e_cal_recur_generate_instances. svn path=/trunk/; revision=25905
* invoke options dialog even if backend does not support email alarms andNicel KM2004-05-142-1/+8
| | | | | | | | | | 2004-05-14 Nicel KM <mnicel@novell.com> * gui/dialogs/alarm-page.c (button_options_clicked_cb): invoke options dialog even if backend does not support email alarms and get email address only if supported. svn path=/trunk/; revision=25904
* only get the email address for alarms if the backend supports emailRodrigo Moya2004-05-132-2/+8
| | | | | | | | | 2004-05-13 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/alarm-page.c (add_clicked_cb): only get the email address for alarms if the backend supports email alarms. svn path=/trunk/; revision=25901
* Fixes #57644.Not Zed2004-05-133-5/+17
| | | | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> Fixes #57644. * gui/e-day-view.c (row_deleted_check_cb): strdup the uid, as below. (remove_uid_cb): and free it. * gui/e-week-view.c (row_deleted_check_cb): strdup the uid, 'cause otherwise it can go away later as we delete stuff. (remove_uid_cb): free the uid. svn path=/trunk/; revision=25897
* add some array bounds checking as an attempt to isolate the crash inNot Zed2004-05-132-0/+11
| | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * gui/e-week-view-event-item.c (e_week_view_event_item_draw): add some array bounds checking as an attempt to isolate the crash in #57644. svn path=/trunk/; revision=25896
* add GError return for error details & return errors.Not Zed2004-05-125-21/+62
| | | | | | | | | | | | 2004-05-11 Not Zed <NotZed@Ximian.com> * gui/migration.c (migrate_calendars, migrate_tasks): add GError return for error details & return errors. * gui/calendar-component.c (impl_upgradeFromVersion): fix for api change, and erturn exception if we need to. svn path=/trunk/; revision=25865
* get error information from the call to e_cal_receive_objects, and use thatRodrigo Moya2004-05-122-3/+9
| | | | | | | | | 2004-05-11 Rodrigo Moya <rodrigo@ximian.com> * gui/e-itip-control.c (update_item): get error information from the call to e_cal_receive_objects, and use that as the error message. svn path=/trunk/; revision=25862
* Remove the calendar and task list controlsDan Winship2004-05-125-308/+14
| | | | | | | | | | | | | | * gui/GNOME_Evolution_Calendar.server.in.in: Remove the calendar and task list controls * gui/main.c (factory): Remove support for the calendar and task list controls * gui/control-factory.c: Remove the property-bag stuff * gui/tasks-control.c: Likewise svn path=/trunk/; revision=25857
* Fixes #53137Rodrigo Moya2004-05-122-3/+16
| | | | | | | | | | | 2004-05-11 Rodrigo Moya <rodrigo@ximian.com> Fixes #53137 * gui/dialogs/schedule-page.c (schedule_page_fill_widgets): check dates from the ECalComponent before using them. svn path=/trunk/; revision=25855
* use/set the DUE date, not the DTEND date.Rodrigo Moya2004-05-112-3/+8
| | | | | | | | | 2004-05-11 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not the DTEND date. svn path=/trunk/; revision=25854
* Fixes #58014Umeshtej2004-05-103-5/+12
| | | | | | | | | | | 2004-05-07 Umeshtej <umeshtej@gawab.com> Fixes #58014 * gui/e-meeting-list-view.c (process_section):Run the for loop for the number of elements in cards. svn path=/trunk/; revision=25841
* Include gtkhbox.h and gtkvbox.h to fix implicit declaration Cast GTK_ENTRYTrent Lloyd2004-05-103-3/+12
| | | | | | | | | | | | | | | 2004-05-10 Trent Lloyd <lathiat@bur.st> * gui/dialogs/select-source-dialog.c: Include gtkhbox.h and gtkvbox.h to fix implicit declaration * gui/dialogs/meeting-page.c: (get_current_page) Cast GTK_ENTRY from GTK_COMBO to fix compiler warning * gui/dialogs/cal-prefs-dialog.c: Remove lvalue casts, produces compiler warnings and are not necessary svn path=/trunk/; revision=25840
* Fixes #52294JP Rosevear2004-05-074-24/+136
| | | | | | | | | | | | | | | | | 2004-05-07 JP Rosevear <jpr@ximian.com> Fixes #52294 * gui/e-cal-model.c (set_dtstart): set the tzid properly (ecm_is_cell_editable): set check properly * gui/e-cal-model-tasks.c (set_due): set the tzid properly (ecmt_is_cell_editable): set check properly * gui/e-cal-model-calendar.c (set_dtend): set the tzid properly (ecmc_is_cell_editable): kill fixme and set check properly svn path=/trunk/; revision=25825
* fix comment and checkJP Rosevear2004-05-073-6/+15
| | | | | | | | | | | | 2004-05-07 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (ecm_is_cell_editable): fix comment and check * gui/e-cal-model-tasks.c (ecmt_set_value_at): set a parent field properly (ecmt_is_cell_editable): fix comment and check svn path=/trunk/; revision=25823
* use random color for calendar default.Larry Ewing2004-05-072-1/+22
| | | | | | | | | 2004-05-06 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): use random color for calendar default. svn path=/trunk/; revision=25818
* Fixes #58025JP Rosevear2004-05-053-19/+32
| | | | | | | | | | | | | | | | | | 2004-05-05 JP Rosevear <jpr@ximian.com> Fixes #58025 * gui/gnome-cal.c (set_search_query): kill warning (setup_config): don't set time out here (setup_widgets): set it here (gnome_calendar_destroy): clear the time out * gui/e-tasks.c (search_bar_sexp_changed_cb): kill warning (setup_config): don't set time out here (setup_widgets): set it here and remember the time out id (e_tasks_destroy): clear the time out svn path=/trunk/; revision=25803
* (calendar_setup_new_task_list): fix the previous fix to work ifLarry Ewing2004-05-052-8/+7
| | | | | | there are sources. svn path=/trunk/; revision=25799
* make sure that we don't crash if there are no sources.Larry Ewing2004-05-052-5/+25
| | | | | | | | | 2004-05-05 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: make sure that we don't crash if there are no sources. svn path=/trunk/; revision=25798
* (source_group_can_add): helper function to fix groupwise case.Larry Ewing2004-05-052-1/+24
| | | | | | I'm still not happy with this but it will work for now. svn path=/trunk/; revision=25793
* fix logic error.Larry Ewing2004-05-052-3/+5
| | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c: fix logic error. svn path=/trunk/; revision=25792
* convert units. (dialog_to_source): convert time units.Larry Ewing2004-05-053-9/+70
| | | | | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): convert units. (dialog_to_source): convert time units. * gui/dialogs/calendar-setup.glade. name the unit option menus. svn path=/trunk/; revision=25791
* Make this dialog be HIG-compliant and accessibleRodney Dawes2004-05-042-10/+52
| | | | | | | | | | | | | | | | 2004-05-03 Rodney Dawes <dobey@ximian.com> * gui/dialogs/select-source-dialog.c (select_source_dialog): Make this dialog be HIG-compliant and accessible 2004-05-03 Edgar Luna Díaz <eald@linuxuanl.org> * gui/dialogs/select-source-dialog.c (select_source_dialog): Set the default window size to 276 x 320 Fixes #57298 svn path=/trunk/; revision=25769
* rename the cancel button.Larry Ewing2004-05-042-1/+14
| | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/dialogs/calendar-setup.glade: rename the cancel button. svn path=/trunk/; revision=25765
* Missed bug number.JP Rosevear2004-05-041-0/+2
| | | | svn path=/trunk/; revision=25763
* listen for double click signal (e_cal_list_view_on_table_double_click):JP Rosevear2004-05-042-0/+25
| | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/e-cal-list-view.c (setup_e_table): listen for double click signal (e_cal_list_view_on_table_double_click): edit the appointment that was double clicked on svn path=/trunk/; revision=25762
* set the info label (calendar_dates_changed_cb): call back for when theJP Rosevear2004-05-042-5/+128
| | | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/calendar-component.c (set_info): set the info label (calendar_dates_changed_cb): call back for when the dates of the calendar change (create_component_view): store the info label for later use; listen for date changes to set the info label svn path=/trunk/; revision=25760
* Fixes #57897JP Rosevear2004-05-042-33/+7
| | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57897 * gui/e-tasks.c (setup_widgets): no need to listen for the deleted signal, the cursor will change in that case svn path=/trunk/; revision=25759
* remove useless debug statementJP Rosevear2004-05-042-1/+5
| | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/e-cal-model-tasks.c (set_completed): remove useless debug statement svn path=/trunk/; revision=25758
* set the info label message (model_changed_cb): call aboveJP Rosevear2004-05-042-6/+77
| | | | | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (set_info): set the info label message (model_changed_cb): call above (table_selection_change_cb): ditto (model_rows_inserted_cb): ditto (model_rows_deleted_cb): ditto (create_component_view): remember the info in the view struct; listen for events that require the info label to be updated svn path=/trunk/; revision=25757
* Fixes #57899JP Rosevear2004-05-033-5/+31
| | | | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57899 * gui/e-day-view.c (e_day_view_do_key_press): bail if the client is read only (or we get an error trying to find out) * gui/e-week-view.c (e_week_view_do_key_press): ditto svn path=/trunk/; revision=25749
* Fixes #57894JP Rosevear2004-05-032-2/+11
| | | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57894 * gui/gnome-cal.c (gnome_calendar_new_task): make sure we use the default component of the correct model svn path=/trunk/; revision=25748
* Update the alarm notify dialog to be HIG compliantRodney Dawes2004-05-013-102/+233
| | | | | | | | | | | | 2004-04-30 Rodney Dawes <dobey@ximian.com> * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant Fixes #41224 svn path=/trunk/; revision=25729
* Set up the model to use the correct query. Setup callbacks for gconfGary Ekker2004-05-015-10/+189
| | | | | | | | | | | | | | | | | | | 2004-04-30 Gary Ekker <gekker@novell.com> * gui/e-tasks.c: (e_tasks_init): Set up the model to use the correct query. Setup callbacks for gconf changes. Add an idle timeout to hide completed items. Add update_view, update_view_cb, and config_hide_completed_tasks_changed_cb to update the model view. * gui/gnome-cal.c: ditto * gui/calendar-config.h: Add notifications for hide_completed_tasks settings. * gui/calendar-config.c: ditto svn path=/trunk/; revision=25727
* make the entry non-editable. Quick fix for #48132 (could convert toNot Zed2004-04-302-1/+8
| | | | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c (get_widgets): make the entry non-editable. Quick fix for #48132 (could convert to optionmenu but then we need to change again for gnome >?2.6). svn path=/trunk/; revision=25698
* use the source color if it is set. Yay for ugly colors.Larry Ewing2004-04-302-2/+23
| | | | | | | | | | | | 2004-04-29 Larry Ewing <lewing@ximian.com> * gui/e-cal-model.c (ecm_get_color_for_component): use the source color if it is set. Yay for ugly colors. * gui/e-cal-model.h: add a color holder to the ECalModelComponent since the return value of the color stuff is const. svn path=/trunk/; revision=25696
* Update the prefs dialog pages for the calendar and tasks components to beRodney Dawes2004-04-302-330/+554
| | | | | | | | | 2004-04-29 Rodney Dawes <dobey@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Update the prefs dialog pages for the calendar and tasks components to be HIG compliant svn path=/trunk/; revision=25695
* remove prototypesJP Rosevear2004-04-3014-81/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/tasks-component.h (tasks_component_peek_source_list): remove prototypes * gui/tasks-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal * gui/gnome-cal.h: add signals, protos * gui/gnome-cal.c (gnome_calendar_class_init): add source added and removed signals (client_cal_opened_cb): emit source removed signal (open_ecal): set the status message (backend_died_cb): emit source removed signal (gnome_calendar_set_activity_handler): allow an activity handler to be set (gnome_calendar_add_source): emit source added signal (gnome_calendar_remove_source): emit source removed signal (display_view): update the active activity handler * gui/e-tasks.h: add signal prototypes * gui/e-tasks.c (e_tasks_class_init): add source added and removed signals (backend_died_cb): emit source removed signal (e_tasks_add_todo_source): emit source added/removed signals (e_tasks_remove_todo_source): emit source removed signal * gui/e-calendar-view.h: add proto * gui/e-calendar-view.c (e_calendar_view_set_activity_handler): allow an activity handler to be set (e_calendar_view_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-table.h: add data member and proto * gui/e-calendar-table.c (e_calendar_table_set_activity_handler): allow an activity handler to be set (e_calendar_table_set_status_message): use private activity handler (if any) to set status message * gui/e-calendar-marshal.list: add extra marshallers * gui/calendar-component.h: kill protos * gui/calendar-component.c (source_removed_cb): unselect the source in the selector if source removed from calendar (create_component_view): create the activity handler and listen to source remove signal svn path=/trunk/; revision=25694
* dittoJP Rosevear2004-04-303-2/+6
| | | | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (send_timezone): ditto * gui/dialogs/task-page.c (task_page_fill_component): kill warning svn path=/trunk/; revision=25693
* kill warningJP Rosevear2004-04-302-2/+4
| | | | | | | | 2004-04-29 JP Rosevear <jpr@ximian.com> * gui/e-cal-model.c (e_cal_model_set_default_client): kill warning svn path=/trunk/; revision=25692
* Removed the terminating NULL vararg since we don't need it forJeffrey Stedfast2004-04-302-1/+8
| | | | | | | | | | | 2004-04-29 Jeffrey Stedfast <fejj@ximian.com> * gui/migration.c (migrate_pilot_data): Removed the terminating NULL vararg since we don't need it for g_strdup_printf, it was only needed when it was g_build_filename(). Gets rid of a gcc warning. svn path=/trunk/; revision=25689
* check we find any usable components of the icalendar entry beforeNot Zed2004-04-292-5/+13
| | | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (e_itip_control_set_data): check we find any usable components of the icalendar entry before dereferncing it. Fixes crash in #57264. svn path=/trunk/; revision=25675
* dont shadow source with another source in the fallback case. Related toNot Zed2004-04-282-2/+5
| | | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (object_requested_cb): dont shadow source with another source in the fallback case. Related to #54094. svn path=/trunk/; revision=25657
* disable comment searching which is currently uselessJP Rosevear2004-04-282-0/+8
| | | | | | | | | 004-04-27 JP Rosevear <jpr@ximian.com> * gui/cal-search-bar.c: disable comment searching which is currently useless svn path=/trunk/; revision=25648
* Fixes #52270 and #57593JP Rosevear2004-04-283-69/+105
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-27 JP Rosevear <jpr@ximian.com> Fixes #52270 and #57593 * gui/e-cal-model-tasks.c (ecmt_set_value_at): remove checks for start after due (ecmt_duplicate_value): copy the completed and due dates properly (ecmt_fill_component_from_model): only set the percent and status if the completion isn't set (ensure_task_partially_complete): ensure the task is not complete, in progress and make the percentage sensible if its 0 or 100 (set_status): make sure the status and related vars are set properly (ecmt_set_value_at): handle status (ecmt_fill_component_from_model): make sure the click to add fields don't clobber each other (ecmt_is_cell_editable): status is editable * gui/e-cal-model-calendar.c (ecmc_duplicate_value): copy the dtend correctly svn path=/trunk/; revision=25647