aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
Commit message (Collapse)AuthorAgeFilesLines
* Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): AddHans Petter Jansson2003-10-1011-11/+805
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Hans Petter Jansson <hpj@ximian.com> * calendar/gui/Makefile.am (etspec_DATA): Add e-cal-list-view.etspec. (libevolution_calendar_la_SOURCES): Add e-cal-list-view.[ch]. * calendar/gui/calendar-commands.c (show_list_view_clicked): Implement. (calendar_get_text_for_folder_bar_label): Add case for list view. Use month case and tweak it so it doesn't show "%d - %d" if the time span contains only one day. (verbs): Add list view. (pixmaps): Add list view. * calendar/gui/calendar-view-factory.c (calendar_view_factory_get_title): Add list view case. (calendar_view_factory_get_type_code): Add list view case. * calendar/gui/control-factory.c (get_prop): Add list view case. * calendar/gui/e-cal-model.c (get_classification): Fix to conform to updated libical. (ecm_set_value_at): Add missing break statements. (ecm_get_color_for_component): Add braces for clarity. * calendar/gui/gnome-cal.c (gnome_calendar_get_current_view_widget): Add list view case. (get_focus_location): Add list view case. (connect_list_view_focus): Implement. (setup_widgets): Set up list view. (gnome_calendar_direction): Add list view case. (set_view): Add list view case. (gnome_calendar_setup_view_menus): Add list view factory. (gnome_calendar_construct): Account for list view. (gnome_calendar_update_config_settings): Account for list view. (get_days_shown): Implement list view case. * calendar/gui/gnome-cal.h (GnomeCalendarViewType): Add list view. * calendar/gui/e-cal-list-view.[ch]: Implement ECalListView, subclassing ECalView. * ui/evolution-calendar.xml: Add calendar list view task button. * art/listview.xpm: Add calendar list view icon. svn path=/trunk/; revision=22850
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-1021-29/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * cal-client/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/alarm-notify/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/alarm-notify/config-data.h: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/dialogs/comp-editor-util.c: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/e-delegate-dialog.c: #include <libical/ical.h> instead of <ical.h> * importers/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/cal.c: #include <libical/ical.h> instead of <ical.h> svn path=/trunk/; revision=22845
* Make repeat-quantity and repeat-value of alarm option dialog numeric only.Harry Lu2003-10-083-3/+10
| | | | | | | | | | | 2003-10-08 Harry Lu <harry.lu@sun.com> * gui/dialogs/alarm-options.glade: Make repeat-quantity and repeat-value of alarm option dialog numeric only. * gui/dialogs/task-details-page.glade: Make percent-complete of task details dialog numeric only. svn path=/trunk/; revision=22818
* new VOID:STRING,STRING,STRING build the new view/store/renderer/editableMike Kestner2003-10-0124-2290/+2712
| | | | | | | | | | | | | | | | | | | | | 2003-09-30 Mike Kestner <mkestner@ximian.com> * cal-util/cal-util-marshal.list : new VOID:STRING,STRING,STRING * gui/Makefile.am : build the new view/store/renderer/editable * gui/e-select-names-renderer.* : new completion cell renderer * gui/e-select-names-editable.* : new completion cell editable * gui/e-meeting-model.* : killed. code reused in list-view/store * gui/e-meeting-store.* : port of EMeetingModel to GtkTreeModel * gui/e-meeting-list-view.* : GtkTreeView subclass for attendee lists * gui/e-meeting-time-sel.c : Use the new store/view * gui/e-meeting-time-sel-item.c : Use the new store/view * gui/dialogs/Makefile.am : don't install the etspec anymore. * gui/dialogs/event-editor.c : Use the new store/view. * gui/dialogs/meeting-page.c : Use the new store/view. * gui/dialogs/shedule-page.c : Use the new store/view. * gui/dialogs/task-editor.c : Use the new store/view. svn path=/trunk/; revision=22774
* link to libical-evolutionJP Rosevear2003-09-303-2/+8
| | | | | | | | | | 2003-09-29 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: link to libical-evolution * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=22752
* libical.la -> libical-evolution.laHans Petter Jansson2003-09-223-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-22 Hans Petter Jansson <hpj@ximian.com> * calendar/cal-util/Makefile.am (libical_util_la_LIBADD): libical.la -> libical-evolution.la * calendar/importers/Makefile.am (libevolution_calendar_importers_la_LIBADD): libicalvcal.la -> libicalvcal-evolution.la * shell/Makefile.am (evolution_LDADD): libical.la -> libical-evolution.la * libical/configure.in: Require flex 2.5.31 and add a test for it. Rename WITH_CXX conditional to WITH_CXX_BINDINGS. * libical/examples/Makefile.am (doesnothing_LDADD): Add -evolution to lib names. * libical/src/test/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add -evolution to lib names. * libical/src/test/regression.c (main): WITH_CXX -> WITH_CXX_BINDINGS. * libical/src/libicalcap/Makefile.am: Add -evolution to lib names. Install to Evolution's priv dirs. * libical/src/libicalvcal/Makefile.am: Ditto. * libical/src/libical/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add -evolution to lib names. Install in privlibdir. Install includes to $(privincludedir)/libical. * libical/src/libicalss/Makefile.am: Ditto. * libical/src/libicalss/icalsslexer.l: Replace option reentrant-bison with reentrant and bison-bridge. Use new Flex variable names. * libical/src/libical/icallexer.l: * libical/src/libical/icalyacc.y: * libical/src/libicalss/icalsslexer.c: * libical/src/libicalss/icalssyacc.c: * libical/src/libicalss/icalssyacc.h: Removed from repository. svn path=/trunk/; revision=22633
* removed libwombat reference.Rodrigo Moya2003-09-172-1/+4
| | | | | | | | 2003-09-16 Rodrigo Moya <rodrigo@ximian.com> * conduits/todo/Makefile.am: removed libwombat reference. svn path=/trunk/; revision=22587
* change last_notification_time's type from string to int.Harry Lu2003-09-152-1/+6
| | | | | | | | | 2003-09-15 Harry Lu <harry.lu@sun.com> * gui/apps_evolution_calendar.schemas: change last_notification_time's type from string to int. svn path=/trunk/; revision=22569
* make jump button focusable (e_week_view_on_jump_button_event): key_pressBolian Yin2003-09-123-20/+119
| | | | | | | | | | | 2003-09-12 Bolian Yin <bolian.yin@sun.com> * e-week-view.c (e_week_view_focus): make jump button focusable (e_week_view_on_jump_button_event): key_press and focus event for jump button (e_week_view_jump_to_button_item): new function, jump to the day view. (e_week_view_is_jump_button_visible): new function. svn path=/trunk/; revision=22546
* Import new libical from mainline HEAD and make appropriate changes toHans Petter2003-09-129-60/+129
| | | | | | Evolution. svn path=/trunk/; revision=22538
* Remove libcal-util-static.laDan Winship2003-09-016-40/+26
| | | | | | | | | | | | | | | | | | | * cal-util/Makefile.am (privlib_LTLIBRARIES): Remove libcal-util-static.la * cal-client/Makefile.am (noinst_LTLIBRARIES): Remove libcal-client-static.la * conduits/calendar/Makefile.am (libecalendar_conduit_la_LIBADD): use non-static libraries. The static ones were only needed for libtool 1.3. * conduits/todo/Makefile.am (libetodo_conduit_la_LIBADD): Likewise * gui/Makefile.am (IDL_GENERATED): Don't compile the calendar idl here. It's already in libcal-client. svn path=/trunk/; revision=22430
* Statically link with wombat. Fix ETodo conduit. (Mdk bug #5348)Frédéric Crozat2003-09-012-0/+7
| | | | | | | | * conduits/todo/Makefile.am: Statically link with wombat. Fix ETodo conduit. (Mdk bug #5348) svn path=/trunk/; revision=22429
* Use "ctrl+shift+alt+Up/Down" to change the end time of the editing event.Andrew Wu2003-09-012-0/+90
| | | | | | | | | | 2003-09-01 Andrew Wu <Yang.Wu@sun.com> * gui/e-day-view.c: (e_day_view_change_event_end_time_up): (e_day_view_change_event_end_time_down): Use "ctrl+shift+alt+Up/Down" to change the end time of the editing event. svn path=/trunk/; revision=22428
* Use images that come with Evolution instead of unreleased stock, for now.Hans Petter Jansson2003-08-292-5/+14
| | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb) (display_notification): Use images that come with Evolution instead of unreleased stock, for now. svn path=/trunk/; revision=22409
* Added alarm-notify utils.Hans Petter Jansson2003-08-296-95/+303
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-28 Hans Petter Jansson <hpj@ximian.com> * gui/alarm-notify/util.[ch]: Added alarm-notify utils. * gui/alarm-notify/Makefile.am: Added alarm-notify utils. * gui/alarm-notify/alarm-notify-dialog.c (timet_to_str_with_zone): Move to util.c. * gui/alarm-notify/alarm-queue.c (notify_dialog_cb) (on_dialog_removed_cb) (notify_dialog_cb) (tray_icon_destroyed_cb) (tray_icon_clicked_cb) (tray_icon_blink_cb) (display_notification): Add Rodrigo Moya's code for tray icon notification of appointments, with some fixes and blink code by me. Requires HEAD gnome-icon-theme for now. svn path=/trunk/; revision=22406
* Fixes #29032.Hans Petter Jansson2003-08-282-1/+12
| | | | | | | | | | | | 2003-08-27 Hans Petter Jansson <hpj@ximian.com> Fixes #29032. * gui/dialogs/task-details-page.c (status_changed): When task status is set to "In Progress", set percent complete to 50% only if it was previously set to 0% or 100%. svn path=/trunk/; revision=22395
* gui/Makefile.am use libevolution-calendar-a11y instead ofBolian Yin2003-08-272-2/+6
| | | | | | | | 2003-08-27 Bolian Yin <bolian.yin@sun.com> * gui/Makefile.am use libevolution-calendar-a11y instead of libevolution-a11y. svn path=/trunk/; revision=22385
* ** Fixes #47863.Jack Jia2003-08-271-0/+7
| | | | | | | | | | | 2003-08-27 Jack Jia <jack.jia@sun.com> ** Fixes #47863. * gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash. svn path=/trunk/; revision=22381
* ** Fixes #47863.Jack Jia2003-08-271-0/+3
| | | | | | | | | | | 2003-08-26 Jack Jia <jack.jia@sun.com> ** Fixes #47863. * gui/alarm-notify/alarm-notify.c (AlarmNotify_removeCalendar): set the initial value of lc_ptr and orig_str_ptr to NULL to avoid crash. svn path=/trunk/; revision=22380
* Ensure we get UTF-8 strings from gettext.Frédéric Crozat2003-08-222-0/+6
| | | | | | | * gui/alarm-notify/notify-main.c: (main): Ensure we get UTF-8 strings from gettext. svn path=/trunk/; revision=22334
* Fixes #47779Bolian Yin2003-08-222-2/+8
| | | | | | | | | | 2003-08-22 Bolian Yin <bolian.yin@sun.com> Fixes #47779 * gnome-cal.c (gnome_calendar_get_visible_time_range): fix the return value bug. svn path=/trunk/; revision=22331
* use a 'char **' for the 'error_msg' argument, instead of a fixed sizeRodrigo Moya2003-08-224-6/+15
| | | | | | | | | | | | 2003-08-21 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch] (cal_client_send_object): use a 'char **' for the 'error_msg' argument, instead of a fixed size string. * gui/itip-utils.c (comp_server_send): pass the correct parameter to cal_client_send_object. svn path=/trunk/; revision=22326
* Rename to start_default_server_async () and don't run a nested main loop.Hans Petter Jansson2003-08-212-46/+85
| | | | | | | | | | | | | | 2002-08-20 Hans Petter Jansson <hpj@ximian.com> * gui/e-itip-control.c (start_defalt_server): Rename to start_default_server_async () and don't run a nested main loop. Let the caller deal with the client object and signals. (default_server_started_cb): Implement. Async signal handler for 'cal_opened' signal, does the embedding. (object_requested_cb): Rewritten to work asynchronously, and finish the embedding when default_server_started_cb() is called. svn path=/trunk/; revision=22317
* new function to set icons on the popup menu items.Rodrigo Moya2003-08-202-1/+36
| | | | | | | | | | 2003-08-20 Rodrigo Moya <rodrigo@ximian.com> * gui/e-calendar-table.c (setup_popup_icons): new function to set icons on the popup menu items. (e_calendar_table_show_popup_menu): call setup_popup_icons. svn path=/trunk/; revision=22311
* set more icons for the popup menu.Rodrigo Moya2003-08-203-2/+59
| | | | | | | | | 2003-08-20 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (setup_popup_icons): set more icons for the popup menu. svn path=/trunk/; revision=22310
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-2026-1316/+1326
| | | | svn path=/trunk/; revision=22308
* Merged from calendar-views-with-model branchRodrigo Moya2003-08-202-0/+339
| | | | svn path=/trunk/; revision=22307
* Add a11y dependency. gui/calendar-commands.cBolian Yin2003-08-2014-22/+169
| | | | | | | | | | | | | | | | | | | | | | | 2003-08-20 Bolian Yin <bolian.yin@sun.com> * gui/Makefile.am : Add a11y dependency. * gui/calendar-commands.c (calendar_get_text_for_folder_bar_label) * gui/e-cal-view.c: Add two new events: "event_changed" and "event_added" * gui/e-day-view.c (e_day_view_class_init): init a11y. (e_day_view_find_event_from_item): make it public from private (e_day_view_update_event_cb): emit "event_changed" signal (e_day_view_reshape_day_event): emit "event_added" signal (e_day_view_reshape_long_event): emit "event_added" signal * gui/e-week-view.c (e_week_view_class_init): init a11y. (e_week_view_find_event_from_item): make it public from private (e_week_view_update_event_cb): emit "event_changed" signal (e_week_view_reshape_event_span): emit "event_added" signal * gui/gnome-cal.c (gnome_calendar_class_init): init a11y. (gnome_calendar_get_e_calendar_widget), (gnome_calendar_get_search_bar_widget), (gnome_calendar_get_view_notebook_widget): new functions svn path=/trunk/; revision=22303
* Chain. Prevent double unrefs. (impl_finalize): Chain.Hans Petter Jansson2003-08-147-11/+56
| | | | | | | | | | | | | | | | | | | | | 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-offline-handler.c (impl_dispose): Chain. Prevent double unrefs. (impl_finalize): Chain. * gui/e-alarm-list.c (finalize): Chain. * gui/e-comp-editor-registry.c (destroy): Chain. Prevent double frees. (editor_destroy_cb): Don't crash if we get the destroy signal twice. * gui/e-date-time-list.c (e_date_time_list_finalize): Chain. * gui/e-meeting-attendee.c (finalize): Chain. * gui/e-meeting-model.c (finalize): Chain. svn path=/trunk/; revision=22228
* In DayView, Shift+Home, Change the duration to the time that begins theAndrew Wu2003-08-132-0/+103
| | | | | | | | | | | | | | 2003-08-12 Andrew Wu <Yang.Wu@sun.com> * gui/e-day-view.c (e_day_view_change_duration_to_start_of_work_day): In DayView, Shift+Home, Change the duration to the time that begins the current work day. (e_day_view_change_duration_to_end_of_work_day): In DayView, Shift+End, Change the duration to the time that ends the current work day svn path=/trunk/; revision=22202
* Add destroy chaining.Hans Petter Jansson2003-08-132-7/+13
| | | | | | | | | | 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * gui/e-itip-control.c (html_destroyed): (init): (write_html): Add destroy chaining. svn path=/trunk/; revision=22199
* In the WeekView, Navigation through days with arrow keys.Andrew Wu2003-08-122-0/+204
| | | | | | | | | | | | | 2003-08-12 Andrew Wu <Yang.Wu@sun.com> * gui/e-week-view.c (e_week_view_on_key_up): (e_week_view_on_key_down): (e_week_view_on_key_left): (e_week_view_on_key_right): In the WeekView, Navigation through days with arrow keys. svn path=/trunk/; revision=22184
* ** Fixes #47464.Harry Lu2003-08-122-1/+8
| | | | | | | | | | | 2003-08-12 Harry Lu <harry.lu@sun.com> ** Fixes #47464. * gui/dialogs/meeting-page.c: (get_widgets): The Organizer's value need not match one of the values in the list. svn path=/trunk/; revision=22183
* Merged missing bits from branchRodrigo Moya2003-08-096-72/+380
| | | | svn path=/trunk/; revision=22152
* Merged ECalendarTable changes from new-calendar-branchRodrigo Moya2003-08-0819-2816/+368
| | | | svn path=/trunk/; revision=22143
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-0822-117/+3242
| | | | svn path=/trunk/; revision=22129
* changed one of the "Con_fidential" to "Co_nfidential" since we alreadyJack Jia2003-08-062-1/+6
| | | | | | | | | 2003-08-05 Jack Jia <jack.jia@sun.com> * gui/dialogs/event-page.glade: changed one of the "Con_fidential" to "Co_nfidential" since we already have "File" using the same 'F' key. svn path=/trunk/; revision=22097
* added the include <config.h> line at the beginning to enable gettext.Lorenzo Gil2003-08-012-0/+6
| | | | | | | | | 2003-08-01 Lorenzo Gil <lgs@sicem.biz> * gui/e-alarm-list.c: added the include <config.h> line at the beginning to enable gettext. svn path=/trunk/; revision=22046
* removed obsolete code.Rodrigo Moya2003-07-304-818/+5
| | | | | | | | | 2003-07-30 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client-multi.[ch]: * cal-client/Makefile.am: removed obsolete code. svn path=/trunk/; revision=22028
* Fixes all "alarm daemon doesn't start with session"Rodrigo Moya2003-07-292-5/+14
| | | | | | | | | | | | 2003-07-29 Rodrigo Moya <rodrigo@ximian.com> Fixes all "alarm daemon doesn't start with session" * gui/alarm-notify/notify-main.c (main): use LIBGNOMEUI_MODULE instead of LIBGNOME_MODULE so that the default session client is created in gnome_program_init. svn path=/trunk/; revision=22011
* Fixes #46769Harry Lu2003-07-292-26/+53
| | | | | | | | | | | | 2003-07-29 Harry Lu <harry.lu@sun.com> Fixes #46769 * gui/dialogs/task-page.c: (task_page_fill_component): Popup a error dialog if due date time is before start datetime when saving a task. svn path=/trunk/; revision=22005
* Fixes #46847Bolian Yin2003-07-293-42/+138
| | | | | | | | | | | | | | | | | | | 2003-07-29 Bolian Yin <bolian.yin@sun.com> Fixes #46847 * gui/e-day-view.c (e_day_view_get_next_tab_event, e_day_view_focus): add day view widget in the tab loop of events. * gui/e-week-view.c (e_week_view_get_next_tab_event, e_week_view_focus): add week view widget in the tab loop of events. Also: add some comments in gui/e-day-view.c and gui/e-week-view.c remove two compile warnings in gui/e-day-view.c svn path=/trunk/; revision=22002
* new function. (e_cal_view_get_timezone, e_cal_view_set_timezone): newRodrigo Moya2003-07-2513-269/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch] (e_cal_view_delete_selected_occurrence): new function. (e_cal_view_get_timezone, e_cal_view_set_timezone): new functions. (e_cal_view_class_init): added new class' signal. * gui/e-week-view.[ch] (e_week_view_delete_occurrence, e_week_view_delete_occurrence_internal): removed. (e_week_view_get_timezone): removed. (e_week_view_set_timezone): renamed to timezone_changed_cb, as the callback for timezone changes in the parent ECalView. (e_week_view_on_button_press): call gnome_calendar_new_appointment instead of the non-existant e_week_view_new_appointment. * gui/e-day-view.[ch] (e_day_view_delete_occurrence, e_day_view_delete_occurrence_internal): removed. (e_day_view_get_timezone): removed. (e_day_view_set_timezone): renamed to timezone_changed_cb, as the callback for timezone changes in the parent ECalView. * gui/gnome-cal.c (gnome_calendar_delete_selected_occurrence): made it call e_cal_view_delete_selected_occurrence. (gnome_calendar_update_config_settings): call the generic e_cal_view_set_timezone on all view widgets. * gui/e-day-view-top-item.c: * gui/e-week-view-main-item.c: * gui/e-day-view-main-item.c: removed mentions to non-existant structure fields. svn path=/trunk/; revision=21948
* define ECalViewEvent as the base struct for the other views.Rodrigo Moya2003-07-2410-91/+154
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.h: define ECalViewEvent as the base struct for the other views. * gui/e-day-view.[ch]: EDayViewEvent is now based on ECalViewEvent. (e_day_view_get_selected_events): made it return a list of ECalViewEvent's, not CalComponent's, so that we can get more information about the events. * gui/e-week-view.[ch]: EWeekViewEvent is now based on ECalViewEvent. (e_week_view_get_selected_events): same as e_day_view_get_selected_events. * gui/e-cal-view.c (e_cal_view_cut_clipboard, e_cal_view_copy_clipboard, e_cal_view_delete_selected_event, e_cal_view_delete_selected_events, on_edit_appointment, on_save_as, on_print_event, on_meeting, on_forward, e_cal_view_create_popup_menu): * gui/calendar-commands.c (sensitize_calendar_commands): updated to read ECalViewEvent's instead of CalComponent's as returned by e_cal_view_get_selected_events(). svn path=/trunk/; revision=21946
* check the uid before using it.Rodrigo Moya2003-07-243-0/+8
| | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (delete_event): check the uid before using it. svn path=/trunk/; revision=21944
* removed.Rodrigo Moya2003-07-2413-238/+267
| | | | | | | | | | | | | | | | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_delete_event, e_day_view_delete_event_internal): * gui/e-week-view.c (e_week_view_delete_event, e_week_view_delete_event_internal): removed. * gui/e-cal-view.[ch] (e_cal_view_delete_selected_event): renamed from e_cal_view_delete_event_internal. (e_cal_view_delete_selected_events): new function. * gui/gnome-cal.c (gnome_calendar_delete_selection): call e_cal_view_delete_selected_events(). * gui/e-week-view-event-item.c (e_week_view_event_item_get_position, e_week_view_event_item_button_press): * gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event): * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): adapted to changes in E*ViewPosition. svn path=/trunk/; revision=21943
* added missing cases. (setup_popup_icons): new function to set up icons forRodrigo Moya2003-07-243-0/+54
| | | | | | | | | | 2003-07-24 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.c (on_print): added missing cases. (setup_popup_icons): new function to set up icons for the popup menu. (e_cal_view_create_popup_menu): call setup_popup_icons. svn path=/trunk/; revision=21942
* Use EVO_MARSHAL_RULE, and add MARSHAL_GENERATED to CLEANFILESDan Winship2003-07-242-12/+5
| | | | | | | * cal-util/Makefile.am: Use EVO_MARSHAL_RULE, and add MARSHAL_GENERATED to CLEANFILES svn path=/trunk/; revision=21912
* moved the duplicated popup menu code here. (e_cal_view_create_popup_menu):Rodrigo Moya2003-07-2311-1156/+1037
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch]: moved the duplicated popup menu code here. (e_cal_view_create_popup_menu): new function to create the popup menu for all views. (on_new_appointment, on_new_event, on_new_meeting, on_new_task, on_goto_today, on_goto_date, on_edit_appointment, on_print, on_save_as, on_print_event, on_meeting, on_forward, on_publish, on_settings, on_delete_appointment, on_cut, on_copy, on_paste, on_unrecur_appointment): callbacks for the popup menu items. * gui/e-week-view.c (e_week_view_on_new_appointment, e_week_view_new_appointment, e_week_view_on_new_event, e_week_view_on_new_meeting, e_week_view_on_new_task, e_week_view_on_goto_today, e_week_view_on_goto_date, e_week_view_on_edit_appointment, e_week_view_on_print, e_week_view_on_save_as, e_week_view_on_print_event, e_week_view_on_meeting, e_week_view_on_forward, e_week_view_on_publish, e_week_view_on_settings, e_week_view_on_delete_appointment, e_week_view_delete_event_internal, e_week_view_on_cut, e_week_view_on_copy, e_week_view_on_paste): * gui/e-day-view.c (e_day_view_on_new_appointment, e_day_view_on_new_event, e_day_view_on_new_meeting, e_day_view_on_new_task, e_day_view_on_goto_today, e_day_view_on_goto_date, e_day_view_on_edit_appointment, e_day_view_on_print, e_day_view_on_save_as, e_day_view_on_print_event, e_day_view_on_meeting, e_day_view_on_forward, e_day_view_on_publish, e_day_view_on_settings, e_day_view_on_delete_appointment, e_day_view_delete_event_internal, e_day_view_on_cut, e_day_view_on_copy, e_day_view_on_paste): removed duplicated code. * gui/gnome-cal.[ch] (gnome_calendar_unrecur_selection): new function. svn path=/trunk/; revision=21908
* Fix an unused variableDan Winship2003-07-239-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix an unused variable * gui/calendar-commands.c (purge_cmd): Fix warnings. * gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match the actual functions * gui/control-factory.c: add some missing #includes * gui/dialogs/delete-comp.c (delete_component_dialog): Fix a warning * gui/e-itip-control.c (write_label_piece): Remove unused variable. * gui/print.c (print_calendar): Remove unused variable (print_comp): Likewise. * gui/tasks-control.c (confirm_purge): Fix warnings. (print_tasks): Remove unused variable. svn path=/trunk/; revision=21905
* removed unneeded prototypes.Rodrigo Moya2003-07-2310-208/+147
| | | | | | | | | | | | | | | | | | | | | | 2003-07-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.h: * gui/e-week-view.h: removed unneeded prototypes. * gui/e-cal-view.[ch] (e_cal_view_get_visible_time_range): new function. (selection_received): deal correctly with the selected time range. * gui/e-week-view.c (e_week_view_get_visible_time_range): made it private as the implementation of the 'get_visible_time_range' virtual method. * gui/e-day-view.c (e_day_view_get_visible_time_range): ditto. * gui/gnome-cal.c (gnome_calendar_direction): merged redundant 'case'. (focus_current_view): removed redundant code. svn path=/trunk/; revision=21897
* manage the case where the selected events are the popup menu ones.Rodrigo Moya2003-07-233-14/+34
| | | | | | | | | | 2003-07-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_get_selected_events): * gui/e-week-view.c (e_week_view_get_selected_events): manage the case where the selected events are the popup menu ones. svn path=/trunk/; revision=21895
* removed missing calls to e_day/week_view_*_clipboard.Rodrigo Moya2003-07-232-46/+9
| | | | | | | | | | 2003-07-22 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_copy_clipboard, gnome_calendar_cut_clipboard, gnome_calendar_paste_clipboard): removed missing calls to e_day/week_view_*_clipboard. svn path=/trunk/; revision=21894
* added "get_selected_events", and "update_query" virtual methods.Rodrigo Moya2003-07-2311-1186/+1249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-22 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch]: added "get_selected_events", and "update_query" virtual methods. (e_cal_view_class_init): initialize new virtual methods. (e_cal_view_destroy): destroy new private members. (e_cal_view_get_selected_events, e_cal_view_set_cal_client, e_cal_view_get_cal_client): new functions. (e_cal_view_cut_clipboard, e_cal_view_copy_clipboard, e_cal_view_paste_clipboard): merged clipboard stuff. * gui/e-day-view.c (e_day_view_cut_clipboard, e_day_view_copy_clipboard, e_day_view_paste_clipboard): removed. (e_day_view_get_selected_events): made these private as the implementation of the 'get_selected_events' base class virtual method. * gui/e-week-view.c (e_week_view_get_selected_events): ditto. (e_week_view_cut_clipboard, e_week_view_copy_clipboard, e_week_view_paste_clipboard): removed. * gui/calendar-commands.c (sensitize_calendar_commands): call e_cal_view_get_selected_events. * gui/gnome-cal.c: removed a lot of redundant code thanks to the above changes. svn path=/trunk/; revision=21893
* removed e_day_view_set_calendar prototype.Rodrigo Moya2003-07-2210-122/+124
| | | | | | | | | | | | | | | | 2003-07-21 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.[ch]: removed e_day_view_set_calendar prototype. (e_day_view_set_status_message): removed. * gui/e-week-view.[ch] (e_week_view_set_status_message): removed. * gui/e-cal-view.[ch] (e_cal_view_set_status_message): new functions. (e_cal_view_destroy): unref activity client. * gui/gnome-cal.c: updated to e_*_view/e_cal_view. svn path=/trunk/; revision=21890
* moved duplicated code to...Rodrigo Moya2003-07-1812-138/+191
| | | | | | | | | | | | | | | 2003-07-18 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.[ch]: * gui/e-week-view.[ch]: moved duplicated code to... * gui/e-cal-view.[ch]: ...here. (e_cal_view_get_calendar, e_cal_view_set_calendar): new functions. * gui/e-week-view-event-item.c (e_week_event_item_double_click): * gui/gnome-cal.c (setup_widgets): adapted to changes in views. svn path=/trunk/; revision=21865
* new base class for calendar views.Rodrigo Moya2003-07-179-7/+269
| | | | | | | | | | | | | 2003-07-17 Rodrigo Moya <rodrigo@ximian.com> * gui/e-cal-view.[ch]: new base class for calendar views. * gui/e-day-view.[ch]: * gui/e-week-view.[ch]: base these classes on ECalView. * gui/Makefile.am: added new files. svn path=/trunk/; revision=21854
* s/expunge/purge.Rodrigo Moya2003-07-173-20/+25
| | | | | | | | | 2003-07-17 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.[ch]: * gui/tasks-control.c: s/expunge/purge. svn path=/trunk/; revision=21853
* new function, which uses a CalQuery to retrieve the objects older than aRodrigo Moya2003-07-174-1/+219
| | | | | | | | | | | | | | | | | | 2003-07-16 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.[ch] (gnome_calendar_purge): new function, which uses a CalQuery to retrieve the objects older than a given date. (check_instance_cb): callback for cal_recur_generate_instances. (purging_obj_updated_cb): call check_instance_cb on each recurrence to double-check the event can be deleted. (purging_query_done_cb, purging_eval_error_cb): needed callbacks to finish the query. (gnome_calendar_destroy): free new members. * gui/calendar-commands.c (purge_cmd): added implementation for the 'Purge' menu item. svn path=/trunk/; revision=21846
* Fixes #45774Andrew Wu2003-07-162-0/+76
| | | | | | | | | | | | | 2003-07-16 Andrew Wu <Yang.Wu@sun.com> Fixes #45774 * gui/e-day-view.c (e_day_view_goto_start_of_work_day): implemented select the time that begins a work day. (e_day_view_goto_end_of_work_day): implemented select the time that ends a work day. svn path=/trunk/; revision=21839
* Fixes #45772Andrew Wu2003-07-163-0/+47
| | | | | | | | | | | | 2003-07-16 Andrew Wu <Yang.Wu@sun.com> Fixes #45772 * gui/gnome-cal.c(gnome_calendar_goto_date): implemented Alt+Left/Right to go to the same day of the previous/next week. * gui/gnome-cal.h:add two element in GnomeCalendarGotoDateType. svn path=/trunk/; revision=21836
* Fixes #41676Rodrigo Moya2003-07-152-3/+70
| | | | | | | | | | | | | | | | 2003-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #41676 * gui/dialogs/alarm-options.c (palarm_options_changed_cb, repeat_spin_button_changed_cb, repeat_unit_changed_cb): new callbacks for managing modifications in the 'Run a program' alarm case. (repeat_toggle_toggled_cb): if the alarm being edited has a procedure action, call palarm_options_changed_cb. (init_widgets): connect new callbacks. (alarm_to_dialog): disable 'OK' button if a procedure alarm. svn path=/trunk/; revision=21810
* Changed the "URL:" label to "_Web Page:". Added a widget name to the URLFederico Mena Quintero2003-07-145-12/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-11 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/task-details-page.glade: Changed the "URL:" label to "_Web Page:". Added a widget name to the URL label so that we can hook up its mnemonic by hand. Added underlines to the "% Complete:" and "Date Completed:" labels. Added a widget name to the date completed label, also so that we can hook up its mnemonic. * gui/dialogs/task-details-page.c (get_widgets): Get the url_label and date_completed_label as well. (init_widgets): Set the mnemonic widgets of the url_label and the date_completed_label by hand, as their respective widgets are not created by libglade. * gui/e-calendar-table.c (tasks_popup_menu): Added an item for "Open Web Page". (e_calendar_table_show_popup_menu): Disable the aforementioned menu item if the selected task doesn't have the URL property set. (open_url_cb): New callback. * gui/e-tasks.c (write_html): Make the HTML say "Web Page:" instead of "URL:". svn path=/trunk/; revision=21805
* Fixes #46075.Harry Lu2003-07-092-2/+19
| | | | | | | | | | | | | 2003-07-10 Harry Lu <harry.lu@sun.com> Fixes #46075. * gui/e-date-time-list.c (compare_datetime): new function to compare two CalComponentDateTime instances. (e_date_time_list_append): check whether the date already exists before adding it to the list. svn path=/trunk/; revision=21767
* Fixes #45910Rodrigo Moya2003-07-073-0/+33
| | | | | | | | | | | | | | | | | 2003-07-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #45910 * gui/dialogs/task-editor.c (task_editor_class_init): set up the handler for the set_cal_client virtual method. (task_editor_set_cal_client): added missing virtual method. 2003-07-07 Jack Jia <jack.jia@sun.com> * cal-client/cal-client.c (cal_client_get_static_capability): add g_return_val_if_fail to check the input param. svn path=/trunk/; revision=21743
* added a paned widget to contain the task list and a HTML widget forRodrigo Moya2003-07-045-4/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-03 Rodrigo Moya <rodrigo@ximian.com> * gui/e-tasks.c (setup_widgets): added a paned widget to contain the task list and a HTML widget for displaying the task's details. Connect to "cursor_change" signal on the ETable. (table_cursor_change_cb): update the HTML view every time the selected task changes. (timet_to_str_with_zone): new function copied from alarm daemon. (url_requested_cb): callback for "url_requested" signal on the GtkHTML widget. (on_link_clicked_cb): respond to clicks linked on the HTML widget. (vpaned_resized_cb): set the configuration entry for the task vpane position. (e_tasks_destroy): free new member. (e_tasks_construct): connect to "obj_removed" signal on the CalClient. (client_obj_removed_cb): if the updated object is the one being displayed in the HTML widget, update it. * gui/calendar-config.[ch] (calendar_config_get_task_vpane_pos): (calendar_config_gset_task_vpane_pos): new functions. * gui/apps_evolution_calendar.schemas: added task vpane position. svn path=/trunk/; revision=21740
* Fixes #45767Antonio Xu2003-07-032-1/+6
| | | | | | | | | | 2003-07-03 Antonio Xu <antonio.xu@sun.com> Fixes #45767 * conduits/todo/Makefile.am: removed libwombat from the build. svn path=/trunk/; revision=21732
* Fixes #44485Harry Lu2003-07-032-1/+14
| | | | | | | | | | | | 2003-07-02 Harry Lu <harry.lu@sun.com> Fixes #44485 * gui/e-timezone-entry.c (e_timezone_entry_set_entry): pass a new allocated string to gtk_entry_set_text instead of the one that might come from gettext. svn path=/trunk/; revision=21728
* Don't leak exceptions (load_static_capabilities): free the capabilityDan Winship2003-07-024-17/+34
| | | | | | | | | | | | | | * cal-client/cal-client.c (real_open_calendar): Don't leak exceptions (load_static_capabilities): free the capability string * gui/dialogs/task-page.c (task_page_fill_component): Free the description text if it *was* set, rather than if it wasn't. * gui/dialogs/task-editor.c (task_editor_finalize): Free the priv struct. svn path=/trunk/; revision=21722
* fix a misuse of g_return_if_failBolian Yin2003-07-021-1/+1
| | | | svn path=/trunk/; revision=21720
* correct the dateBolian Yin2003-07-021-1/+1
| | | | svn path=/trunk/; revision=21719
* Fixes #45328, #45329Bolian Yin2003-07-024-3/+184
| | | | | | | | | | | | | | | | | 2003-06-30 Bolian Yin <bolian.yin@sun.com> Fixes #45328, #45329 * gui/e-day-view.c (e_day_view_do_key_press): Do not process PageUp/PageDown, .. when the Alt key is pressed (give key binding set the chance). * gui/gnome-cal.h : define new enum type, GNOME_CAL_GOTO_DATE_TYPE. * gui/gnome-cal.c (gnome_calendar_class_init): define new signal "goto_date". Add key bindings for "Alt+PageUp/PageDown", "Alt+Home/End". (gnome_calendar_goto_date): Impl. signal handler for "goto_date". svn path=/trunk/; revision=21717
* Fixes #45524Rodrigo Moya2003-07-023-32/+10
| | | | | | | | | | | | | | 2003-07-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #45524 * gui/calendar-commands.c: use stock icons where approppriate. * gui/tasks-control.c: removed EPixmaps structure, since we only use stock icons now. (tasks_control_activate): no need to call e_pixmaps_update. svn path=/trunk/; revision=21715
* Fixes #45274Bolian Yin2003-07-013-4/+99
| | | | | | | | | | 2003-07-01 Bolian Yin <bolian.yin@sun.com> Fixes #45274 * gui/e-week-view.c: implemented tabbing though events in week view. svn path=/trunk/; revision=21703
* removed usage of WombatClient. (client_get_password_cb,Rodrigo Moya2003-06-306-161/+17
| | | | | | | | | | | | | | | | | | | | 2003-06-30 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c: removed usage of WombatClient. (client_get_password_cb, client_forget_password_cb): removed. (real_open_calendar): don't create the WombatClient object. (cal_client_init, cal_client_finalize): removed WombatClient related code. (cal_client_finalize): re-enabled call to destroy_factories. * pcs/cal.c: removed usage of WombatClient interface. (cal_construct): don't get a reference to the WombatClient. (cal_get_password, cal_forget_password): removed unused functions. * conduits/calendar/Makefile.am: * cal-client/Makefile.am: removed references to libwombat. svn path=/trunk/; revision=21693
* added a GtkWindow argument for callers to specify the parent window.Rodrigo Moya2003-06-3015-42/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-27 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.[ch] (send_component_dialog): * gui/dialogs/cancel-comp.[ch] (cancel_component_dialog): added a GtkWindow argument for callers to specify the parent window. * gui/dialogs/changed-comp.[ch] (changed_component_dialog): added 'parent' argument and use GtkMessageDialog instead of gnome_question_dialog. * gui/e-calendar-table.c (e_calendar_table_delete_selected): * gui/e-day-view.c (e_day_view_delete_event_internal, e_day_view_on_cut, e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editting_stopped, e_day_view_on_top_canvas_drag_data_received, selection_received): * gui/e-week-view.c (e_week_view_delete_event_internal, e_week_view_on_cut, e_week_view_on_editing_stopped, selection_received): * gui/dialogs/event-editor.c (cancel_meeting_cmd): * gui/dialogs/task-editor.c (cancel_task_cmd): * gui/dialogs/comp-editor.c (delete_cmd, obj_removed_cb): pass the parent window to the *_component_dialog() functions. * gui/dialogs/delete-comp.c (delete_component_dialog): use the 'widget' argument to get the parent window for the dialog. svn path=/trunk/; revision=21684
* Fixes #45276Bolian Yin2003-06-303-0/+13
| | | | | | | | | | | | | 2003-06-26 Bolian Yin <bolian.yin@sun.com> Fixes #45276 * gui/e-day-view.c (e_day_view_on_text_item_event): set focus to dayview when editing is canceled. * gui/e-week-view.c (e_week_view_on_text_item_event): set focus to weekview when editing is canceled svn path=/trunk/; revision=21682
* Fixes #44723Rodrigo Moya2003-06-272-0/+53
| | | | | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44723 * gui/dialogs/alarm-page.c: added a new field to the private structure to keep track of the old summary. (alarm_page_init): initialize new field. (alarm_page_finalize): free new field. (alarm_page_set_summary): iterate over the list of alarms to change their description if it was the same as the event's summary. svn path=/trunk/; revision=21561
* Fixes #44719Rodrigo Moya2003-06-271-5/+2
| | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44719 * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use gtk_window_set_icon_from_file to set the window's icon and implemented the code to make the window sticky with GTK 2.x API. svn path=/trunk/; revision=21559
* Fixes #44719Rodrigo Moya2003-06-271-0/+8
| | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44719 * gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use gtk_window_set_icon_from_file to set the window's icon and implemented the code to make the window sticky with GTK 2.x API. svn path=/trunk/; revision=21557
* Forgot this fileRodrigo Moya2003-06-261-0/+5
| | | | svn path=/trunk/; revision=21541
* Fixes #45275Bolian Yin2003-06-262-9/+47
| | | | | | | | | | | | | 2003-06-25 Bolian Yin <bolian.yin@sun.com> Fixes #45275 * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): new function. (e_calendar_table_on_right_click_menu): call e_calendar_table_show_popup_menu. (e_calendar_table_on_popup_menu): callback for "popup_menu" signal. (e_calendar_table_init): connect to ETable's "popup_menu" signal. svn path=/trunk/; revision=21537
* 2003-06-25 Bolian Yin <bolian.yin@sun.comRodrigo Moya2003-06-252-4/+238
| | | | | | | | Fixes #45273 * gui/e-day-view.c: implemented tabbing though events in day view. svn path=/trunk/; revision=21535
* new functions. (page_summary_changed_cb): change the window title when theRodrigo Moya2003-06-242-0/+57
| | | | | | | | | | | 2003-06-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_string, set_title_from_string): new functions. (page_summary_changed_cb): change the window title when the object's summary changes. svn path=/trunk/; revision=21523
* don't use a static GList, since the value returned is freed inRodrigo Moya2003-06-242-4/+7
| | | | | | | | | | 2003-06-22 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (get_factories): don't use a static GList, since the value returned is freed in destroy_factories, making several clients use a buggy GList if one of them happen to be destroyed. svn path=/trunk/; revision=21522
* Remove debug output.Hans Petter Jansson2003-06-243-2/+17
| | | | | | | | | | | 2003-06-22 Hans Petter Jansson <hpj@ximian.com> * gui/print.c (get_font_for_size): Remove debug output. * gui/tasks-control.c (print_tasks): Ref and sink the printable. Use fixed (5%) margins instead of what gnome-print gives us. svn path=/trunk/; revision=21518
* don't leak the CalBackendPrivate.Dan Winship2003-06-202-0/+7
| | | | | | | * pcs/cal-backend.c (cal_backend_finalize): don't leak the CalBackendPrivate. svn path=/trunk/; revision=21496
* Plug in the defaults from the schemas file here, so that even if somethingDan Winship2003-06-202-4/+14
| | | | | | | | | | | | * gui/calendar-config.c (calendar_config_get_hpane_pos) (calendar_config_get_vpane_pos) (calendar_config_get_month_hpane_pos) (calendar_config_get_month_vpane_pos): Plug in the defaults from the schemas file here, so that even if something goes wrong with the schemas, people will still get reasonable defaults instead of "I click on the calendar and it shows me tasks". svn path=/trunk/; revision=21495
* removed unused variable.Rodrigo Moya2003-06-202-1/+6
| | | | | | | | | 2003-06-16 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): removed unused variable. svn path=/trunk/; revision=21494
* switch the "view_only" arg to be an int. (init): ditto.Jack Jia2003-06-195-9/+27
| | | | | | | | | | | | | | | | | | | | | | 2003-06-12 Jack Jia <jack.jia@sun.com> * gui/e-itip-control.c (struct _EItipControlPrivate): switch the "view_only" arg to be an int. (init): ditto. (e_itip_control_set_view_only): ditto. (e_itip_control_get_view_only): ditto. * gui/itip-bonobo-control.c (get_prop): switch BONOBO_ARG_SET_BOOLEAN to BONOBO_ARG_SET_INT. (set_prop): switch BONOBO_ARG_GET_BOOLEAN to BONOBO_ARG_GET_INT. (itip_bonobo_control_new): switch BONOBO_ARG_BOOLEAN to BONOBO_ARG_INT. Function "bonobo_property_bag_client_set_value_gboolean" can not work on solaris. svn path=/trunk/; revision=21478
* Fixes #44682, Shift+F10 to active popup menu on day/week viewBolian Yin2003-06-193-16/+92
| | | | | | | | | | | | | | | | | | 2003-06-10 Bolian Yin <bolian.yin@sun.com> Fixes #44682, Shift+F10 to active popup menu on day/week view * gui/e-day-view.c (e_day_view_key_press, e_day_view_do_key_press): When the key press is not handled, give keybindings the chance. (e_day_view_popup_menu, e_day_view_show_popup_menu, e_day_view_on_event_right_click ): popup menu will be activated from both keyboard and mouse. * gui/e-week-view.c (e_week_view_key_press, e_week_view_do_key_press): When the key press is not handled, give keybindings the chance. (e_week_view_popup_menu): popup menu can be activated from keyboard svn path=/trunk/; revision=21473
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-1/+4
| | | | svn path=/trunk/; revision=21426
* Fixes #41582Rodrigo Moya2003-06-122-4/+24
| | | | | | | | | | | | | 2003-06-10 Rodrigo Moya <rodrigo@ximian.com> Fixes #41582 * gui/gnome-cal.c (gnome_calendar_hpane_resized): killed warnings and added code to resize the EDayView's time column on the hpane's resizing. (gnome_calendar_vpane_resized): killed warnings. svn path=/trunk/; revision=21421
* ** For #42691.Not Zed2003-06-113-4/+15
| | | | | | | | | | | | | | | 2003-06-05 Not Zed <NotZed@Ximian.com> ** For #42691. * gui/Makefile.am (%.server.in): implicit rule for .in file. (BUILT_SOURCES): added server_DATA. * gui/alarm-notify/Makefile.am (%.server.in): added implicit rule for .in file. (BUILT_SOURCES): added server_DATA. svn path=/trunk/; revision=21403
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-21873/+21872
| | | | svn path=/trunk/; revision=21387
* adapted to changes in EComponentListener API. (query_construct): ditto.Rodrigo Moya2003-06-043-4/+12
| | | | | | | | | | | | 2003-06-04 Rodrigo Moya <rodrigo@ximian.com> * pcs/query.c (start_cached_query_cb): adapted to changes in EComponentListener API. (query_construct): ditto. * cal-client/cal-client.c (cal_opened_cb): ditto. svn path=/trunk/; revision=21384
* Fixes part of #43388Rodrigo Moya2003-06-032-14/+21
| | | | | | | | | | | | 2003-06-02 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #43388 * importers/icalendar-importer.c (prepare_events): (prepare_tasks): use external iterators for removing components from the main component. svn path=/trunk/; revision=21373
* Fixes #43763Rodrigo Moya2003-06-023-7/+16
| | | | | | | | | | | | | | | | | 2003-05-29 Rodrigo Moya <rodrigo@ximian.com> Fixes #43763 * gui/e-week-view.c (e_week_view_init): use g_signal_connect_after for "button_press_event" callback. * gui/e-day-view.c (e_day_view_init): ditto. 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 svn path=/trunk/; revision=21362
* Fixes #43775JP Rosevear2003-05-3111-82/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-29 JP Rosevear <jpr@ximian.com> Fixes #43775 * gui/weekday-picker.c (get_day_text): calculate the characters to display correctly (configure_items): use it (weekday_picker_style_set): ditto * gui/print.c (format_date): use e_utf8_strftime (print_week_view_background): ditto (print_month_summary): ditto (range_selector_new): ditto (print_comp_item): ditto * gui/itip-utils.c (comp_description): the translation is already utf8 * gui/e-itip-control.c (write_label_piece): the string is already in utf8 * gui/e-day-view.c (e_day_view_style_set): use e_utf8_strftime (e_day_view_recalc_cell_sizes): ditto * gui/e-day-view-top-item.c (e_day_view_top_item_draw): use e_utf8_strftime * gui/e-cell-date-edit-text.c (ecd_get_text): return the duplicated buffer (its already utf8) (show_date_warning): use e_utf8_strftime * gui/calendar-model.c (date_value_to_string): return the duplicated buffer (its already utf8) (calendar_model_value_to_string): the translations should already be in utf8 * gui/calendar-config.c (calendar_config_locale_supports_12_hour_format): use e_utf8_strftime * gui/calendar-commands.c (calendar_set_folder_bar_label): use e_utf8_strftime svn path=/trunk/; revision=21355
* Fixes #43455Rodrigo Moya2003-05-292-29/+21
| | | | | | | | | | | 2003-05-28 Rodrigo Moya <rodrigo@ximian.com> Fixes #43455 * gui/tasks-control.c (confirm_expunge): converted to a GtkMessageDialog and removed object weak's ref code, not needed anymore. svn path=/trunk/; revision=21344
* Fixes #43308JP Rosevear2003-05-232-6/+13
| | | | | | | | | | | | 2003-05-20 JP Rosevear <jpr@ximian.com> Fixes #43308 * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): adjust row heights to reflect changes in etable row heights and set display top to align properly svn path=/trunk/; revision=21325
* unref not ref the clientJP Rosevear2003-05-232-1/+6
| | | | | | | | | 2003-05-22 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref not ref the client svn path=/trunk/; revision=21323
* Fixes #41329JP Rosevear2003-05-232-0/+11
| | | | | | | | | | | | | 2003-05-22 JP Rosevear <jpr@ximian.com> Fixes #41329 * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_zoomed_out_toggled): make sure the meeting time is shown afterwards (e_meeting_time_selector_on_working_hours_toggled): ditto svn path=/trunk/; revision=21322
* Fixes #41234Rodrigo Moya2003-05-222-8/+8
| | | | | | | | | | 2003-05-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #41234 * gui/dialogs/e-delegate-dialog.glade: changed button ordering. svn path=/trunk/; revision=21307
* Fixes #41234Rodrigo Moya2003-05-221-0/+6
| | | | | | | | | | 2003-05-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #41234 * gui/dialogs/e-delegate-dialog.glade: changed button ordering. svn path=/trunk/; revision=21306
* (gnome_calendar_setup_view_menus): RemovedEttore Perazzoli2003-05-212-29/+34
| | | | | | debugging message. svn path=/trunk/; revision=21293
* Change this dialog from using a gnome_message_box (which has beenAnna Marie Dirks2003-05-212-17/+27
| | | | | | | | | | | 2003-05-20 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): Change this dialog from using a gnome_message_box (which has been deprecated), to using a gtk_message_dialog. This HIG-ifies this dialog, and fixes bug #42046. svn path=/trunk/; revision=21285
* Fixes #42056Hans Petter Jansson2003-05-202-55/+36
| | | | | | | | | | | | 2003-05-20 Hans Petter Jansson <hpj@ximian.com> Fixes #42056 * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Don't create accel groups for menuitem mnemonics. Don't use deprecated functions where we actually need accel groups. svn path=/trunk/; revision=21281
* Don't double-free newly-added categories that the gui hasn't been toldDan Winship2003-05-202-15/+19
| | | | | | | | * pcs/cal-backend.c (cal_backend_finalize): Don't double-free newly-added categories that the gui hasn't been told about yet. #43321 svn path=/trunk/; revision=21275
* set 'initialized' to TRUE when initialization is done, or we get theRodrigo Moya2003-05-202-1/+8
| | | | | | | | | 2003-05-19 Rodrigo Moya <rodrigo@ximian.com> * gui/main.c (factory): set 'initialized' to TRUE when initialization is done, or we get the initialization code called over and over. svn path=/trunk/; revision=21274
* remove the query time out if its still alive (update_query_timeout):JP Rosevear2003-05-202-2/+30
| | | | | | | | | | | 2003-05-19 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_destroy): remove the query time out if its still alive (update_query_timeout): update the query and clear the time out (client_cal_opened_cb): add the query update timeout svn path=/trunk/; revision=21257
* Added HIG-blessed padding to (some of) the widgets in the dialog.Anna Marie Dirks2003-05-204-5/+18
| | | | | | | | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Added HIG-blessed padding to (some of) the widgets in the dialog. * gui/dialogs/meeting-page.glade: Added HIG-blessed border width and spacing to the meeting page of the event editor. * gui/dialogs/schedule-page.glade: Added HIG-blessed border width to the schedule page on the event editor. svn path=/trunk/; revision=21256
* Fixes #43103JP Rosevear2003-05-193-52/+66
| | | | | | | | | | | | | | | | | | 2003-05-19 JP Rosevear <jpr@ximian.com> Fixes #43103 * gui/e-day-view.c (e_day_view_init): connect normally instead of after so that our boolean return values afffect the action signal emmissions properly (e_day_view_on_top_canvas_drag_motion): fix proto to be a gboolean (e_day_view_on_main_canvas_drag_motion): ditto * gui/e-week-view.c (e_week_view_init): connect normally instead of after so that our boolean return values afffect the action signal emmissions properly svn path=/trunk/; revision=21250
* the title is already in UTF-8JP Rosevear2003-05-182-4/+6
| | | | | | | | | 2003-05-16 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): the title is already in UTF-8 svn path=/trunk/; revision=21235
* Fixes #42220Rodrigo Moya2003-05-182-11/+18
| | | | | | | | | | | 2003-05-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #42220 * gui/e-day-view.c (e_day_view_finish_resize): hide canvas items and update internal fields before updating the object. svn path=/trunk/; revision=21233
* unref the client and the ui componentJP Rosevear2003-05-162-2/+13
| | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_finalize): unref the client and the ui component svn path=/trunk/; revision=21211
* Fixes #41935JP Rosevear2003-05-163-48/+85
| | | | | | | | | | | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> Fixes #41935 * gui/e-week-view.c (e_week_view_init): listen for scroll events on the canvas (e_week_view_on_button_press): don't scroll here (e_week_view_on_scroll): scroll here * gui/e-day-view.c (e_day_view_init): listen for scroll events on the time and main canvases (e_day_view_on_main_canvas_button_press): don't scroll here (e_day_view_on_main_canvas_scroll): scroll here (e_day_view_on_time_canvas_scroll): and here svn path=/trunk/; revision=21210
* Fixes #43029JP Rosevear2003-05-164-49/+75
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> Fixes #43029 * gui/e-week-view.c (e_week_view_init): don't listen for destroy signal (e_week_view_destroy): check for NULL and make invisible NULL after we destroy it, unref cursors and NULL them out as well, guard against freeing events multiple times * gui/e-day-view.c (e_day_view_destroy): check for NULL and make invisible NULL after we destroy it, unref cursors and NULL them out as well, guard against freeing events multiple times (e_day_view_init): don't listen for destroy signal * gui/e-calendar-table.c (e_calendar_table_init): don't listen for destroy signal (e_calendar_table_destroy): check for NULL and make invisible NULL after we destroy it svn path=/trunk/; revision=21208
* Fixes #41930JP Rosevear2003-05-162-2/+9
| | | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> Fixes #41930 * idl/evolution-calendar.idl: Make sure everything that can raise a NotFound exception lists it svn path=/trunk/; revision=21207
* ref ourselves the number of times we'll get called backJP Rosevear2003-05-162-1/+16
| | | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_free_busy): ref ourselves the number of times we'll get called back svn path=/trunk/; revision=21196
* guard against multiple destroysJP Rosevear2003-05-159-65/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (e_tasks_destroy): guard against multiple destroys * cal-client/cal-client.c (cal_client_finalize): unref the bonobo listener * gui/gnome-cal.c (gnome_calendar_destroy): guard against multiple destroy calls * gui/e-week-view.c (e_week_view_init): connect after destroy (invisible_destroyed): don't unref, its already destroyed * gui/e-day-view.c (e_day_view_init): connect after destroy (invisible_destroyed): don't unref, its already destroyed * gui/e-calendar-table.c (e_calendar_table_class_init): make sure we set the parent class (e_calendar_table_init): connect after the destroy handler runs (e_calendar_table_destroy): guard against multiple destroys (invisible_destroyed): don't unref the invisible, its already being destroyed * gui/calendar-offline-handler.c (backend_cal_set_mode): unref the client, we are done with it now (backend_cal_opened_online): ditto (impl_dispose): unref our main client * gui/calendar-commands.c (control_util_set_folder_bar_label): release/unref the shell view once we are done with it (control_util_show_settings): ditto svn path=/trunk/; revision=21180
* fixed memory leak introduced by previous commit.Rodrigo Moya2003-05-142-0/+9
| | | | | | | | | 2003-05-13 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (notify_dialog_cb): fixed memory leak introduced by previous commit. svn path=/trunk/; revision=21162
* Fixes #41760Rodrigo Moya2003-05-142-17/+14
| | | | | | | | | | | | | 2003-05-12 Rodrigo Moya <rodrigo@ximian.com> Fixes #41760 * gui/alarm-notify/alarm-queue.c (create_snooze): don't add a new alarm, but update the already existing one. (notify_dialog_cb): make sure we don't remove the alarm if we are snoozing. svn path=/trunk/; revision=21160
* fix button conversion problemJP Rosevear2003-05-083-17/+10
| | | | | | | | | | | | 2003-05-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-page.glade: fix button conversion problem * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): only free the percent if its non-null svn path=/trunk/; revision=21128
* added missing assignment.Rodrigo Moya2003-05-072-0/+7
| | | | | | | | | 2003-05-07 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_discard_alarm): added missing assignment. svn path=/trunk/; revision=21121
* Fixes #41811JP Rosevear2003-05-062-0/+9
| | | | | | | | | | 2003-05-05 JP Rosevear <jpr@ximian.com> Fixes #41811 * gui/alarm-notify/Makefile.am: don't dist idl generated files svn path=/trunk/; revision=21112
* unref the model again (task_editor_edit_comp): don't allow editing if theJP Rosevear2003-05-027-104/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): unref the model again (task_editor_edit_comp): don't allow editing if the assignee has delegated * gui/dialogs/meeting-page.c (popup_delete_cb): set the new non-delegator to be editable * gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow editing if the attendee has delegated (event_editor_finalize): unref the model again * gui/e-meeting-model.c: remove e-table-without related functions (finalize): don't create without table (e_meeting_model_etable_from_model): build the table with this as model (e_meeting_model_etable_model_to_view_row): directly use the model_to_view call (e_meeting_model_etable_view_to_model_row): as above (attendee_changed_cb): make sure pre change is alwasy called * gui/e-meeting-model.h: use DECLS, remove protos for long dead functions, don't include config.h svn path=/trunk/; revision=21045
* removed unused code.Rodrigo Moya2003-04-302-18/+5
| | | | | | | | | 2003-04-30 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): removed unused code. svn path=/trunk/; revision=21032
* dittoJP Rosevear2003-04-304-2/+23
| | | | | | | | | | | | | | 2003-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): ditto * gui/dialogs/event-editor.c (event_editor_finalize): don't unref the model here * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null up the display_top and display_main for re-entrancy purposes svn path=/trunk/; revision=21018
* kill warningsJP Rosevear2003-04-302-1/+5
| | | | | | | | 2003-04-25 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_send_comp): kill warnings svn path=/trunk/; revision=21000
* Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221.Anna Marie Dirks2003-04-292-3/+9
| | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/alarm-options.glade: Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221. svn path=/trunk/; revision=20991
* Added appropriate spacing and padding to the calendar/tasks page of theAnna Marie Dirks2003-04-292-6/+14
| | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing and padding to the calendar/tasks page of the settings dialog. Fixes bug #41129 svn path=/trunk/; revision=20990
* Finishes up fixing #41256 by adding appropriate spacing/padding to theAnna Marie Dirks2003-04-293-6/+17
| | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/task-page.glade: Finishes up fixing #41256 by adding appropriate spacing/padding to the main task page. * gui/dialogs/task-details-page.glade: Added appropriate spacing and padding to the task-details page. Partially fixes #41256. svn path=/trunk/; revision=20989
* Added padding/spacing to this page as specified by the HIG. PartiallyAnna Marie Dirks2003-04-294-17/+30
| | | | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/recurrence-page.glade: Added padding/spacing to this page as specified by the HIG. Partially fixes #41215. * gui/dialogs/alarm-page.glade: Added padding/spacing/stock buttons to the alarm page. Partially fixes #41215. * gui/dialogs/event-page.glade: Added padding/spacing to the event-page (partially fixes #41215) svn path=/trunk/; revision=20988
* Fixes #35814Rodney Dawes2003-04-292-2/+9
| | | | | | | | | | | | | 2003-04-27 Rodney Dawes <dobey@ximian.com> Fixes #35814 * calendar/gui/calendar-component.c: Change mnemonic/keybinding for New Meeting to not conflict with other items in the File->New menu * ui/evolution.xml: Changed the New Folder keybinding to C-S-f svn path=/trunk/; revision=20984
* Fixes #41661Rodrigo Moya2003-04-279-12/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 Rodrigo Moya <rodrigo@ximian.com> Fixes #41661 * idl/evolution-calendar.idl: added discardAlarm method to GNOME:Evolution:Calendar:Cal interface. * pcs/cal.c (cal_class_init): set new epv's method. (impl_Cal_discardAlarm): implementation of new CORBA method. * pcs/cal-backend.[ch]: added 'discard_alarm' virtual method, and CAL_BACKEND_RESULT_NOT_IMPLEMENTED to CalBackendResult enum. (cal_backend_class_init): initialize new class method. (cal_backend_discard_alarm): new method. (cal_backend_update_objects, cal_backend_remove_object): return proper CalBackendResult values. * pcs/cal-backend-file.c (cal_backend_file_class_init): initialize new class method. (cal_backend_file_discard_alarm): implementation of new method. * pcs/cal-client.[ch] (cal_client_discard_alarm): new function. * gui/alarm-notify/alarm-queue.c (remove_qeueud_alarm): don't remove the alarm directly from the component, call cal_client_discard_alarm and let the backend deal with it. svn path=/trunk/; revision=20973
* set the hpane default to 32000 so we never see a pane no matter the startJP Rosevear2003-04-252-1/+7
| | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> * gui/apps_evolution_calendar.schemas: set the hpane default to 32000 so we never see a pane no matter the start up window size unless the user changes it svn path=/trunk/; revision=20963
* Remove change that shouldn't have been committed.JP Rosevear2003-04-252-2/+2
| | | | svn path=/trunk/; revision=20962
* Fixes #37552JP Rosevear2003-04-2511-29/+187
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> Fixes #37552 * gui/dialogs/Makefile.am: build delete-error.[hc] * gui/e-tasks.c: wrap calls to cal_client_remove_object with delete_error_dialog * gui/e-itip-control.c: ditto * gui/e-calendar-table.c: ditto * gui/e-week-view.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/delete-error.[hc]: gemerate an error message based on result svn path=/trunk/; revision=20961
* removed unused variable..Rodrigo Moya2003-04-252-1/+5
| | | | | | | | | 2003-04-23 Rodrigo Moya <rodrigo@ximian.com> * gui/e-day-view.c (e_day_view_on_delete_occurrence): removed unused variable.. svn path=/trunk/; revision=20958
* Fixed typoRodrigo Moya2003-04-241-1/+1
| | | | svn path=/trunk/; revision=20948
* Fixes #41641Hans Petter Jansson2003-04-243-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-23 Hans Petter Jansson <hpj@ximian.com> Fixes #41641 * gui/e-day-view.c (e_day_view_focus_in): Remove assert an old input method code. (e_day_view_focus_out): Ditto. (e_day_view_reshape_long_event): Set input method context. (e_day_view_reshape_day_event): Ditto. (e_day_view_on_editing_started): Let EText handle the context popup. (e_day_view_on_editing_stopped): Turn off EText's handling of context popup. * gui/e-week-view.c (e_week_view_reshape_event_span): Set input method context. (e_week_view_on_text_item_event): Let the EText item handle right-click context popup if we're editing it. (e_week_view_on_editing_started): Let the EText item handle the context popup. (e_weeK_view_on_editing_stopped): Turn off EText's handling of context popup. svn path=/trunk/; revision=20947
* Fixes #41671Rodrigo Moya2003-04-243-3/+16
| | | | | | | | | | | | | | 2003-04-23 Rodrigo Moya <rodrigo@ximian.com> Fixes #41671 * gui/alarm-notify/notify-main.c (main): added calls to gnome_sound_init and gnome_sound_shutdown. * gui/alarm-notify/alarm-queue.c (audio_notification): check that the sound file exists, and gdk_beep if not. svn path=/trunk/; revision=20946
* Fixes part of #41148, #41216 and #41235Rodrigo Moya2003-04-2312-31/+52
| | | | | | | | | | | | | | | | | | | | | | 2003-04-22 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #41148, #41216 and #41235 * gui/e-itip-control.c (init): * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct, e_meeting_time_selector_add_key_color): * gui/e-timezone-entry.c (e_timezone_entry_init): * gui/gnome-cal.c (setup_widgets): * gui/tasks-control.c (confirm_expunge): * gui/dialogs/comp-editor.c (setup_widgets): * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): * gui/dialogs/meeting-page.c (meeting_page_construct): * gui/dialogs/recurrence-page.c (make_weekly_special, make_monthly_special, make_ending_count_special): * gui/dialogs/schedule-page.c (schedule_page_construct): use HIG-suggested spacing. svn path=/trunk/; revision=20927
* Fixes #22444Rodrigo Moya2003-04-238-74/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #22444 * gui/calendar-commands.c: added new verbs for occurrence-related menu items. (delete_occurrence_cmd): added callback for "Delete this occurrence" menu item. "Delete all occurrences" is just the same as "Delete". (sensitize_calendar_commands): sensitive ocurrence-related menu items. * gui/gnome-cal.[ch] (gnome_calendar_delete_selected_occurrence): new function. (gnome_calendar_get_current_view_widget): made this public. * gui/e-week-view.[ch] (e_week_view_get_selected_event): (e_week_view_delete_occurrence): new functions. (e_week_view_delete_occurrence_internal): real implementation of the 'Delete Occurrence' logic. (e_week_view_on_delete_occurrence): call delete_instance_internal. * gui/e-day-view.[ch] (e_day_view_get_selected_event): (e_day_view_delete_occurrence): new functions. (e_week_view_delete_occurrence_internal): real implementation of the 'Delete Occurrence' logic. (e_week_view_on_delete_occurrence): call delete_occurrence_internal. svn path=/trunk/; revision=20917
* removed 'heading' and 'message' labels.Rodrigo Moya2003-04-193-47/+9
| | | | | | | | | | | | 2003-04-18 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.glade: removed 'heading' and 'message' labels. * gui/alarm-notify/alarm-notify-dialog.c: removed deleted widgets. (alarm_notify_dialog): don't load the removed widgets. svn path=/trunk/; revision=20895
* [ fixes #21499 ]Rodney Dawes2003-04-196-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* Fixes #41459JP Rosevear2003-04-173-10/+19
| | | | | | | | | | 2003-04-17 JP Rosevear <jpr@ximian.com> Fixes #41459 * gui/dialogs/meeting-page.c: comment out delegation stuff svn path=/trunk/; revision=20880
* Fixes #34498Rodrigo Moya2003-04-172-4/+19
| | | | | | | | | | | | | | | 2003-04-17 Rodrigo Moya <rodrigo@ximian.com> Fixes #34498 * gui/alarm-notify/alarm-queue.c: added a 'uid' field to the CompQueuedAlarms structure. (remove_queued_alarm): free the 'uid' field when freeing the structure. (add_component_alarms): g_strdup the component's UID and use that as the key for the hash table. svn path=/trunk/; revision=20879
* Fixes #41129, #41215, #41221, #41256Rodrigo Moya2003-04-1712-2759/+3019
| | | | | | | | | | | | | | | | | | | | | 2003-04-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #41129, #41215, #41221, #41256 * gui/alarm-notify/alarm-notify.glade: * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/meeting-page.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/schedule-page.glade: * gui/dialogs/task-details-dialog.glade: * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: set spacing to 6 pixels everywhere. svn path=/trunk/; revision=20869
* Fixes #41230JP Rosevear2003-04-172-10/+24
| | | | | | | | | | | | | | 2003-04-16 JP Rosevear <jpr@ximian.com> Fixes #41230 * gui/e-itip-control.c (show_current): make sure to pass TRUE for tasks (start_calendar_server): make sure we don't gtk_main_quit if we haven't gtk_main'ed (start_calendar_server_cb): ditto svn path=/trunk/; revision=20868
* Fixes #39735 and 40257JP Rosevear2003-04-176-162/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 JP Rosevear <jpr@ximian.com> Fixes #39735 and 40257 * gui/gnome-cal.c: convert float pane positions to ints (setup_widgets): set the initial position after realization and track the drags to get the new position, pack the panes slightly differently (gnome_calendar_set_pane_positions): set purely pixel oriented positions (gnome_calendar_update_config_settings): no need to update quanta setting (gnome_calendar_hpane_realized): realization callback (gnome_calendar_vpane_realized): ditto (gnome_calendar_vpane_resized): resize callback, store new size (gnome_calendar_hpane_resized): ditto * gui/calendar-model.c (get_due_status): handle an error getting the timezone * gui/calendar-config.c (calendar_config_get_hpane_pos): return an int (calendar_config_set_hpane_pos): take an int (calendar_config_get_vpane_pos): return an int (calendar_config_set_vpane_pos): take an int * gui/calendar-config.h: update protos * gui/apps_evolution_calendar.schemas: update defaults for pane positions svn path=/trunk/; revision=20863
* If we already have an evolution_dir, free the old one before setting itHans Petter Jansson2003-04-1610-18/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (owner_set_cb): If we already have an evolution_dir, free the old one before setting it anew. * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the metrics. * gui/e-day-view.c (e_day_view_style_set): Unref the metrics. (e_day_view_recalc_cell_sizes): We don't need font metrics here. (e_day_view_reshape_long_event): Ditto. * gui/e-meeting-model.c (init): Don't dup the string passed to e_table_without_hide(). * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): Unref the metrics. (e_meeting_time_selector_recalc_date_form): Doesn't need metrics. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Unref the metrics. * gui/e-week-view.c (e_week_view_style_set): Unref metrics. (e_week_view_recalc_cell_sizes): Ditto. (e_week_view_reshape_event_span): Move Pango stuff to where it can't be leaked due to an early return. Unref metrics. * gui/weekday-picker.c (weekday_picker_style_set): Unref metrics. * gui/dialogs/meeting-page.c (meeting_page_finalize): Free default address. svn path=/trunk/; revision=20857
* Oops. Add this back. Turns out it's still needed by other parts.Dan Winship2003-04-123-1/+21
| | | | | | | * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Oops. Add this back. Turns out it's still needed by other parts. svn path=/trunk/; revision=20821
* Remove the "Contacts" button and entry from here too. Supposed to haveDan Winship2003-04-117-424/+14
| | | | | | | | | | | | | | | | * gui/dialogs/task-page.glade: Remove the "Contacts" button and entry from here too. Supposed to have been part of #35926 * gui/dialogs/task-page.c: Remove all code pertaining to the contacts button * gui/dialogs/comp-editor-util.c: * gui/dialogs/comp-editor-util.h: Likewise * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove select-names stuff, which is no longe rused. svn path=/trunk/; revision=20816
* added missing capabilities.Rodrigo Moya2003-04-119-14/+39
| | | | | | | | | | | | | | | | | | | 2003-04-11 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added missing capabilities. * cal-client/cal-client.c (cal_client_get_one_alarm_only, cal_client_get_organizer_must_attend, cal_client_get_save_schedules): * gui/itip-utils.c (itip_organizer_is_user): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/dialogs/task-editor.c (set_menu_sens): * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros defined in cal-util.h for static capabilities. svn path=/trunk/; revision=20815
* load the default book to look for additional free/busy info in (init):JP Rosevear2003-04-112-16/+29
| | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (start_addressbook_server): load the default book to look for additional free/busy info in (init): ugly hack to make sure we get destroyed, set idle id to 0 (process_callbacks): unref the im because we are now done with it (refresh_busy_periods): set idle id to 0, ref the model and handle e_book_get_cursor error svn path=/trunk/; revision=20814
* guard against multiple destroy callsJP Rosevear2003-04-112-3/+15
| | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_destroy): guard against multiple destroy calls svn path=/trunk/; revision=20813
* only print a message if the exception isn't the reasonable NotFoundJP Rosevear2003-04-112-1/+7
| | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_get_free_busy): only print a message if the exception isn't the reasonable NotFound svn path=/trunk/; revision=20812
* unref the main widget since we ref it when we un-parent itJP Rosevear2003-04-118-1/+40
| | | | | | | | | | | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the main widget since we ref it when we un-parent it * gui/dialogs/alarm-page.c (alarm_page_finalize): ditto * gui/dialogs/task-page.c (task_page_finalize): ditto * gui/dialogs/event-page.c (event_page_finalize): ditto * gui/dialogs/task-details-page.c (task_details_page_finalize): ditto * gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto * gui/dialogs/meeting-page.c (meeting_page_finalize): ditto svn path=/trunk/; revision=20811
* added the allocation's X and Y position to the calculated coordinates.Rodrigo Moya2003-04-112-4/+31
| | | | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): (e_meeting_time_selector_autopick_menu_position_callback): added the allocation's X and Y position to the calculated coordinates. svn path=/trunk/; revision=20809
* Fixes #41127JP Rosevear2003-04-113-5/+16
| | | | | | | | | | | | | | | 2003-04-10 JP Rosevear <jpr@ximian.com> Fixes #41127 * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_cb): unref here, when the callback is done (e_meeting_time_selector_refresh_free_busy): don't unref here * gui/e-meeting-model.c (process_free_busy): if the type is unexpected, make sure we cleanup properly svn path=/trunk/; revision=20807
* only remove the alarm for backends that want it (Exchange).Rodrigo Moya2003-04-102-1/+8
| | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): only remove the alarm for backends that want it (Exchange). svn path=/trunk/; revision=20801
* added #define's for static capabilities.Rodrigo Moya2003-04-103-1/+19
| | | | | | | | | | | 2003-04-10 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added #define's for static capabilities. * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): use the #define's above. svn path=/trunk/; revision=20800
* Fixes #40133Chris Toshok2003-04-102-1/+9
| | | | | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> Fixes #40133 * pcs/cal-backend.c (cal_backend_class_init): use G_TYPE_INT instead of G_TYPE_ENUM as a parameter type for the signal to get rid of runtime warning. svn path=/trunk/; revision=20786
* Fixes #40915JP Rosevear2003-04-092-1/+11
| | | | | | | | | | | 2003-04-09 JP Rosevear <jpr@ximian.com> Fixes #40915 * gui/calendar-model.c (get_due_status): when getting the current time for date values, use a timezone aware function svn path=/trunk/; revision=20785
* Fixes #40952JP Rosevear2003-04-092-1/+8
| | | | | | | | | | | 2003-04-09 JP Rosevear <jpr@ximian.com> Fixes #40952 * pcs/cal-backend-file.c (cal_backend_file_open): check for file method instead of is_local svn path=/trunk/; revision=20783
* kill an old e_utf8_gtk usageMike Kestner2003-04-091-1/+0
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-search-bar.c (set_option): kill an old e_utf8_gtk usage and remove some straggling e-font.h includes. svn path=/trunk/; revision=20769
* Fixes #40894JP Rosevear2003-04-081-0/+8
| | | | | | | | | | | | 2003-04-08 JP Rosevear <jpr@ximian.com> Fixes #40894 * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): update the selection for all view types svn path=/trunk/; revision=20754
* update the selection for all view typesJP Rosevear2003-04-081-25/+11
| | | | | | | | | | 2003-04-08 JP Rosevear <jpr@ximian.com> * gui/gnome-cal.c (gnome_calendar_on_date_navigator_selection_changed): update the selection for all view types svn path=/trunk/; revision=20753
* Remove button_ok, button_cancel, canceled members from struct Dialog.Ettore Perazzoli2003-04-083-482/+452
| | | | | | | | | | | | | | | | | | | | | * gui/dialogs/alarm-options.c: Remove button_ok, button_cancel, canceled members from struct Dialog. (get_widgets): Do not initialize. (close_dialog): Destroy the toplevel. (toplevel_delete_event_cb): Removed. (button_cancel_clicked_cb): Removed. (button_ok_clicked_cb): Removed. (close_dialog): Removed. (alarm_options_dialog_run): Use gtk_dialog_run. (init_widgets): Do not init ->canceled, do not connect OK/Cancel buttons. (alarm_to_dialog): No need to make the file entry modal from here anymore. * gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set the "modal" property to True for the file entry. svn path=/trunk/; revision=20749
* Fixes #35926.Hans Petter Jansson2003-04-083-130/+16
| | | | | | | | | | | | | | | | | | | | 2003-04-07 Hans Petter Jansson <hpj@ximian.com> Fixes #35926. * gui/dialogs/event-page.glade: Remove contacts entry/chooser. * gui/dialogs/event-page.c: Remove contacts entry/chooser. (event_page_init): Remove references. (event_page_finalize): Ditto. (event_page_fill_widgets): Ditto. (event_page_fill_component): Ditto. (get_widgets): Ditto. (init_widgets): Ditto. (contacts_clicked_cb): Remove wholesale. (contacts_changed_cb): Ditto. svn path=/trunk/; revision=20731
* Fixes #40876JP Rosevear2003-04-082-3/+20
| | | | | | | | | | | | | 2003-04-07 JP Rosevear <jpr@ximian.com> Fixes #40876 * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_free_busy): guard against callbacks after destruction (e_meeting_time_selector_refresh_cb): ditto svn path=/trunk/; revision=20727
* create button properlyJP Rosevear2003-04-084-36/+17
| | | | | | | | | | | | | | | 2003-04-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.glade: create button properly * gui/itip-utils.c (comp_server_send): for errors other than busy, we want to email the results * pcs/cal-backend.c (cal_backend_ref_categories): insert the new category in the category list as well (idle_notify_categories_changed): reset idle id svn path=/trunk/; revision=20726
* Fixes #40252Not Zed2003-04-083-92/+99
| | | | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> Fixes #40252 * conduits/todo/todo-conduit.c: Same as below. * conduits/calendar/calendar-conduit.c: Change the LOG macro to a single arg macro which copies its arg. Fix all callers. Change WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN before including anything. svn path=/trunk/; revision=20714
* Clean up server namesDan Winship2003-04-084-25/+38
| | | | | | | | | | | | * gui/GNOME_Evolution_Calendar.server.in.in: Clean up server names * gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in: Likewise * importers/GNOME_Evolution_Calendar_Importer.server.in.in: Likewise. Also mark the evolution:menu_name for i18n svn path=/trunk/; revision=20705
* Slight correction to previous commit; use G_ cast checks.Hans Petter2003-04-071-4/+4
| | | | svn path=/trunk/; revision=20696
* GObjectify. Eliminates ref/sink warnings from the meeting editor.Hans Petter Jansson2003-04-073-21/+26
| | | | | | | | | 2003-04-07 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-attendee.[ch]: GObjectify. Eliminates ref/sink warnings from the meeting editor. svn path=/trunk/; revision=20695
* Week view part of fix for #39895.Hans Petter Jansson2003-04-074-3/+23
| | | | | | | | | | | | | | | | 2003-04-06 Hans Petter Jansson <hpj@ximian.com> Week view part of fix for #39895. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Use the UNFOCUSSED colour if we're not focused, rather than not drawing anything. * gui/e-week-view.c: Set up the UNFOCUSSED colour. * gui/e-week-view.h: Add the UNFOCUSSED colour. svn path=/trunk/; revision=20689
* Fixes #40790JP Rosevear2003-04-052-5/+14
| | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> Fixes #40790 * gui/alarm-notify/alarm-queue.c (procedure_notification_dialog): return based on the response code (not old button stuff) svn path=/trunk/; revision=20679
* (alarm_to_dialog): Make the fileEttore Perazzoli2003-04-052-0/+11
| | | | | | entry modal. [#40792] svn path=/trunk/; revision=20678
* description is a text buffer (alarm_to_malarm_widgets): dittoJP Rosevear2003-04-052-6/+34
| | | | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-options.c (alarm_to_dalarm_widgets): description is a text buffer (alarm_to_malarm_widgets): ditto (dalarm_widgets_to_alarm): ditto (malarm_widgets_to_alarm): ditto (alarm_to_repeat_widgets): check repeat status correctly svn path=/trunk/; revision=20677
* guard against multiple destroy callsJP Rosevear2003-04-052-7/+14
| | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/cal-search-bar.c (cal_search_bar_destroy): guard against multiple destroy calls svn path=/trunk/; revision=20672
* Don't free static string.Dan Winship2003-04-052-1/+6
| | | | | | * gui/e-itip-control.c (write_html): Don't free static string. svn path=/trunk/; revision=20670
* guard against empty uri as wellJP Rosevear2003-04-052-1/+6
| | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (get_default_uri): guard against empty uri as well svn path=/trunk/; revision=20669
* Fixes #40722JP Rosevear2003-04-042-5/+17
| | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> Fixes #40722 * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): guard against multiple destroy calls svn path=/trunk/; revision=20667
* Add a check to see if the view should be the day-view and change theJeffrey Stedfast2003-04-033-6/+20
| | | | | | | | | | | | | | | | | | 2003-04-02 Jeffrey Stedfast <fejj@ximian.com> * gui/control-factory.c (set_prop): Add a check to see if the view should be the day-view and change the default to be whatever calendar_config_get_default_view() returns. Should fix bug #39735. * gui/calendar-config.h: calendar_config_write() and calendar_config_write_on_exit() no longer exist. Removed prototypes. * gui/control-factory.c (set_prop): g_strcasecmp() is deprecated. Since the values can never be anything other than all lowercase anyway, just use strcmp. svn path=/trunk/; revision=20649
* Fixes #39262Rodrigo Moya2003-04-032-7/+40
| | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #39262 * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): use folder_type argument to determine what to import. svn path=/trunk/; revision=20647
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-032-0/+7
| | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20646
* Fixes #39955JP Rosevear2003-04-022-2/+6
| | | | | | | | | | 2003-04-02 JP Rosevear <jpr@ximian.com> Fixes #39955 * gui/itip-utils.c (comp_sentby): don't unref the the account svn path=/trunk/; revision=20641
* Fixes #40661Rodrigo Moya2003-04-022-0/+7
| | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #40661 * gui/itip-utils.c: added missing header for Forte compilation. svn path=/trunk/; revision=20637
* Nuke GdkFont and use Pango's font measuring.Hans Petter Jansson2003-04-0211-172/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view-main-item.c (e_day_view_main_item_draw): Nuke GdkFont and use Pango's font measuring. * gui/e-day-view-time-itme.c (e_day_view_time_item_get_column_width) (e_day_view_time_item_draw): Ditto. * gui/e-day-view-top-item.c (e_day_view_top_item_draw) (e_day_view_top_item_draw_long_event): Ditto. * gui/e-day-view.c (e_day_view_style_set) (e_day_view_recalc_cell_sizes) (e_day_view_reshape_long_event) (e_day_view_update_top_canvas_drag) (e_day_view_update_main_canvas_drag): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set) (e_meeting_time_selector_recalc_date_form): Ditto. * gui/e-week-view-event-item.c (e_week_view_draw_time): Ditto. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Ditto. * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw): Ditto. * gui/e-week-view.c (e_week_view_style_set) (e_week_view_recalc_cell_sizes) (e_week_view_reshape_event_span): Ditto. * gui/weekday-picker.c (weekday_picker_style_set): Ditto. svn path=/trunk/; revision=20627
* Fix for #17231 (Evo portion)JP Rosevear2003-04-023-2/+12
| | | | | | | | | | | | | | | | 2003-04-01 JP Rosevear <jpr@ximian.com> Fix for #17231 (Evo portion) * conduits/todo/todo-conduit.c (comp_from_remote_record): test for secret flag properly * conduits/calendar/calendar-conduit.c (comp_from_remote_record): ditto svn path=/trunk/; revision=20612
* added filename (tasks.ics/calendar.ics) to the URI if it does not containRodrigo Moya2003-04-022-2/+30
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn): added filename (tasks.ics/calendar.ics) to the URI if it does not contain it. svn path=/trunk/; revision=20611
* Fixes #39961Rodrigo Moya2003-04-012-22/+13
| | | | | | | | | | | | | 2003-03-31 Rodrigo Moya <rodrigo@ximian.com> Fixes #39961 * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): (e_meeting_time_selector_autopick_menu_position_callback): use the button's allocation to position the popup menu. svn path=/trunk/; revision=20599
* Fixes #39895Not Zed2003-03-304-3/+25
| | | | | | | | | | | | | | | | | | | 2003-03-29 Not Zed <NotZed@Ximian.com> Fixes #39895 * gui/e-day-view.h (EDayViewColors): add an unfocussed colour to draw the selection in when we're not focussed. * gui/e-day-view.c (e_day_view_realize): Initialise E_DAY_VIEW_COLOR_BG_SELECTED_UNFOCUSSED to be 1/2 saturation of the focussed colour. * gui/e-day-view-main-item.c (e_day_view_main_item_draw): Use the UFOCUSSED colour if we aren't focussed, rather than just not drawing anything. svn path=/trunk/; revision=20579
* the shell client is a g_object now, ref appropriatelyJP Rosevear2003-03-292-2/+7
| | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (get_servers): the shell client is a g_object now, ref appropriately svn path=/trunk/; revision=20569
* Hold weak references to the CalComponent instead of connecting to theHans Petter Jansson2003-03-293-29/+30
| | | | | | | | | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (comp_destroy_cb) (e_day_view_on_long_event_button_press) (e_day_view_on_event_button_press) (e_day_view_on_long_event_click) (e_day_view_on_event_click) (e_day_view_on_event_double_click) (e_day_view_on_delete_appointment): Hold weak references to the CalComponent instead of connecting to the "destroy" signal. * gui/e-week-view.c (comp_destroy_cb) (e_week_view_on_text_item_event): Ditto. svn path=/trunk/; revision=20566
* Fixes #39954Hans Petter Jansson2003-03-292-4/+11
| | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> Fixes #39954 * gui/dialogs/recurrence-page.c (make_recurrence_special): Destroy would-be children of the container before the container. svn path=/trunk/; revision=20559
* init new members (get_current_account): get a matching account for theJP Rosevear2003-03-284-59/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_init): init new members (get_current_account): get a matching account for the currently selected user in the combo (meeting_page_finalize): unref the meeting attendee if there is one (meeting_page_fill_widgets): don't set the combo list here (clear_widgets): set the default organizer here and if we don't have an organizer, add the default organizer as an attendee (meeting_page_fill_component): use get_current_account (org_changed_cb): if this is a new meeting and the organizer changes, change the attendee (change_clicked_cb): no need to set the default here (init_widgets): reflect changed callback name (meeting_page_construct): set the combo strings here (popup_delete_cb): remove the organizer attendee if the user explicitly deletes it * gui/e-meeting-model.c (attendee_changed_cb): set row properly * gui/itip-utils.c (comp_to_list): skip the user themselves if cancelling or requesting svn path=/trunk/; revision=20557
* use g_object_unref for CalClient's. (create_checkboxes_control): useRodrigo Moya2003-03-272-8/+12
| | | | | | | | | | 2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * importers/icalendar-importer.c (gnome_calendar_import_data_fn): use g_object_unref for CalClient's. (create_checkboxes_control): use g_signal_connect. svn path=/trunk/; revision=20519
* return correct values in g_return_val_if_fail.Rodrigo Moya2003-03-273-3/+8
| | | | | | | | | 2003-03-26 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_get_load_state): return correct values in g_return_val_if_fail. svn path=/trunk/; revision=20516
* add a parameter(TC_CORBA_string) to the bonobo_widget_get_property.Jack Jia2003-03-262-1/+7
| | | | | | | | | | 2003-03-26 Jack Jia <jack.jia@sun.com> * calendar/gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): add a parameter(TC_CORBA_string) to the bonobo_widget_get_property. svn path=/trunk/; revision=20515
* Update for e_notice moveDan Winship2003-03-255-15/+38
| | | | | | | | | | | | | | | | | | * gui/itip-utils.c: Update for e_notice move * gui/tasks-control.c (confirm_expunge): Move the code that used to be e_gnome_dialog_set_parent here, since it was marked deprecated and this was the only place using it. * gui/dialogs/comp-editor.c: Update for e_notice move (page_changed_cb, page_summary_changed_cb, page_dates_changed_cb): Pass a parent_window to e_notice. * gui/dialogs/meeting-page.c: Update for e_notice move. (meeting_page_fill_component, meeting_page_fill_component, popup_delegate_cb): Pass a parent_window to e_notice svn path=/trunk/; revision=20503
* Utility wrapper around icalparser.Dan Winship2003-03-256-85/+54
| | | | | | | | | | | | | | | | | * cal-util/cal-util.c (cal_util_parse_ics_file): Utility wrapper around icalparser. * cal-util/test-recur.c (main): Use it * pcs/cal-backend-file.c (open_cal): Likewise * gui/comp-editor-factory.c (open_client): Add the OpenClient to the hash before calling cal_client_open_calendar, since in some failure cases, that will call cal_opened_cb (which will free the oc) with a failure immediately, causing a crash if we then try to deref it. svn path=/trunk/; revision=20492
* Fixes #32248JP Rosevear2003-03-222-1/+10
| | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #32248 * conduits/todo/todo-conduit.c (comp_from_remote_record): make sure the due date is actually a date svn path=/trunk/; revision=20459
* Fixes #31660JP Rosevear2003-03-222-11/+88
| | | | | | | | | | | | | | | 2003-03-21 JP Rosevear <jpr@ximian.com> Fixes #31660 * conduits/calendar/calendar-conduit.c (rrules_mostly_equal): check if the rrules are equal other than until/count (find_last_cb): update the data with the start timet (local_record_from_comp): handle the case where the recurrence rule ends after a certain number occurrences (comp_from_remote_record): same svn path=/trunk/; revision=20458
* calcomponents are gobjects now (calconduit_load_configuration): ref andJP Rosevear2003-03-213-2/+20
| | | | | | | | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.c (e_calendar_context_destroy): calcomponents are gobjects now (calconduit_load_configuration): ref and sink to avoid warnings * conduits/todo/todo-conduit.c (todoconduit_load_configuration): ref and sink to avoid warnings (e_todo_context_destroy): calcomponents are gobjects now svn path=/trunk/; revision=20437
* use a GtkMessageDialog and deal correctly with the dialog's reponses.Rodrigo Moya2003-03-212-4/+14
| | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/cancel-comp.c (cancel_component_dialog): use a GtkMessageDialog and deal correctly with the dialog's reponses. svn path=/trunk/; revision=20434
* Fixes #39770Rodrigo Moya2003-03-202-5/+15
| | | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> Fixes #39770 * gui/itip-utils.c (itip_Send_comp): check the CORBA exception instead of the g_return_val_if_fail. Also, use a CORBA_Object for the value returned from bonobo_activation_activate_from_id. svn path=/trunk/; revision=20382
* removed activation of shell_client. (importer_destroy_cb): no need toRodrigo Moya2003-03-202-28/+7
| | | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c: removed activation of shell_client. (importer_destroy_cb): no need to unref shell_client. (connect_to_shell): removed. (ical_importer_new, vcal_importer_new): don't call connect_to_shell. svn path=/trunk/; revision=20381
* removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead ofRodrigo Moya2003-03-203-92/+14
| | | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * importers/ical-importer.c (get_uri_from_folder_path): removed. (load_file_fn, vcal_load_file_fn): use physical_uri instead of folderpath. svn path=/trunk/; revision=20380
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-202-2/+8
| | | | | | | Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] svn path=/trunk/; revision=20368
* use GtkMessageDialog instead of gnome_question_dialog, and deal correctlyRodrigo Moya2003-03-192-4/+15
| | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog instead of gnome_question_dialog, and deal correctly with the dialog's response. svn path=/trunk/; revision=20342
* Fixes #34505Rodrigo Moya2003-03-182-7/+34
| | | | | | | | | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> Fixes #34505 * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added removal of the alarm itself in the calendar if the (new) argument says so. Also, set expecting_update flag to TRUE. (add_component_alarms): initialize expecting_update to FALSE. (remove_alarms): don't remove the component if expecting_update is TRUE. (obj_updated_cb, notify_dialog_cb, procedure_notification): adapted to changes in remove_queued_alarm. svn path=/trunk/; revision=20335
* Fixes #34095Hans Petter Jansson2003-03-189-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #34095 * gui/e-meeting-model.c (append_row): Don't leak meeting attendees; unref the attendee after it's assigned to model. * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual array of deleted attendees. * gui/dialogs/event-editor.c (event_editor_destroy): Free the private structure. * gui/itip-utils.c (comp_description): Rework free/busy information composer so we can free date/time information after use. Then free it. (itip_send_comp): Free the allocated CORBA buffer for attachment data. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component): Free the destination contacts string once we're done with it. * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible. * gui/e-day-view.c (invisible_destroyed): Ditto. * gui/e-week-view.c (invisible_destroyed): Ditto. svn path=/trunk/; revision=20329
* Fixes #39757Hans Petter Jansson2003-03-182-6/+18
| | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39757 * gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code reverted to thinking it was dealing with a GtkCList, when in reality it's a GtkTreeView. Fix that, so the buttons are sensitized correctly. svn path=/trunk/; revision=20328
* Fixes #39736Hans Petter Jansson2003-03-182-1/+8
| | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39736 * gui/e-day-view.c: Reduce the size of the large-digits font so it's en par with the one in 1.2. svn path=/trunk/; revision=20327
* Fixes #39740Rodrigo Moya2003-03-156-342/+18
| | | | | | | | | | | | | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #39740 * gui/e-meeting-model.c (is_cell_editable): check row number is valid before using it as index for the GPtrArray. 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #39356 * gui/Makefile.am: * gui/tasks-migrate.[ch]: removed tasks migration obsolete stuff. * gui/calendar-component.c (owner_set_cb): don't call tasks_migrate. svn path=/trunk/; revision=20301
* set_release on the sequence we create.Rodrigo Moya2003-03-152-0/+4
| | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (impl_CalFactory_uriList): set_release on the sequence we create. svn path=/trunk/; revision=20288
* don't leak the string sequence returned by CalFactory_uriList.Rodrigo Moya2003-03-142-1/+8
| | | | | | | | | 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.c (cal_client_uri_list): don't leak the string sequence returned by CalFactory_uriList. svn path=/trunk/; revision=20285
* use a weak ref instead of connecting to backend's "destroy" signal.Rodrigo Moya2003-03-132-9/+12
| | | | | | | | | | | 2003-03-13 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.c (query_backend_new): use a weak ref instead of connecting to backend's "destroy" signal. (backend_destroyed_cb, query_destroyed_cb): changed to be weak reference callbacks. svn path=/trunk/; revision=20271
* don't use GNOME_STOCK_* defines, but GTK_STOCK_*.Rodrigo Moya2003-03-132-3/+8
| | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): don't use GNOME_STOCK_* defines, but GTK_STOCK_*. svn path=/trunk/; revision=20262
* corrected button ordering and changed the return type to be aRodrigo Moya2003-03-134-10/+25
| | | | | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.[ch] (save_component_dialog): corrected button ordering and changed the return type to be a GtkResponseType. * gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to changes in save_component_dialog. svn path=/trunk/; revision=20261
* Update for timezone dialog API changes.Dan Winship2003-03-123-102/+38
| | | | | | | | | * gui/calendar-config.c (on_timezone_set): Update for timezone dialog API changes. * gui/e-timezone-entry.c: Likewise svn path=/trunk/; revision=20256
* issue more descriptive warnings.Rodrigo Moya2003-03-122-2/+7
| | | | | | | | | 2003-03-11 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): issue more descriptive warnings. svn path=/trunk/; revision=20250
* if we already have the client loaded, don't remove it, just increment itsRodrigo Moya2003-03-103-50/+72
| | | | | | | | | | | | | | | | | | | | 2003-03-09 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): if we already have the client loaded, don't remove it, just increment its reference count. * gui/alarm-notify/alarm-queue.c (remove_queued_alarm): added new argument to specify whether we want the component's structure removed if no more alarms exist, and only free the structure if TRUE. (remove_alarms): added same new argument and pass it over to remove_queued_alarm. (remove_comp, obj_updated_cb): passed new argument to remove_alarms. (procedure_notification): passed new argument to remove_queued_alarm. (obj_removed_cb): set all freed pointers to NULL. (notify_dialog_cb): only remove the alarm if the pointers are not NULL. svn path=/trunk/; revision=20232
* create the array to be returned only once.Rodrigo Moya2003-03-072-3/+8
| | | | | | | | | 2003-03-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): create the array to be returned only once. svn path=/trunk/; revision=20217
* ref the CalClient. (notify_dialog_cb): unref the CalClient.Rodrigo Moya2003-03-062-0/+7
| | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-queue.c (display_notification): ref the CalClient. (notify_dialog_cb): unref the CalClient. svn path=/trunk/; revision=20186
* new function. (alarm_notify_dialog): made it return a pointer to theRodrigo Moya2003-03-064-37/+144
| | | | | | | | | | | | | | | | | | | | | | 2003-03-06 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog_disable_buttons): new function. (alarm_notify_dialog): made it return a pointer to the dialog structure. * gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted alarm removal out of remove_comp. (obj_updated_cb): remove the component only when needed. In normal updates, just update the internal structure. (edit_component): don't get a CompQueuedAlarms as argument, since it might be removed. (on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for modifications during dialog display. (notify_dialog_cb): disconnect from "obj_*ed" signals and call edit_component with the new set of arguments. (display_notification): added more data to the closure structure. svn path=/trunk/; revision=20185
* Fixes #31382Rodrigo Moya2003-03-062-2/+10
| | | | | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> Fixes #31382 * gui/e-meeting-model.c (async_read): don't assume the buffer is always full, but use GNOME_VFS_ERROR_EOF instead for knowing when the read has finished. svn path=/trunk/; revision=20183
* fix defaults and descriptions to match what calendar-config wants them toJP Rosevear2003-03-062-30/+35
| | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/apps_evolution_calendar.schemas: fix defaults and descriptions to match what calendar-config wants them to be svn path=/trunk/; revision=20173
* g_objectify ref/unrefJP Rosevear2003-03-054-7/+16
| | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): g_objectify ref/unref * gui/itip-bonobo-control.c (set_data_idle_cb): as above (pstream_load): ditto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above svn path=/trunk/; revision=20172
* override finalize, not destroy (start_calendar_server): take itip as aJP Rosevear2003-03-052-46/+138
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (class_init): override finalize, not destroy (start_calendar_server): take itip as a param and gtk_main_quit if it gets destroyed while we are waiting for the cal client to load (start_default_server): ditto (get_servers): take itip as a param and don't load if we've been destroyed, check for an except when retrieving the folder list (init): ref the html control (destroy): mark ourselves as destroyed (finalize): clean up, unref html control (write_html): if the html widget has been destroyed, don't write anything out (show_current_todo): pass extra param (show_current): ref/unref the itip control to avoid finalization while we are working, pass extra param (button_selected_cb): pass extra param (object_requested_cb): ditto svn path=/trunk/; revision=20171
* cast CalClient's to GObject, not GtkObject.Rodrigo Moya2003-03-052-4/+9
| | | | | | | | | 2003-03-05 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online): cast CalClient's to GObject, not GtkObject. svn path=/trunk/; revision=20166
* don't let the user change to an email organizer if the back end is not anJP Rosevear2003-03-052-3/+11
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't let the user change to an email organizer if the back end is not an email addres svn path=/trunk/; revision=20162
* Fixes #37881JP Rosevear2003-03-052-2/+52
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20161
* Fixes #37881JP Rosevear2003-03-052-1/+8
| | | | | | | | | | | 2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20160
* Fixes #37883JP Rosevear2003-03-052-1/+8
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37883 * idl/evolution-calendar.idl: getLdapAttribute can raise NotFound svn path=/trunk/; revision=20158
* Fixes #37806, #37697JP Rosevear2003-03-052-4/+14
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Fixes #37806, #37697 * gui/e-itip-control.c (e_itip_control_set_data): if the text is null or the empty string, just clear the widget (init): set the html widget to initially be blank svn path=/trunk/; revision=20155
* implementJP Rosevear2003-03-059-20/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * pcs/cal.c (impl_Cal_get_ldap_attribute): implement * pcs/cal-backend.h: add virtual method * pcs/cal-backend.c (cal_backend_get_ldap_attribute): call get_ldap_attribute_method * pcs/cal-backend-file.c (cal_backend_file_class_init): overrid get_ldap_attribute method * idl/evolution-calendar.idl: add getLdapAttribute method * gui/e-meeting-model.c (process_section): take simple card list as arg and try to use the ldap attribute (if any) as the attendee, else use the email address (select_names_ok_cb): get the simple card list * cal-client/cal-client.h: add proto * cal-client/cal-client.c (cal_client_init): init ldap_attribute to NULL (cal_client_destroy): free ldap_attribute svn path=/trunk/; revision=20154
* call cal_client_get_cal_address instead of cal_client_get_email_addressJP Rosevear2003-03-0510-44/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_organizer_is_user): call cal_client_get_cal_address instead of cal_client_get_email_address * gui/dialogs/meeting-page.c (meeting_page_construct): ditto * pcs/cal.c (impl_Cal_get_cal_address): implement updated method name (cal_class_init): set method implementation * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address virtual function (cal_backend_get_cal_address): call proper function * pcs/cal-backend.h: update proto, rename get_email_address virtual function to get_cal_address virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): match get_cal_address call (cal_backend_file_get_cal_address): rename from cal_backend_file_get_email_address * cal-client/cal-client.c: rename email_address private member to cal_address (cal_client_init): init cal_address (cal_client_destroy): free cal_address and properly free alarm_email_address (cal_client_get_cal_address): rename from cal_client_get_email_address and call proper corba function svn path=/trunk/; revision=20151
* fix commentJP Rosevear2003-03-052-1/+5
| | | | | | | | 2003-02-05 JP Rosevear <jpr@ximian.com> * idl/evolution-calendar.idl: fix comment svn path=/trunk/; revision=20149
* update FIXME noteJP Rosevear2003-03-052-3/+6
| | | | | | | | | 2003-02-05 JP Rosevear <jpr@ximian.com> * gui/calendar-model.c (calendar_model_append_row): update FIXME note svn path=/trunk/; revision=20148
* fix copyrightJP Rosevear2003-03-053-7/+15
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recur-comp.h: fix copyright * gui/dialogs/recur-comp.c: fix copyright (recur_component_dialog): say "recurring journal entry" instead of just "recurring journal" svn path=/trunk/; revision=20147
* Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)JP Rosevear2003-03-053-2/+22
| | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>) * gui/dialogs/schedule-page.c (update_time): handle no end date if the start is date only * gui/dialogs/event-page.c (update_time): ditto svn path=/trunk/; revision=20146
* Shush.JP Rosevear2003-03-051-1/+3
| | | | svn path=/trunk/; revision=20145
* Commit missed files.JP Rosevear2003-03-052-0/+126
| | | | svn path=/trunk/; revision=20144
* If only the pipe wouldn't break.JP Rosevear2003-03-0551-2399/+3298
| | | | svn path=/trunk/; revision=20143
* Merging in 1.2 stuffJP Rosevear2003-03-053-32/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Merging in 1.2 stuff Fixes #35598 * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): count a status of needs action as a status of none (not started) (date_changed_cb): set the option menu to a status of none (status_changed): no need to handle needs action status now * gui/dialogs/task-details-page.glade: remove needs-action menu item Fixes #36763 * gui/dialogs/alarm-page.c (add_clicked_cb): if no address was set for an email alarm, set the default (button_options_clicked_cb): pass the default email address * gui/dialogs/alarm-options.h (alarm_options_dialog_run): update proto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): if there are no email attendees, default to the passed in value (alarm_options_dialog_run): take and track an email param * pcs/cal.c (impl_Cal_get_alarm_email_address): implement by calling backend method (cal_class_init): set alarm email address method implementation * pcs/cal-backend.h: add new virtual proto * pcs/cal-backend.c (cal_backend_class_init): set alarm email address virtual method to NULL (cal_backend_get_alarm_email_address): call backend method * pcs/cal-backend-file.c (cal_backend_file_class_init): set alarm email address method (cal_backend_file_get_alarm_email_address): implement by returning NULL * idl/evolution-calendar.idl: add getAlarmEmailAddress method Fixes #37102 * gui/dialogs/task-editor.c (set_menu_sens): don't allow task assignment if the backend says not to * gui/dialogs/recurrence-page.c (fill_component): kill warning (preview_recur): display the recurrences in the dtstart timezone if possible * gui/gnome-cal.c (dn_query_obj_updated_cb): pass NULL to use default tag zone * gui/tag-calendar.c (tag_calendar_by_comp): allow display zone for the tagged calendar to be passed in (prepare_tag): use the passed in timezone for display if non-null * gui/tag-calendar.h (tag_calendar_by_comp): update proto * gui/dialogs/recurrence-page.c (recurrence_page_set_dates): make sure we always update the preview * conduits/todo/todo-conduit.c (add_record): make sure to create a unique uid for the record * conduits/calendar/calendar-conduit.c (add_record): ditto * conduits/todo/todo-conduit.c (e_todo_context_new): init default comp and timezone to NULL (e_todo_context_destroy): unref default comp (pre_sync): et the default comp via the client and set the default timezone (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (e_calendar_context_new): init default comp to NULL (e_calendar_context_destroy): unref default comp (pre_sync): get the default comp via the client (add_record): pass the default comp as the base comp * conduits/calendar/calendar-conduit.c (local_record_from_comp): only add the recurrence rule if its not an instance * gui/itip-control-factory.c (set_data_idle_cb): idle call back to set control data (pstream_load): set the data in an idle callback to avoid deadlock (get_prop): handle view_only (set_prop): ditto (itip_control_factory): add view_only * gui/e-itip-control.h: add protos * gui/e-itip-control.c (write_html): only write out the options if we aren't in view_only mode (e_itip_control_set_view_only): accessor (e_itip_control_get_view_only): ditto Fixes #36909 * gui/dialogs/alarm-page.c (button_options_clicked_cb): indicate whether the options dialog should allow repeating * gui/dialogs/alarm-options.h: update proto * gui/dialogs/alarm-options.c (alarm_to_repeat_widgets): if repeating is not allowed, sensitize the widgets appropriately (alarm_options_dialog_run): store the repeat param * gui/calendar-model.c (calendar_model_append_row): guard against saving before the calendar is open * gui/e-day-view.c (e_day_view_key_press): ditto * gui/dialogs/comp-editor.c (page_changed_cb): change warning dialog to not mention email (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/itip-utils.c (itip_organizer_is_user): make the compare case insensitive * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't allow the organizer to be changed if its not an email address * gui/e-day-view.c, calendar-model.c, e-week-view.c, task-editor.c, event-editor.c, comp-editor.c, meeting-page.c: pass additional param * gui/itip-utils.c (itip_organizer_is_user): take client as param, and if organizer-not-email-address and email address and organizer match, assume the user is the organizer * gui/itip-utils.h: update proto * pcs/cal.c (build_fb_seq): set the max * gui/e-meeting-model.c (e_meeting_model_add_attendee_with_defaults): correct typo and set rsvp appropriately * gui/dialogs/send-comp.c (send_component_dialog): if save schedules, return FALSE for now * gui/dialogs/recurrence-page.c (sensitize_recur_widgets): de-sensitize the preview widget if we are viewing an instance (preview_recur): return if the comp is an instance * gui/dialogs/event-page.glade: name the show time frame * gui/dialogs/event-page.c (event_page_fill_widgets) (event_page_init): init show time frame (event_page_fill_widgets): hide/show frame as needed (get_widgets): get the frame * gui/alarm-notify/alarm-queue.c (mail_notification): kill mail notification code * cal-client/cal-client.c (load_static_capabilities): grab static capabilities string (check_capability): see if a capability is in the string (cal_client_get_one_alarm_only): accessor (cal_client_get_organizer_must_attend): use check_capability (cal_client_get_static_capability): ditto * cal-client/cal-client.h: new, changed protos * idl/evolution-calendar.idl: change over getSchedulingInformation to a more general getStaticCapabilities call * pcs/cal-backend-file.c (cal_backend_file_get_static_capabilities): return "no-email-alarms" * pcs/cal-backend.c (cal_backend_get_static_capabilities): ditto * pcs/cal-backend.h: ditto * pcs/cal.c (impl_Cal_get_static_capabilities): ditto * gui/alarm-notify/alarm-queue.c (get_default_address): utility routine to snag address info * gui/alarm-notify/Makefile.am: build composer idl * *.c: pass client param for send an cancel params * gui/dialogs/send-comp.c (send_component_dialog): take client as a parm and if save schedules return true right away * gui/dialogs/send-comp.h: update proto * gui/dialogs/cancel-comp.c (cancel_component_dialog): take client as a param and if we are deleting and schedule saves, return true right away * gui/dialogs/cancel-comp.h (cancel_component_dialog): update proto * gui/dialogs/alarm-options.glade: add Send To: button * gui/dialogs/alarm-options.c (addressbook_clicked_cb): display dialog (setup_select_names): attach above to Send To: button clicked signal * gui/dialogs/alarm-options.c (get_widgets): get mail alarm widgets (setup_select_names): add the select names widget (alarm_to_malarm_widgets): show the attendees and description (alarm_to_dialog): set the title for mail alarms properly (malarm_widgets_to_alarm): save attendees and descriptions in alarm (alarm_options_dialog_run): call setup_select_names * gui/dialogs/alarm-page.c: add email to alarm types * gui/dialogs/alarm-options.glade: add mail alarm widgets * gui/dialogs/alarm-page.glade: add email to alarm types * cal-util/cal-component.c (scan_attendee): kill unnecessary CalComponent param (scan_property): don't pass same (set_attendee_list): take an icalcomp instead of a CalComponent (cal_component_set_attendee_list): pass same (scan_alarm_property): if its an attendee, scan it (make_alarm): set attendee_list member to null (cal_component_alarm_new): ditto (cal_component_alarm_free): free attendee list (cal_component_alarm_get_attendee_list): return attendee list (cal_component_alarm_set_attendee_list): set attendee list (cal_component_alarm_has_attendees): return true if alarm has attendees * cal-util/cal-component.h: new protos * gui/calendar-model.c (calendar_model_append_row): use cal_comp_task_new_with_defaults * gui/comp-editor-factory.c (get_default_task): ditto * gui/e-tasks.c (e_tasks_new_task): ditto * gui/gnome-cal.c (gnome_calendar_new_task): ditto * gui/comp-util.h (cal_comp_task_new_with_defaults): new proto * gui/comp-util.c (cal_comp_task_new_with_defaults): new utility routine * cal-util/cal-util.c (generate_absolute_triggers): skip omitted alarm types (add_alarm_occurrences_cb): ditto (cal_util_generate_alarms_for_list): take/pass omit param (cal_util_generate_alarms_for_comp): ditto * cal-util/cal-util.h: update protos * pcs/cal-backend-file.c (cal_backend_file_get_alarms_for_object): add omit param (cal_backend_file_get_alarms_in_range): ditto * pcs/cal-backend.c (cal_backend_get_scheduling_information): remove dead param * gui/dialogs/meeting-page.h: delete proto * gui/dialogs/meeting-page.c: remove dead routine * gui/dialogs/event-editor.c (event_editor_edit_comp): we don't need to add the organizer as an attendee ourselves, just set the edit level properly * gui/dialogs/task-editor.c (task_editor_edit_comp): ditto * gui/comp-util.c (cal_comp_event_new_with_defaults): take client as arg so we can obtain the default from the backend * gui/comp-editor-factory.c (get_default_event): pass cal_comp_event_new_with_defaults the new param * gui/gnome-cal.c (gnome_calendar_new_appointment_for): ditto * gui/e-week-view.c (e_week_view_key_press): ditto * gui/e-day-view.c (e_day_view_key_press): ditto * gui/calendar-model.c (calendar_model_append_row): ditto * gui/comp-util.h (cal_comp_event_new_with_defaults): update proto * pcs/cal-backend-file.c (cal_backend_file_get_default_object): return appropriate default object * pcs/cal-backend.c (cal_backend_get_default_object): call get_default_backend class method * pcs/cal-backend.h: add proto * pcs/cal.c (impl_Cal_get_default_object): implement (cal_class_init): set handler for getDefaultObject call * idl/evolution-calendar.idl: remove always schedule from SchedulingInformation and add getDefaultObject call * cal-client/cal-client.c (cal_client_get_default_object): gets a default object from the server (cal_client_init): remove always_schedule (load_scheduling_info): ditto * cal-client/cal-client.h: add a proto, delete a proto * gui/dialogs/meeting-page.c (right_click_cb): if the attendee is not fully editable, don't allow deletion (meeting_page_construct): keep the default organizer as an itip address (meeting_page_get_default_organizer): return the default organizer * gui/dialogs/meeting-page.h: new proto * gui/dialogs/event-editor.c (event_editor_edit_comp): we set appropriate edit levels now for users and if the backend always schedules we always show the meeting pages and add the organizer as an attendee * gui/dialogs/task-editor.c (task_editor_edit_comp): same * gui/e-meeting-model.c (is_cell_editable): use the edit level of the attendee to determine if cell is editable (init): we no longer keep the attendee list of restricted * gui/e-meeting-attendee.c (e_meeting_attendee_get_edit_level): accessor (e_meeting_attendee_set_edit_level): ditto * gui/e-meeting-attendee.h: new protos and edit level enum * cal-client/cal-client.c (load_scheduling_info): load the scheduling info (cal_client_get_always_schedule): accessor (cal_client_get_organizer_must_attend): ditto (cal_client_get_save_schedules): ditto (cal_client_init): init scheduling data members * cal-client/cal-client.h: accessors for scheduling information * pcs/cal-backend-file.c (cal_backend_file_get_scheduling_information): implement the new virtual method * pcs/cal-backend.c (cal_backend_get_scheduling_information): call the class specific method * pcs/cal-backend.h: add virtual method * idl/evolution-calendar.idl: add a getSchedulingInformation call which describes how the backend does its scheduling * pcs/cal.c (impl_Cal_get_scheduling_information): implement above * gui/e-day-view.c: pass NULL as parent to recur dialog * gui/e-week-view.c: ditto * gui/dialogs/comp-editor.c (prompt_to_save_changes): show recur dialog after prompting, not before (save_cmd): ditto (save_close_cmd): ditto (real_edit_comp): don't show recur dialog before opening * gui/dialogs/recur-comp.h (recur_component_dialog): update proto * gui/dialogs/recur-comp.c (recur_component_dialog): take a parent argument and set the dialog parent if non-null * gui/e-week-view.c (e_day_view_on_editing_stopped): Don't update appointment if both the old and the new summary texts are empty. * gui/e-week-view.c (e_week_view_show_popup_menu): mask out "make moveable" if its an instance * gui/e-day-view.c (e_day_view_on_event_right_click): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) * gui/e-day-view.c (e_day_view_finish_long_event_resize): if its an instance, show the recur comp dialog and modify it based on the response (or not if cancel is hit) (e_day_view_finish_resize): 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/dialogs/comp-editor.c (real_edit_comp): reflect changes in proto of recur_component_dialog * gui/dialogs/recur-comp.c (recur_component_dialog): use ok/cancel instead and radio buttons for the mod type * gui/dialogs/recur-comp.h: update proto * gui/e-day-view.c (e_day_view_on_long_event_click): allow dragging if its an instance (e_day_view_on_event_click): ditto (e_day_view_on_top_canvas_motion): ditto (e_day_view_on_main_canvas_motion): ditto * gui/dialogs/comp-editor.c (save_comp): if its an instance, update with the mod type (real_edit_comp): ask the user what instances they want to change * gui/dialogs/recur-comp.[hc]: new dialog to ask user what recurrences to modify * gui/dialogs/Makefile.am: Compile new files * gui/e-day-view.c (e_day_view_on_delete_occurrence): if its an instance, just remove with THIS mod * gui/e-week-view.c (e_week_view_on_delete_occurrence): ditto * cal-client/cal-client.c (cal_client_remove_object_with_mod): send the mod parameter to the backend (cal_client_remove_object): implement with above (cal_client_update_object_with_mod): send the mod parameter to the backend (cal_client_update_object): implement with above * cal-client/cal-client.h: new protos * cal-client/cal-client.c (cal_client_is_read_only): return booleans in the pre conditions (cal_client_update_object): pass mod param (cal_client_update_objects): ditto (cal_client_remove_object): ditto (cal_client_ensure_timezone_on_server): ditto * pcs/cal.c (impl_Cal_update_objects): take mod param (impl_Cal_remove_object): ditto * pcs/cal-backend.h: fix protos * pcs/cal-backend.c (cal_backend_update_objects): take mod param (cal_backend_remove_object): ditto * pcs/cal-backend-file.c (cal_backend_file_update_objects): take mod param (cal_backend_file_remove_object): ditto * cal-util/cal-util.h: add mod enum * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): if its an instance, just report the instance * cal-util/cal-component.h: new protos * cal-util/cal-component.c (cal_component_is_instance): indicate whether the component is an instance or not (cal_component_free_range): free a range * idl/evolution-calendar.idl: get remove and update to take mod type svn path=/trunk/; revision=20142