aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #56316Rodrigo Moya2004-04-056-1/+132
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-05 Rodrigo Moya <rodrigo@ximian.com> Fixes #56316 * gui/dialogs/comp-editor-page.[ch]: added "fill_timezones" virtual method to CompEditorPage class. (comp_editor_page_fill_timezones): new function. (comp_editor_page_class_init): initialize new virtual method. * gui/dialogs/event-page.c (event_page_fill_timezones, event_page_class_init): * gui/dialogs/task-page.c (task_page_fill_timezones, task_page_class_init): * gui/dialogs/task-details-page.c (task_details_page_fill_timezones, task_details_page_class_init): implemented new virtual method for pages dealing with timezones. * gui/dialogs/comp-editor.c (save_comp): call the "fill_timezones" method on all pages, and call... (send_timezone): ...this function for each hash table item. svn path=/trunk/; revision=25314
* return correct values (boolean).Rodrigo Moya2004-04-011-2/+2
| | | | | | | | | 2004-04-01 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/recur-comp.c (recur_component_dialog): return correct values (boolean). svn path=/trunk/; revision=25276
* add remote calendar setup page to task list setup assistant and editWilliam Jon McCann2004-03-312-23/+408
| | | | | | | | | | | | 2004-03-30 William Jon McCann <mccann@jhu.edu> * gui/dialogs/calendar-setup.glade: * gui/dialogs/calendar-setup.c (new_task_list_finish) (calendar_setup_new_task_list, calendar_setup_edit_task_list): add remote calendar setup page to task list setup assistant and edit dialog. Remove separators from dialog. svn path=/trunk/; revision=25244
* Use ngettext for handling plural forms throughout (fixes bug 53464).Danilo Ĺ egan2004-03-241-6/+12
| | | | svn path=/trunk/; revision=25168
* Fixes #51948JP Rosevear2004-03-241-19/+24
| | | | | | | | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> Fixes #51948 * gui/dialogs/meeting-page.c (button_press_event): compile this again, determine the row with a different method (button_press_event): pass mpage (meeting_page_construct): listen for button press event * gui/e-meeting-list-view.c: remove commit that wasn't supposed to go in svn path=/trunk/; revision=25167
* remove unused variableJP Rosevear2004-03-241-1/+0
| | | | | | | | | | | | | | | | | | 2004-03-23 JP Rosevear <jpr@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source): remove unused variable * gui/e-cal-model.c (e_cal_model_copy_component_data): make the precondition return NULL * gui/control-factory.c (get_prop): make sure this code isn't reached * gui/calendar-component.c (calendar_component_peek_source_selector): cast to kill warning svn path=/trunk/; revision=25159
* get the mail alarm description message from "malarm_description" insteadAlfred Peng2004-03-231-1/+1
| | | | | | | | | | | | | | | | | 2004-03-23 Alfred Peng <alfred.peng@sun.com> * gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): get the mail alarm description message from "malarm_description" instead of "dalarm_description". 2004-03-23 Alfred Peng <alfred.peng@sun.com> * gui/alarm-notify/alarm-queue.c (audio_notification): If there is no attachment for a audio reminder, only a message window shows up. Get a beep sound even without attachment for audio reminder. svn path=/trunk/; revision=25154
* create an ESourceSelector instead of a ESourceOptionMenu, to be consistentRodrigo Moya2004-03-191-8/+18
| | | | | | | | | | | | | 2004-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/select-source-dialog.c (select_source_dialog): create an ESourceSelector instead of a ESourceOptionMenu, to be consistent with the other components, and create a scrolled window to hold the source selector. (primary_selection_changed_cb): callback for "primary_selection_changed" signal in the ESourceSelector. svn path=/trunk/; revision=25120
* Capitalized words changed. Solves 48115.hpnadig2004-03-172-3/+3
| | | | | | | | | | | | 2004-03-17 hpnadig <hp@ndeepak.info> * gui/dialogs/task-page.glade: Capitalized words changed. Solves 48115. * gui/dialogs/task-details-page.glade: s/Date Completed/Date completed. * gui/e-calendar-table.etspec: Capitalization checked. Solves 48130. svn path=/trunk/; revision=25099
* new dialog for allowing the user to select a source.Rodrigo Moya2004-03-174-69/+135
| | | | | | | | | | | | | | | 2004-03-16 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/select-source-dialog.[ch]: new dialog for allowing the user to select a source. * gui/dialogs/copy-source-dialog.c (copy_source_dialog): use the select_source_dialog function to ask user for the source to use. (source_selected_cb): removed unneeded function. * gui/dialogs/Makefile.am: added new files. svn path=/trunk/; revision=25093
* use right cast macroJP Rosevear2004-03-161-1/+1
| | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets): use right cast macro svn path=/trunk/; revision=25077
* Rename e-cal-view to e-calendar-view and fix includesJP Rosevear2004-03-161-3/+2
| | | | | | | | | | | | | | | 2004-03-15 JP Rosevear <jpr@ximian.com> * Rename e-cal-view to e-calendar-view and fix includes * gui/dialogs/comp-editor-page.c (comp_editor_page_fill_widgets): pre-conditions should return FALS * gui/e-cal-model.c (copy_ecdv): return the new struct * gui/Makefile.am: build renamed files svn path=/trunk/; revision=25075
* Fixes #48106Rodrigo Moya2004-03-091-1/+2
| | | | | | | | | | 2004-03-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #48106 * gui/dialogs/alarm-page.glade: s/Send an Email/Send an email. svn path=/trunk/; revision=24994
* Fixes #53496Rodrigo Moya2004-03-051-0/+2
| | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #53496 * gui/dialogs/cal-prefs-dialog.glade: set the same spacing for all tabs in the notebook. svn path=/trunk/; revision=24966
* always add the page.Rodrigo Moya2004-03-042-17/+11
| | | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_append_page): always add the page. * gui/dialogs/event-page.c (event_page_fill_widgets): continue filling up all other fields even if there are missing ones, and return the validation result. svn path=/trunk/; revision=24965
* Fixes #53137Rodrigo Moya2004-03-0410-21/+48
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Rodrigo Moya <rodrigo@ximian.com> Fixes #53137 * gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual method return a gboolean. (comp_editor_page_fill_widgets): return value from virtual method implementation. * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets): * gui/dialogs/schedule-page.c (schedule_page_fill_widgets): * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): * gui/dialogs/task-page.c (task_page_fill_widgets): * gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value, as expected from the virtual method signature. * gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the page if there was an error calling the fill_widgets method. svn path=/trunk/; revision=24960
* Instead of saying "Select destination source", we now say "... calendar"Hans Petter Jansson2004-02-131-1/+7
| | | | | | | | | | 2004-02-12 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): Instead of saying "Select destination source", we now say "... calendar" or "... task list", based on object type. svn path=/trunk/; revision=24730
* See #51567 use "gtk_dialog_add_buttons" to change the response_id ofBruce Tao2004-02-121-2/+3
| | | | | | | | | | | 2004-02-13 Bruce Tao <bruce.tao@sun.com> See #51567 * gui/dialogs/delete-comp.c (delete_component_dialog): use "gtk_dialog_add_buttons" to change the response_id of button "YES" and "NO". svn path=/trunk/; revision=24719
* make OK button defaultRadek Doulik2004-02-061-1/+33
| | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * gui/dialogs/calendar-setup.glade: make OK button default svn path=/trunk/; revision=24645
* Convert the calendar_config_get_timezone andJP Rosevear2004-02-066-26/+10
| | | | | | | | | | | 2004-02-05 JP Rosevear <jpr@ximian.com> * Convert the calendar_config_get_timezone and icaltimezone_get_builtin_timezone pair to just calendar_config_get_icaltimezone, this also guarantees we will have some timezone (even if its just UTC) svn path=/trunk/; revision=24642
* make failure not so draconian - make the color blackJP Rosevear2004-02-061-5/+1
| | | | | | | | | | | 2004-02-05 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (set_color_picker): make failure not so draconian - make the color black Fixes #53547 svn path=/trunk/; revision=24635
* change the access key for adding a reminder from Alt+a to Alt+d to avoidHarry Lu2004-02-041-2/+56
| | | | | | | * gui/dialogs/alarm-page.glade: change the access key for adding a reminder from Alt+a to Alt+d to avoid conflict with the menuitem. svn path=/trunk/; revision=24604
* Fix location of e-activity-handler.h #includeDan Winship2004-02-041-0/+1
| | | | | | | | | | | | * gui/tasks-component.h: Fix location of e-activity-handler.h #include * gui/Makefile.am (INCLUDES): add widgets/misc for e-activity-handler.h and e-task-bar.h * gui/dialogs/Makefile.am (INCLUDES): Likewise svn path=/trunk/; revision=24589
* CV Fixes #51871Gary Ekker2004-01-301-0/+4
| | | | | | | | | | | CV Fixes #51871 * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): add activate handler for name_entry (calendar_setup_edit_task_list): ditto : ---------------------------------------------------------------------- svn path=/trunk/; revision=24540
* Fixes #53276Rodrigo Moya2004-01-271-18/+40
| | | | | | | | | | | | | | 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53276 * gui/dialogs/copy-source-dialog.c (show_error): new function to create an error message dialog. (copy_source): check if the destination calendar is read only, and if so, don't try to copy components over. Fixed leaks. Call show_error to display meaningful error messages. svn path=/trunk/; revision=24456
* Fixes #53338Rodrigo Moya2004-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53338 * gui/dialogs/calendar-setup.c (dialog_to_source): set the relative URI on the source for remote sources. 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #52312 * gui/dialogs/calendar-setup.c (create_new_source_with_group): * gui/migration.c (migrate_ical_folder, create_calendar_sources, create_task_sources): set the relative URI for local calendars and task lists to be the source UID. svn path=/trunk/; revision=24446
* added 'ECalSourceType' argument to be able to create the ECal correctly.Rodrigo Moya2004-01-221-16/+18
| | | | | | | | | | | | | 2004-01-21 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/calendar-setup.c (create_new_source_with_group): added 'ECalSourceType' argument to be able to create the ECal correctly. Added a call to e_cal_open with 'only_if_exists' set to FALSE so that the backend creates the calendar. (new_calendar_finish, new_task_list_finish): pass new argument to create_new_source_with_group. svn path=/trunk/; revision=24352
* just use the convienence function for the default gconf client (fixesJP Rosevear2004-01-211-2/+1
| | | | | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just use the convienence function for the default gconf client (fixes leak) (calendar_setup_new_task_list): ditto (new_task_list_finish): we don't support task uri's svn path=/trunk/; revision=24346
* just use the convienence function for the default gconf client (fixesJP Rosevear2004-01-211-8/+2
| | | | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (calendar_setup_new_calendar): just use the convienence function for the default gconf client (fixes leak) (calendar_setup_new_task_list): ditto svn path=/trunk/; revision=24345
* only block widgets that existJP Rosevear2004-01-211-8/+14
| | | | | | | | | 2004-01-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): only block widgets that exist svn path=/trunk/; revision=24344
* convert to GObjectJP Rosevear2004-01-171-0/+7
| | | | | | | | | | | | | | | | | | | | | 2004-01-16 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.h: convert to GObject * gui/e-comp-editor-registry.c (registry_data_free): routine to free the registry data (dispose): destroy the registry data (finalize): finalize it (class_init): setup above (init): create full hash table (e_comp_editor_registry_add): weak ref the editor and strdup the hash table key (editor_destroy_cb): we get the registry data now, just remove it * gui/dialogs/comp-editor.c (close_dialog): disconnect the signal handlers, its a bit of a hack but it is a simple fix svn path=/trunk/; revision=24277
* Fixes #52920Rodrigo Moya2004-01-161-2/+2
| | | | | | | | 2004-01-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #52920 svn path=/trunk/; revision=24268
* reverted my changes made on Jan 8th.Rodrigo Moya2004-01-161-19/+2
| | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c: reverted my changes made on Jan 8th. svn path=/trunk/; revision=24256
* add e-pub-utils.[ch] for Free/Busy publishingGary Ekker2004-01-137-41/+1696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-12 Gary Ekker <gekker@novell.com> * gui/Makefile.am: add e-pub-utils.[ch] for Free/Busy publishing * gui/apps_evolution_calendar.schemas.in.in: add schema for /apps/evo/calendar/free_busy key * gui/calendar-commands.c (publish_freebusy_cmd): change to publish component rather than attach as email * gui/calendar-config-keys.h: add free_busy/urls key definition * gui/calendar-config.[ch] (calendar_config_get_free_busy): new method for retrieving FB gconf key (calendar_config_set_free_busy): new method for saving FB gconf key * gui/e-cal-view.c (on_publish): change to publish component rather than attach as email * gui/itip-utils.[ch] (itip_publish_begin): new method to process e_cal_components and aggregate the data if we are publishing for multiple calendars (itip_publish_comp): new method to publish the ical data to an http server via libsoup (comp_fb_normalize): new static method to ensure rfc 2446 compliant data before publishing icalcomponent_get_uid (fb_sort): new static method to sort FB properties in ascending order * gui/dialogs/Makefile.am: add url-editor-dialog.[ch] and url-editor-dialog.glade for configure FB publishing * gui/dialogs/cal-prefs-dialog.[ch] (cal_prefs_dialog_url_add_clicked): (cal_prefs_dialog_url_edit_clicked):new method for events in FB tab of cal-prefs-dialog (cal_prefs_dialog_url_remove_clicked): ditto (cal_prefs_dialog_url_enable_clicked): ditto (cal_prefs_dialog_url_url_list_change): ditto (cal_prefs_dialog_url_url_list_enable_toggled): ditto (cal_prefs_dialog_url_url_list_double_click): ditto (show_fb_config): new method for updating dialog with FB specific data in gconf (update_fb_config): new method for updating gconf with FB specific data from dialogs (setup_changes): detect changes in url_list gtk_tree_view (get_widgets): include new dialog widgets for FB config (init_widgets): connect signals for new FB config widgets * gui/dialogs/cal-prefs-dialog.glade: add new widgets for FB config * gui/dialogs/url-editor-dialog.[ch]: add files for FB url-editor dialog * gui/dialogs/url-editor-dialog.glade: ditto * gui/e-pub-utils.[ch]: add files with FB publishing utilities * gui/calendar-component.c (init_calendar_publishing): sets up listeners to publish calendar, g_idle_add, and on gconf change (init_calendar_publishing_cb): ditto (conf_changed_callback): ditto (impl_createControls): ditto svn path=/trunk/; revision=24190
* Revert William McCann's patch of 2003-12-19 until we can get consistentJP Rosevear2004-01-1319-3570/+2487
| | | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * Revert William McCann's patch of 2003-12-19 until we can get consistent across all of evolution svn path=/trunk/; revision=24177
* Only update dialog widgets if they exist.Hans Petter Jansson2004-01-121-2/+4
| | | | | | | | | 2004-01-12 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/calendar-setup.c (source_to_dialog): Only update dialog widgets if they exist. svn path=/trunk/; revision=24169
* calendar_config -> calendar_setup. (edit_calendar_cb): Ditto.Hans Petter Jansson2004-01-106-218/+696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (new_calendar_cb): calendar_config -> calendar_setup. (edit_calendar_cb): Ditto. (impl_requestCreateItem): Ditto. * gui/tasks-component.c (new_task_list_cb): Use calendar_setup. (edit_task_list_cb): Implement properties callback. (rename_task_list_cb): Remove. (fill_popup_menu_cb): Remove "rename" and add "properties". (impl_requestCreateItem): Use calendar_setup. * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): calendar_config -> calendar_setup. Remove new-task-list.[ch]. (glade_DATA): calendar_config -> calendar_setup. Remove new-task-list.glade. * gui/dialogs/new-task-list.[ch]: Remove. * gui/dialogs/calendar-config.[ch]: Rename to calendar-setup.[ch]. * gui/dialogs/calendar-config.glade: Rename to calendar-setup.glade. svn path=/trunk/; revision=24139
* Call calendar_config_new_calendar(). (rename_calendar_cb): Remove.Hans Petter Jansson2004-01-105-277/+1545
| | | | | | | | | | | | | | | | | | | | | 2003-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (new_calendar_cb): Call calendar_config_new_calendar(). (rename_calendar_cb): Remove. (edit_calendar_cb): Implement properties callback. (fill_popup_menu_cb): Add "Properties..." item and remove "Rename". * gui/dialogs/Makefile.am (libcal_dialogs_la_SOURCES): Add calendar-config.[ch] and remove new-calendar.[ch]. (glade_DATA): Add calendar-config.glade and remove new-calendar.glade. * gui/dialogs/calendar-config.[ch]: Implement calendar creation and editing. * gui/dialogs/calendar-config.glade: Add GUI for above. svn path=/trunk/; revision=24135
* moved the line that sets priv->updating to FALSE up some lines, to avoidRodrigo Moya2004-01-081-4/+21
| | | | | | | | | | | | 2004-01-08 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (save_comp): moved the line that sets priv->updating to FALSE up some lines, to avoid getting callbacks with an incorrect value on it. (obj_modified_cb): check the UIDs of the objects we get passed to see if the one being edited is amongst them. svn path=/trunk/; revision=24108
* we don't put any signal handlers on the client or source client now, butJP Rosevear2004-01-071-60/+90
| | | | | | | | | | | | | | | | | 2004-01-06 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_finalize): we don't put any signal handlers on the client or source client now, but we do on the view (real_set_e_cal): no signal handlers on the client (obj_modified_cb): we are guaranteed this is a signal for our component (obj_removed_cb): ditto (listen_for_changes): listen for changes on the object (save_comp): use above since the source_client changed (real_edit_comp): use above since the comp changed svn path=/trunk/; revision=24067
* fix the signal nameJP Rosevear2003-12-252-23/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-24 JP Rosevear <jpr@ximian.com> * gui/e-select-names-renderer.c (esnr_start_editing): fix the signal name * gui/dialogs/meeting-page.glade: add Add Attendee button * gui/dialogs/meeting-page.c (get_widgets): extract add button (add_clicked_cb): edit the attendee after we add it (init_widgets): listen for add clicked (meeting_page_construct): the add button is in the glade file now * gui/e-select-names-editable.c (esne_start_editing): activate the control (e_select_names_editable_get_address): handle null dest (e_select_names_editable_get_name): ditto * gui/e-meeting-store.h: add proto * gui/e-meeting-store.c (e_meeting_store_find_attendee_path): create the path to a given attendee * gui/e-meeting-list-view.h: add proto * gui/e-meeting-list-view.c (e_meeting_list_view_edit): start editing the address of a particular svn path=/trunk/; revision=24009
* new files for managing interactive authentication with backends.Rodrigo Moya2003-12-223-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-22 Rodrigo Moya <rodrigo@ximian.com> * common/authentication.[ch]: new files for managing interactive authentication with backends. * common/Makefile.am: build new private library. * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): * gui/dialogs/event-page.c (source_changed_cb): * gui/dialogs/task-page.c (source_changed_cb): * gui/dialogs/copy-source-dialog.c (copy_source): * gui/calendar-component.c (setup_create_ecal): * gui/calendar-offline-handler.c (backend_go_offline, backend_go_online, calendar_offline_handler_init): * gui/comp-editor-factory.c (open_client): * gui/e-itip-control.c (start_calendar_server): * gui/e-tasks.c (e_tasks_add_todo_uri): * gui/gnome-cal.c (gnome_calendar_construct, gnome_calendar_add_event_uri): * gui/tasks-component.c (setup_create_ecal): * importers/icalendar-importer.c (load_file_fn, vcal_load_file_fn, gnome_calendar_import_data_fn): create the ECal's via the auth_new_cal_from* functions in the authentication module. * gui/alarm-notify/Makefile.am: * gui/Makefile.am: * importers/Makefile.am: link new private library. * Makefile.am: added new directory to the build. svn path=/trunk/; revision=23999
* rewrite for new ecal api, cache all ecal's by type and minimize loading.JP Rosevear2003-12-224-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-21 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.[hc]: rewrite for new ecal api, cache all ecal's by type and minimize loading. Switch to using the source option menu * conduits/todo/todo-conduit.c (start_calendar_server): ditto * conduits/calendar/calendar-conduit.c (start_calendar_server): use ECalSourceType * importers/icalendar-importer.c (load_file_fn): ditto (vcal_load_file_fn): ditto (gnome_calendar_import_data_fn): ditto * gui/dialogs/task-page.c (source_changed_cb): ditto * gui/dialogs/event-page.c (source_changed_cb): ditto * gui/dialogs/copy-source-dialog.h: update proto * gui/dialogs/copy-source-dialog.c (copy_source_dialog): ditto * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): ditto * gui/tasks-component.c (copy_task_list_cb): ditto (setup_create_ecal): ditto * gui/gnome-cal.c (gnome_calendar_construct): ditto (gnome_calendar_add_event_uri): ditto * gui/e-tasks.c (e_tasks_add_todo_uri): ditto * gui/comp-editor-factory.c (open_client): ditto * gui/calendar-offline-handler.c (backend_go_offline): ditto (backend_go_online): ditto (calendar_offline_handler_init): ditto * gui/calendar-component.c (copy_calendar_cb): ditto (setup_create_ecal): ditto * gui/print.c (print_month_small): don't pass type to e_cal_generate_instances (print_day_details): ditto (print_week_summary): ditto * gui/tag-calendar.c (tag_calendar_by_client): ditto svn path=/trunk/; revision=23994
* Remove separators from dialogs. Use frame style recommended by the HIG.William Jon McCann2003-12-2019-2487/+3570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-19 William Jon McCann <mccann@jhu.edu> * gui/dialogs/task-page.c (source_changed_cb): * gui/dialogs/send-comp.c (send_component_dialog): * gui/dialogs/save-comp.c (save_component_dialog): * gui/dialogs/recur-comp.c (recur_component_dialog): * gui/dialogs/event-page.c (source_changed_cb): * gui/dialogs/delete-error.c (delete_error_dialog): * gui/dialogs/delete-comp.c (delete_component_dialog): * gui/dialogs/changed-comp.c (changed_component_dialog): * gui/dialogs/cancel-comp.c (cancel_component_dialog): * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/event-page.glade: * gui/dialogs/new-calendar.glade: * gui/dialogs/new-task-list.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/task-details-page.glade: * gui/dialogs/task-page.glade: * gui/tasks-control.c (confirm_purge): * gui/tasks-component.c (delete_task_list_cb) (rename_task_list_cb, setup_create_ecal): * gui/goto-dialog.glade: * gui/e-cal-model-tasks.c (show_geo_warning): * gui/comp-editor-factory.c (cal_opened_cb): * gui/calendar-component.c (delete_calendar_cb) (rename_calendar_cb, setup_create_ecal, delete_calendar_cb): * gui/calendar-commands.c (purge_cmd): Remove separators from dialogs. Use frame style recommended by the HIG. svn path=/trunk/; revision=23989
* Add the concept of a source client, where the object lives currently. TheHans Petter Jansson2003-12-187-5/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-17 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/comp-editor.c: Add the concept of a source client, where the object lives currently. The plain client is where it will be stored. (comp_editor_finalize): If we have a source client, disconnect from and unref it. (save_comp): Check if the object is being moved, and if so, remove it from the source client, and make the target client the new source. (comp_editor_append_page): Connect to client_changed signal. (real_set_e_cal): Change an old gtk_signal_disconnect_by_data() to the GLib equivalent, and don't cast ECal to GtkObject. If the source client is not set, make it equivalent to the target client. (page_client_changed_cb): Implement. Handles a client change. * gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): Add a new signal, "client_changed", that notifies that the ECal client was changed from one of the editor pages. (comp_editor_page_set_e_cal): Fix two bugs in this function; if the same client is set twice, its ref count could drop to 0. Additionally, it was unreffing the new client instead of the old one. (comp_editor_page_notify_client_changed): Implement. * gui/dialogs/event-page.c (event_page_fill_widgets): Fill in the source menu. (get_widgets): Get the source menu. (source_changed_cb): Implement. Try to open a client for the new source, and if successful, notify of the change. Show a dialog on failure, and revert to last selected source. (init_widgets): Connect to source menu. (event_page_create_source_option_menu): Implement Glade helper. * gui/dialogs/task-page.c (task_page_fill_widgets): Fill in the source menu. (get_widgets): Get the source menu. (source_changed_cb): Implement, similar to the event page, but for tasks. (init_widgets): Connect to source menu. (task_page_construct): Fix a message booboo. (task_page_create_source_option_menu): Implement Glade helper. * gui/dialogs/event-page.glade: Add source menu widget. * gui/dialogs/task-page.glade: Add source menu widget. svn path=/trunk/; revision=23974
* Fixes #46351Carl Sun2003-12-081-0/+2
| | | | | | | | | | | | 2003-12-08 Carl Sun <carl.sun@sun.com> Fixes #46351 * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate): new function. override the member function of GtkWidget to handle nemonic_activate signal of custom class ETimezoneEntry. svn path=/trunk/; revision=23673
* *** empty log message ***Rodrigo Moya2003-12-061-3/+3
| | | | svn path=/trunk/; revision=23650
* commit the patch of Sun YongAntonio Xu2003-12-052-2/+2
| | | | | | | | | | | | | | | 2003-12-05 Antonio Xu <antonio.xu@Sun.com> commit the patch of Sun Yong Fix for #51337 * gui/dialogs/alarm-page.c Change raw string "Action/Trigger" to _("Action/Trigger") * gui/dialogs/recurrence-page.c Change raw string "Date/Time" to _("Date/Time") svn path=/trunk/; revision=23646
* added a label to the dialog to make it look less ugly.Rodrigo Moya2003-12-021-0/+1
| | | | | | | | | 2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added a label to the dialog to make it look less ugly. svn path=/trunk/; revision=23578
* added a label to the dialog to make it look less ugly.Rodrigo Moya2003-12-021-1/+6
| | | | | | | | | 2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added a label to the dialog to make it look less ugly. svn path=/trunk/; revision=23577
* converted to use an ESourceOptionMenu instead of the ESourceSelector.Rodrigo Moya2003-12-021-14/+16
| | | | | | | | | | | | | 2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c: converted to use an ESourceOptionMenu instead of the ESourceSelector. (primary_selection_changed_cb): removed. (copy_source_dialog): create the ESourceOptionMenu here. (source_selected_cb): callback for the "source_selected" signal on the ESourceOptionMenu widget. svn path=/trunk/; revision=23576
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-022-2/+2
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto.Hans Petter Jansson2003-11-271-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-26 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-offline-handler.c (backend_go_offline): e_cal_new () -> e_cal_new_from_uri (). (backend_go_online): Ditto. (calendar_offline_handler_init): Ditto. * gui/comp-editor-factory.c (open_client): Ditto. * gui/e-itip-control.c (start_calendar_server): Ditto. (object_requested_cb): Ditto. * gui/e-tasks.c (e_tasks_add_todo_uri): Ditto. * gui/gnome-cal.c (gnome_calendar_construct): Ditto. (gnome_calendar_add_event_uri): Ditto. * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar): Ditto. * importers/icalendar-importer.c (load_file_fn): Ditto. (vcal_load_file_fn): Ditto. (gnome_calendar_import_data_fn): Ditto. * gui/dialogs/copy-source-dialog.c (copy_source): Pass sources to e_cal_new (). svn path=/trunk/; revision=23498
* use the correct icalcomponent when calling e_cal_create_object.Rodrigo Moya2003-11-241-1/+1
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source): use the correct icalcomponent when calling e_cal_create_object. svn path=/trunk/; revision=23482
* new files containing the implementation of the 'New Task List' dialog.Rodrigo Moya2003-11-245-3/+370
| | | | | | | | | | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/new-task-list.glade: * gui/dialogs/new-task-list.[ch]: new files containing the implementation of the 'New Task List' dialog. * gui/dialogs/Makefile.am: added new files. * gui/dialogs/new-calendar.c (new_calendar_dialog): use G_STRLOC for g_warning messages. * gui/tasks-component.c (new_task_list_cb): implemented. svn path=/trunk/; revision=23478
* actually add the source selector to the dialog's box.Rodrigo Moya2003-11-241-0/+3
| | | | | | | | | 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): actually add the source selector to the dialog's box. svn path=/trunk/; revision=23475
* fixed compilation errors.Rodrigo Moya2003-11-243-4/+8
| | | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-dialog-source.[ch]: fixed compilation errors. * gui/dialogs/Makefile.am: added missing header directories. svn path=/trunk/; revision=23472
* fixed copyright notices.Rodrigo Moya2003-11-245-6/+192
| | | | | | | | | | | | | | | | | | | 2003-11-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/new-calendar.[ch]: fixed copyright notices. * gui/dialogs/copy-source-dialog.[ch]: implementation of the Copy command for sources. * gui/dialogs/Makefile.am: added new files. * gui/calendar-component.c (fill_popup_menu_cb, copy_calendar_cb): added Copy command. * gui/tasks-component.c (fill_popup_menu_cb, copy_task_list_cb): added Copy command. svn path=/trunk/; revision=23471
* Remove a bunch of gal includes that are no longer neededJP Rosevear2003-11-2017-26/+2
| | | | | | | | 2003-11-20 JP Rosevear <jpr@ximian.com> * Remove a bunch of gal includes that are no longer needed svn path=/trunk/; revision=23457
* Cleanup some ref/unref callsJP Rosevear2003-11-1813-48/+48
| | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * Cleanup some ref/unref calls svn path=/trunk/; revision=23412
* Make ending count of occurrences of Recurrence tab numeric only.Harry Lu2003-11-171-0/+1
| | | | | | | | | 2003-11-17 Harry Lu <harry.lu@sun.com> * gui/dialogs/recurrence-page.c (make_ending_count_special): Make ending count of occurrences of Recurrence tab numeric only. svn path=/trunk/; revision=23379
* include e-source* from e-d-sJP Rosevear2003-11-151-1/+1
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/*.[hc]: include e-source* from e-d-s svn path=/trunk/; revision=23364
* remove includes for toplevel libical dirJP Rosevear2003-11-081-1/+0
| | | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: remove includes for toplevel libical dir * gui/dialogs/Makefile.am: ditto * importers/Makefile.am: ditto svn path=/trunk/; revision=23225
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-0733-646/+644
| | | | svn path=/trunk/; revision=23206
* Append "_2". Likewise. Likewise. Likewise. LikewiseEttore Perazzoli2003-11-042-2/+2
| | | | | | | | | | * gui/e-meeting-model.c (SELECT_NAMES_OAFID): Append "_2". * gui/e-select-names-editable.c (SELECT_NAMES_OAFIID): Likewise. * gui/e-meeting-list-view.c (SELECT_NAMES_OAFID): Likewise. * gui/dialogs/alarm-options.c (SELECT_NAMES_OAFID): Likewise. * gui/dialogs/e-delegate-dialog.c (SELECT_NAMES_OAFID): Likewise svn path=/trunk/; revision=23176
* Add the webcal source group.Hans Petter Jansson2003-11-012-44/+210
| | | | | | | | | | | | | | | | | | | | 2003-10-31 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (calendar_component_init): Add the webcal source group. * gui/dialogs/new-calendar.c (print_uri_noproto): Implement. (group_is_remote): Implement. (create_new_source_with_group): Implement webcal case. (new_calendar_dialog): Get optional location from dialog. * gui/dialogs/new-calendar.glade: Add location entry. * pcs/Makefile.am: Build http backend. * pcs/cal-backend-http.[ch]: Add skeleton based on cal-backend-file. svn path=/trunk/; revision=23153
* Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE andDan Winship2003-11-013-15/+30
| | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-util.h: Add CAL_STATIC_CAPABILITY_NO_THISANDFUTURE and CAL_STATIC_CAPABILITY_NO_THISANDPRIOR * gui/dialogs/recur-comp.c (recur_component_dialog): Add a CalClient argument. Use cal_client_get_static_capability to decide whether or not to offer THISANDFUTURE and THISANDPRIOR options * gui/dialogs/comp-editor.c (prompt_to_save_changes, save_cmd, save_close_cmd): Pass a CalClient to recur_component_dialog. * gui/e-day-view.c (e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editing_stopped, e_day_view_on_top_canvas_drag_data_received, e_day_view_on_main_canvas_drag_data_received): Likewise * gui/e-week-view.c (e_week_view_on_editing_stopped): Likewise * gui/calendar-component.c (impl_createControls): set an exception if we fail, so evo won't crash. svn path=/trunk/; revision=23152
* build new filesJP Rosevear2003-10-301-3/+15
| | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/Makefile.am: build new files * gui/dialogs/comp-editor-util.c (date_edit_destroy_cb): unref the config manager (comp_editor_new_date_edit): set up a config manager for the date editor * gui/e-date-edit-config.[hc]: config manager for e-date-edit svn path=/trunk/; revision=23122
* no need to update config settings everywhere explicitlyJP Rosevear2003-10-291-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (update_config): no need to update config settings everywhere explicitly * gui/tasks-component.c (update_uris_for_selection): cast the widget * gui/gnome-cal.h: remove proto * gui/gnome-cal.c (setup_widgets): don't update config settings explicitly (gnome_calendar_update_config_settings): kill * gui/e-week-view.c: remove null chars * gui/e-tasks.h: remove proto * gui/e-tasks.c (set_timezone): set the timezone on the client (timezone_changed_cb): changed timezone callback (setup_config): setup config stuff (e_tasks_init): setup config and widgets here (e_tasks_new): construct is dead, no need to track all widgets (cal_opened_cb): set the timezone upon opening (e_tasks_update_all_config_settings): kill * gui/control-factory.c (control_factory_new_control): create the calendar ourselves * gui/calendar-config.c (on_timezone_set): don't update the settings everywhere here, we have config managers now * gui/calendar-component.c (impl_createControls): create the calendar ourselves * gui/calendar-commands.h: remove protos * gui/calendar-commands.c: remove dead functions svn path=/trunk/; revision=23117
* unref config manager (init_widgets): create config manager for theJP Rosevear2003-10-291-2/+9
| | | | | | | | | | | | | | | | | | | | 2003-10-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref config manager (init_widgets): create config manager for the e-calendar * gui/e-tasks.c (setup_widgets): create config manager for the table view (e_tasks_destroy): unref config manager (e_tasks_open): return FALSE not NULL (e_tasks_update_all_config_settings): don't configure the calendar table here, we have a manager * gui/calendar-config.c: remove dead config functions (handled by config managers now) svn path=/trunk/; revision=23115
* Make the scrolled window have a GTK_SHADOW_IN shadow. Likewise.Ettore Perazzoli2003-10-231-0/+1
| | | | | | | | * gui/calendar-component.c (impl_createControls): Make the scrolled window have a GTK_SHADOW_IN shadow. * gui/dialogs/meeting-page.c (meeting_page_construct): Likewise. svn path=/trunk/; revision=22994
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-2217-103/+490
| | | | svn path=/trunk/; revision=22966
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-222-17/+20
| | | | svn path=/trunk/; revision=22965
* INCLUDE path fixes for changes made to libical build.Jeffrey Stedfast2003-10-103-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * cal-client/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/Makefile.am: INCLUDE path fixes for changes made to libical build. * cal-util/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/*.[c,h]: #include <libical/ical.h> instead of <ical.h> * gui/alarm-notify/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/alarm-notify/config-data.h: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/Makefile.am: INCLUDE path fixes for changes made to libical build. * gui/dialogs/comp-editor-util.c: #include <libical/ical.h> instead of <ical.h> * gui/dialogs/e-delegate-dialog.c: #include <libical/ical.h> instead of <ical.h> * importers/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/Makefile.am: INCLUDE path fixes for changes made to libical build. * pcs/cal.c: #include <libical/ical.h> instead of <ical.h> svn path=/trunk/; revision=22845
* Make repeat-quantity and repeat-value of alarm option dialog numeric only.Harry Lu2003-10-082-3/+3
| | | | | | | | | | | 2003-10-08 Harry Lu <harry.lu@sun.com> * gui/dialogs/alarm-options.glade: Make repeat-quantity and repeat-value of alarm option dialog numeric only. * gui/dialogs/task-details-page.glade: Make percent-complete of task details dialog numeric only. svn path=/trunk/; revision=22818
* new VOID:STRING,STRING,STRING build the new view/store/renderer/editableMike Kestner2003-10-018-243/+115
| | | | | | | | | | | | | | | | | | | | | 2003-09-30 Mike Kestner <mkestner@ximian.com> * cal-util/cal-util-marshal.list : new VOID:STRING,STRING,STRING * gui/Makefile.am : build the new view/store/renderer/editable * gui/e-select-names-renderer.* : new completion cell renderer * gui/e-select-names-editable.* : new completion cell editable * gui/e-meeting-model.* : killed. code reused in list-view/store * gui/e-meeting-store.* : port of EMeetingModel to GtkTreeModel * gui/e-meeting-list-view.* : GtkTreeView subclass for attendee lists * gui/e-meeting-time-sel.c : Use the new store/view * gui/e-meeting-time-sel-item.c : Use the new store/view * gui/dialogs/Makefile.am : don't install the etspec anymore. * gui/dialogs/event-editor.c : Use the new store/view. * gui/dialogs/meeting-page.c : Use the new store/view. * gui/dialogs/shedule-page.c : Use the new store/view. * gui/dialogs/task-editor.c : Use the new store/view. svn path=/trunk/; revision=22774
* Fixes #29032.Hans Petter Jansson2003-08-281-1/+4
| | | | | | | | | | | | 2003-08-27 Hans Petter Jansson <hpj@ximian.com> Fixes #29032. * gui/dialogs/task-details-page.c (status_changed): When task status is set to "In Progress", set percent complete to 50% only if it was previously set to 0% or 100%. svn path=/trunk/; revision=22395
* ** Fixes #47464.Harry Lu2003-08-121-1/+1
| | | | | | | | | | | 2003-08-12 Harry Lu <harry.lu@sun.com> ** Fixes #47464. * gui/dialogs/meeting-page.c: (get_widgets): The Organizer's value need not match one of the values in the list. svn path=/trunk/; revision=22183
* Merged ECalendarTable changes from new-calendar-branchRodrigo Moya2003-08-081-1/+2
| | | | svn path=/trunk/; revision=22143
* Merge new-calendar-branch into HEADRodrigo Moya2003-08-081-2/+14
| | | | svn path=/trunk/; revision=22129
* changed one of the "Con_fidential" to "Co_nfidential" since we alreadyJack Jia2003-08-061-1/+1
| | | | | | | | | 2003-08-05 Jack Jia <jack.jia@sun.com> * gui/dialogs/event-page.glade: changed one of the "Con_fidential" to "Co_nfidential" since we already have "File" using the same 'F' key. svn path=/trunk/; revision=22097
* Fixes #46769Harry Lu2003-07-291-26/+45
| | | | | | | | | | | | 2003-07-29 Harry Lu <harry.lu@sun.com> Fixes #46769 * gui/dialogs/task-page.c: (task_page_fill_component): Popup a error dialog if due date time is before start datetime when saving a task. svn path=/trunk/; revision=22005
* Fix an unused variableDan Winship2003-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * gui/alarm-notify/alarm-queue.c (on_dialog_obj_updated_cb): Fix an unused variable * gui/calendar-commands.c (purge_cmd): Fix warnings. * gui/calendar-config.h: s/confirm_expunge/confirm_purge/ to match the actual functions * gui/control-factory.c: add some missing #includes * gui/dialogs/delete-comp.c (delete_component_dialog): Fix a warning * gui/e-itip-control.c (write_label_piece): Remove unused variable. * gui/print.c (print_calendar): Remove unused variable (print_comp): Likewise. * gui/tasks-control.c (confirm_purge): Fix warnings. (print_tasks): Remove unused variable. svn path=/trunk/; revision=21905
* Fixes #41676Rodrigo Moya2003-07-151-3/+58
| | | | | | | | | | | | | | | | 2003-07-14 Rodrigo Moya <rodrigo@ximian.com> Fixes #41676 * gui/dialogs/alarm-options.c (palarm_options_changed_cb, repeat_spin_button_changed_cb, repeat_unit_changed_cb): new callbacks for managing modifications in the 'Run a program' alarm case. (repeat_toggle_toggled_cb): if the alarm being edited has a procedure action, call palarm_options_changed_cb. (init_widgets): connect new callbacks. (alarm_to_dialog): disable 'OK' button if a procedure alarm. svn path=/trunk/; revision=21810
* Changed the "URL:" label to "_Web Page:". Added a widget name to the URLFederico Mena Quintero2003-07-142-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-11 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/task-details-page.glade: Changed the "URL:" label to "_Web Page:". Added a widget name to the URL label so that we can hook up its mnemonic by hand. Added underlines to the "% Complete:" and "Date Completed:" labels. Added a widget name to the date completed label, also so that we can hook up its mnemonic. * gui/dialogs/task-details-page.c (get_widgets): Get the url_label and date_completed_label as well. (init_widgets): Set the mnemonic widgets of the url_label and the date_completed_label by hand, as their respective widgets are not created by libglade. * gui/e-calendar-table.c (tasks_popup_menu): Added an item for "Open Web Page". (e_calendar_table_show_popup_menu): Disable the aforementioned menu item if the selected task doesn't have the URL property set. (open_url_cb): New callback. * gui/e-tasks.c (write_html): Make the HTML say "Web Page:" instead of "URL:". svn path=/trunk/; revision=21805
* Fixes #45910Rodrigo Moya2003-07-071-0/+17
| | | | | | | | | | | | | | | | | 2003-07-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #45910 * gui/dialogs/task-editor.c (task_editor_class_init): set up the handler for the set_cal_client virtual method. (task_editor_set_cal_client): added missing virtual method. 2003-07-07 Jack Jia <jack.jia@sun.com> * cal-client/cal-client.c (cal_client_get_static_capability): add g_return_val_if_fail to check the input param. svn path=/trunk/; revision=21743
* Don't leak exceptions (load_static_capabilities): free the capabilityDan Winship2003-07-022-4/+6
| | | | | | | | | | | | | | * cal-client/cal-client.c (real_open_calendar): Don't leak exceptions (load_static_capabilities): free the capability string * gui/dialogs/task-page.c (task_page_fill_component): Free the description text if it *was* set, rather than if it wasn't. * gui/dialogs/task-editor.c (task_editor_finalize): Free the priv struct. svn path=/trunk/; revision=21722
* added a GtkWindow argument for callers to specify the parent window.Rodrigo Moya2003-06-3012-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-27 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.[ch] (send_component_dialog): * gui/dialogs/cancel-comp.[ch] (cancel_component_dialog): added a GtkWindow argument for callers to specify the parent window. * gui/dialogs/changed-comp.[ch] (changed_component_dialog): added 'parent' argument and use GtkMessageDialog instead of gnome_question_dialog. * gui/e-calendar-table.c (e_calendar_table_delete_selected): * gui/e-day-view.c (e_day_view_delete_event_internal, e_day_view_on_cut, e_day_view_finish_long_event_resize, e_day_view_finish_resize, e_day_view_on_editting_stopped, e_day_view_on_top_canvas_drag_data_received, selection_received): * gui/e-week-view.c (e_week_view_delete_event_internal, e_week_view_on_cut, e_week_view_on_editing_stopped, selection_received): * gui/dialogs/event-editor.c (cancel_meeting_cmd): * gui/dialogs/task-editor.c (cancel_task_cmd): * gui/dialogs/comp-editor.c (delete_cmd, obj_removed_cb): pass the parent window to the *_component_dialog() functions. * gui/dialogs/delete-comp.c (delete_component_dialog): use the 'widget' argument to get the parent window for the dialog. svn path=/trunk/; revision=21684
* Fixes #44723Rodrigo Moya2003-06-271-0/+42
| | | | | | | | | | | | | | | 2003-06-25 Rodrigo Moya <rodrigo@ximian.com> Fixes #44723 * gui/dialogs/alarm-page.c: added a new field to the private structure to keep track of the old summary. (alarm_page_init): initialize new field. (alarm_page_finalize): free new field. (alarm_page_set_summary): iterate over the list of alarms to change their description if it was the same as the event's summary. svn path=/trunk/; revision=21561
* new functions. (page_summary_changed_cb): change the window title when theRodrigo Moya2003-06-241-0/+50
| | | | | | | | | | | 2003-06-23 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_string, set_title_from_string): new functions. (page_summary_changed_cb): change the window title when the object's summary changes. svn path=/trunk/; revision=21523
* removed unused variable.Rodrigo Moya2003-06-201-1/+1
| | | | | | | | | 2003-06-16 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): removed unused variable. svn path=/trunk/; revision=21494
* unref not ref the clientJP Rosevear2003-05-231-1/+1
| | | | | | | | | 2003-05-22 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref not ref the client svn path=/trunk/; revision=21323
* Fixes #41234Rodrigo Moya2003-05-221-7/+8
| | | | | | | | | | 2003-05-21 Rodrigo Moya <rodrigo@ximian.com> Fixes #41234 * gui/dialogs/e-delegate-dialog.glade: changed button ordering. svn path=/trunk/; revision=21307
* Change this dialog from using a gnome_message_box (which has beenAnna Marie Dirks2003-05-211-17/+20
| | | | | | | | | | | 2003-05-20 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): Change this dialog from using a gnome_message_box (which has been deprecated), to using a gtk_message_dialog. This HIG-ifies this dialog, and fixes bug #42046. svn path=/trunk/; revision=21285
* Added HIG-blessed padding to (some of) the widgets in the dialog.Anna Marie Dirks2003-05-202-4/+4
| | | | | | | | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Added HIG-blessed padding to (some of) the widgets in the dialog. * gui/dialogs/meeting-page.glade: Added HIG-blessed border width and spacing to the meeting page of the event editor. * gui/dialogs/schedule-page.glade: Added HIG-blessed border width to the schedule page on the event editor. svn path=/trunk/; revision=21256
* the title is already in UTF-8JP Rosevear2003-05-181-4/+1
| | | | | | | | | 2003-05-16 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (make_title_from_comp): the title is already in UTF-8 svn path=/trunk/; revision=21235
* unref the client and the ui componentJP Rosevear2003-05-161-2/+8
| | | | | | | | | 2003-05-15 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_finalize): unref the client and the ui component svn path=/trunk/; revision=21211
* fix button conversion problemJP Rosevear2003-05-082-17/+2
| | | | | | | | | | | | 2003-05-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-page.glade: fix button conversion problem * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): only free the percent if its non-null svn path=/trunk/; revision=21128
* unref the model again (task_editor_edit_comp): don't allow editing if theJP Rosevear2003-05-024-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-01 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): unref the model again (task_editor_edit_comp): don't allow editing if the assignee has delegated * gui/dialogs/meeting-page.c (popup_delete_cb): set the new non-delegator to be editable * gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow editing if the attendee has delegated (event_editor_finalize): unref the model again * gui/e-meeting-model.c: remove e-table-without related functions (finalize): don't create without table (e_meeting_model_etable_from_model): build the table with this as model (e_meeting_model_etable_model_to_view_row): directly use the model_to_view call (e_meeting_model_etable_view_to_model_row): as above (attendee_changed_cb): make sure pre change is alwasy called * gui/e-meeting-model.h: use DECLS, remove protos for long dead functions, don't include config.h svn path=/trunk/; revision=21045
* dittoJP Rosevear2003-04-302-2/+10
| | | | | | | | | | | | | | 2003-04-29 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-editor.c (task_editor_finalize): ditto * gui/dialogs/event-editor.c (event_editor_finalize): don't unref the model here * gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null up the display_top and display_main for re-entrancy purposes svn path=/trunk/; revision=21018
* Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221.Anna Marie Dirks2003-04-291-3/+4
| | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/alarm-options.glade: Added HIG-blessed padding to the alarm options dialog. Fixes bug #41221. svn path=/trunk/; revision=20991
* Added appropriate spacing and padding to the calendar/tasks page of theAnna Marie Dirks2003-04-291-6/+7
| | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Added appropriate spacing and padding to the calendar/tasks page of the settings dialog. Fixes bug #41129 svn path=/trunk/; revision=20990
* Finishes up fixing #41256 by adding appropriate spacing/padding to theAnna Marie Dirks2003-04-292-6/+7
| | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/task-page.glade: Finishes up fixing #41256 by adding appropriate spacing/padding to the main task page. * gui/dialogs/task-details-page.glade: Added appropriate spacing and padding to the task-details page. Partially fixes #41256. svn path=/trunk/; revision=20989
* Added padding/spacing to this page as specified by the HIG. PartiallyAnna Marie Dirks2003-04-293-17/+18
| | | | | | | | | | | | | | | 2003-04-28 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/recurrence-page.glade: Added padding/spacing to this page as specified by the HIG. Partially fixes #41215. * gui/dialogs/alarm-page.glade: Added padding/spacing/stock buttons to the alarm page. Partially fixes #41215. * gui/dialogs/event-page.glade: Added padding/spacing to the event-page (partially fixes #41215) svn path=/trunk/; revision=20988
* Fixes #37552JP Rosevear2003-04-253-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-24 JP Rosevear <jpr@ximian.com> Fixes #37552 * gui/dialogs/Makefile.am: build delete-error.[hc] * gui/e-tasks.c: wrap calls to cal_client_remove_object with delete_error_dialog * gui/e-itip-control.c: ditto * gui/e-calendar-table.c: ditto * gui/e-week-view.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/delete-error.[hc]: gemerate an error message based on result svn path=/trunk/; revision=20961
* Fixes part of #41148, #41216 and #41235Rodrigo Moya2003-04-235-11/+11
| | | | | | | | | | | | | | | | | | | | | | 2003-04-22 Rodrigo Moya <rodrigo@ximian.com> Fixes part of #41148, #41216 and #41235 * gui/e-itip-control.c (init): * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct, e_meeting_time_selector_add_key_color): * gui/e-timezone-entry.c (e_timezone_entry_init): * gui/gnome-cal.c (setup_widgets): * gui/tasks-control.c (confirm_expunge): * gui/dialogs/comp-editor.c (setup_widgets): * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): * gui/dialogs/meeting-page.c (meeting_page_construct): * gui/dialogs/recurrence-page.c (make_weekly_special, make_monthly_special, make_ending_count_special): * gui/dialogs/schedule-page.c (schedule_page_construct): use HIG-suggested spacing. svn path=/trunk/; revision=20927
* [ fixes #21499 ]Rodney Dawes2003-04-192-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* Fixes #41459JP Rosevear2003-04-171-1/+4
| | | | | | | | | | 2003-04-17 JP Rosevear <jpr@ximian.com> Fixes #41459 * gui/dialogs/meeting-page.c: comment out delegation stuff svn path=/trunk/; revision=20880
* Fixes #41129, #41215, #41221, #41256Rodrigo Moya2003-04-1710-2544/+2775
| | | | | | | | | | | | | | | | | | | | | 2003-04-16 Rodrigo Moya <rodrigo@ximian.com> Fixes #41129, #41215, #41221, #41256 * gui/alarm-notify/alarm-notify.glade: * gui/dialogs/alarm-options.glade: * gui/dialogs/alarm-page.glade: * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/e-delegate-dialog.glade: * gui/dialogs/meeting-page.glade: * gui/dialogs/recurrence-page.glade: * gui/dialogs/schedule-page.glade: * gui/dialogs/task-details-dialog.glade: * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: set spacing to 6 pixels everywhere. svn path=/trunk/; revision=20869
* If we already have an evolution_dir, free the old one before setting itHans Petter Jansson2003-04-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-component.c (owner_set_cb): If we already have an evolution_dir, free the old one before setting it anew. * gui/e-day-view-time-item.c (e_day_view_time_item_draw): Unref the metrics. * gui/e-day-view.c (e_day_view_style_set): Unref the metrics. (e_day_view_recalc_cell_sizes): We don't need font metrics here. (e_day_view_reshape_long_event): Ditto. * gui/e-meeting-model.c (init): Don't dup the string passed to e_table_without_hide(). * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): Unref the metrics. (e_meeting_time_selector_recalc_date_form): Doesn't need metrics. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Unref the metrics. * gui/e-week-view.c (e_week_view_style_set): Unref metrics. (e_week_view_recalc_cell_sizes): Ditto. (e_week_view_reshape_event_span): Move Pango stuff to where it can't be leaked due to an early return. Unref metrics. * gui/weekday-picker.c (weekday_picker_style_set): Unref metrics. * gui/dialogs/meeting-page.c (meeting_page_finalize): Free default address. svn path=/trunk/; revision=20857
* Oops. Add this back. Turns out it's still needed by other parts.Dan Winship2003-04-122-0/+15
| | | | | | | * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Oops. Add this back. Turns out it's still needed by other parts. svn path=/trunk/; revision=20821
* Remove the "Contacts" button and entry from here too. Supposed to haveDan Winship2003-04-116-424/+0
| | | | | | | | | | | | | | | | * gui/dialogs/task-page.glade: Remove the "Contacts" button and entry from here too. Supposed to have been part of #35926 * gui/dialogs/task-page.c: Remove all code pertaining to the contacts button * gui/dialogs/comp-editor-util.c: * gui/dialogs/comp-editor-util.h: Likewise * gui/dialogs/Makefile.am (IDL_GENERATED, etc): Remove select-names stuff, which is no longe rused. svn path=/trunk/; revision=20816
* added missing capabilities.Rodrigo Moya2003-04-114-9/+15
| | | | | | | | | | | | | | | | | | | 2003-04-11 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added missing capabilities. * cal-client/cal-client.c (cal_client_get_one_alarm_only, cal_client_get_organizer_must_attend, cal_client_get_save_schedules): * gui/itip-utils.c (itip_organizer_is_user): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/dialogs/task-editor.c (set_menu_sens): * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros defined in cal-util.h for static capabilities. svn path=/trunk/; revision=20815
* unref the main widget since we ref it when we un-parent itJP Rosevear2003-04-117-1/+22
| | | | | | | | | | | | | | | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_finalize): unref the main widget since we ref it when we un-parent it * gui/dialogs/alarm-page.c (alarm_page_finalize): ditto * gui/dialogs/task-page.c (task_page_finalize): ditto * gui/dialogs/event-page.c (event_page_finalize): ditto * gui/dialogs/task-details-page.c (task_details_page_finalize): ditto * gui/dialogs/recurrence-page.c (recurrence_page_finalize): ditto * gui/dialogs/meeting-page.c (meeting_page_finalize): ditto svn path=/trunk/; revision=20811
* Remove button_ok, button_cancel, canceled members from struct Dialog.Ettore Perazzoli2003-04-082-479/+430
| | | | | | | | | | | | | | | | | | | | | * gui/dialogs/alarm-options.c: Remove button_ok, button_cancel, canceled members from struct Dialog. (get_widgets): Do not initialize. (close_dialog): Destroy the toplevel. (toplevel_delete_event_cb): Removed. (button_cancel_clicked_cb): Removed. (button_ok_clicked_cb): Removed. (close_dialog): Removed. (alarm_options_dialog_run): Use gtk_dialog_run. (init_widgets): Do not init ->canceled, do not connect OK/Cancel buttons. (alarm_to_dialog): No need to make the file entry modal from here anymore. * gui/dialogs/alarm-options.glade: Turned into a GtkDialog. Set the "modal" property to True for the file entry. svn path=/trunk/; revision=20749
* Fixes #35926.Hans Petter Jansson2003-04-082-130/+0
| | | | | | | | | | | | | | | | | | | | 2003-04-07 Hans Petter Jansson <hpj@ximian.com> Fixes #35926. * gui/dialogs/event-page.glade: Remove contacts entry/chooser. * gui/dialogs/event-page.c: Remove contacts entry/chooser. (event_page_init): Remove references. (event_page_finalize): Ditto. (event_page_fill_widgets): Ditto. (event_page_fill_component): Ditto. (get_widgets): Ditto. (init_widgets): Ditto. (contacts_clicked_cb): Remove wholesale. (contacts_changed_cb): Ditto. svn path=/trunk/; revision=20731
* create button properlyJP Rosevear2003-04-081-32/+0
| | | | | | | | | | | | | | | 2003-04-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-page.glade: create button properly * gui/itip-utils.c (comp_server_send): for errors other than busy, we want to email the results * pcs/cal-backend.c (cal_backend_ref_categories): insert the new category in the category list as well (idle_notify_categories_changed): reset idle id svn path=/trunk/; revision=20726
* (alarm_to_dialog): Make the fileEttore Perazzoli2003-04-051-0/+6
| | | | | | entry modal. [#40792] svn path=/trunk/; revision=20678
* description is a text buffer (alarm_to_malarm_widgets): dittoJP Rosevear2003-04-051-6/+25
| | | | | | | | | | | | | 2003-04-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/alarm-options.c (alarm_to_dalarm_widgets): description is a text buffer (alarm_to_malarm_widgets): ditto (dalarm_widgets_to_alarm): ditto (malarm_widgets_to_alarm): ditto (alarm_to_repeat_widgets): check repeat status correctly svn path=/trunk/; revision=20677
* Fixes #39954Hans Petter Jansson2003-03-291-4/+4
| | | | | | | | | | | 2003-03-28 Hans Petter Jansson <hpj@ximian.com> Fixes #39954 * gui/dialogs/recurrence-page.c (make_recurrence_special): Destroy would-be children of the container before the container. svn path=/trunk/; revision=20559
* init new members (get_current_account): get a matching account for theJP Rosevear2003-03-281-56/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_init): init new members (get_current_account): get a matching account for the currently selected user in the combo (meeting_page_finalize): unref the meeting attendee if there is one (meeting_page_fill_widgets): don't set the combo list here (clear_widgets): set the default organizer here and if we don't have an organizer, add the default organizer as an attendee (meeting_page_fill_component): use get_current_account (org_changed_cb): if this is a new meeting and the organizer changes, change the attendee (change_clicked_cb): no need to set the default here (init_widgets): reflect changed callback name (meeting_page_construct): set the combo strings here (popup_delete_cb): remove the organizer attendee if the user explicitly deletes it * gui/e-meeting-model.c (attendee_changed_cb): set row properly * gui/itip-utils.c (comp_to_list): skip the user themselves if cancelling or requesting svn path=/trunk/; revision=20557
* add a parameter(TC_CORBA_string) to the bonobo_widget_get_property.Jack Jia2003-03-261-1/+1
| | | | | | | | | | 2003-03-26 Jack Jia <jack.jia@sun.com> * calendar/gui/dialogs/alarm-options.c (malarm_widgets_to_alarm): add a parameter(TC_CORBA_string) to the bonobo_widget_get_property. svn path=/trunk/; revision=20515
* Update for e_notice moveDan Winship2003-03-252-10/+10
| | | | | | | | | | | | | | | | | | * gui/itip-utils.c: Update for e_notice move * gui/tasks-control.c (confirm_expunge): Move the code that used to be e_gnome_dialog_set_parent here, since it was marked deprecated and this was the only place using it. * gui/dialogs/comp-editor.c: Update for e_notice move (page_changed_cb, page_summary_changed_cb, page_dates_changed_cb): Pass a parent_window to e_notice. * gui/dialogs/meeting-page.c: Update for e_notice move. (meeting_page_fill_component, meeting_page_fill_component, popup_delegate_cb): Pass a parent_window to e_notice svn path=/trunk/; revision=20503
* use a GtkMessageDialog and deal correctly with the dialog's reponses.Rodrigo Moya2003-03-211-4/+9
| | | | | | | | | 2003-03-20 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/cancel-comp.c (cancel_component_dialog): use a GtkMessageDialog and deal correctly with the dialog's reponses. svn path=/trunk/; revision=20434
* use GtkMessageDialog instead of gnome_question_dialog, and deal correctlyRodrigo Moya2003-03-191-4/+9
| | | | | | | | | | 2003-03-18 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/send-comp.c (send_component_dialog): use GtkMessageDialog instead of gnome_question_dialog, and deal correctly with the dialog's response. svn path=/trunk/; revision=20342
* Fixes #34095Hans Petter Jansson2003-03-183-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #34095 * gui/e-meeting-model.c (append_row): Don't leak meeting attendees; unref the attendee after it's assigned to model. * gui/dialogs/meeting-page.c (meeting_page_destroy): Free the actual array of deleted attendees. * gui/dialogs/event-editor.c (event_editor_destroy): Free the private structure. * gui/itip-utils.c (comp_description): Rework free/busy information composer so we can free date/time information after use. Then free it. (itip_send_comp): Free the allocated CORBA buffer for attachment data. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_component): Free the destination contacts string once we're done with it. * gui/e-calendar-table.c (invisible_destroyed): Unref the invisible. * gui/e-day-view.c (invisible_destroyed): Ditto. * gui/e-week-view.c (invisible_destroyed): Ditto. svn path=/trunk/; revision=20329
* Fixes #39757Hans Petter Jansson2003-03-181-6/+10
| | | | | | | | | | | | 2003-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #39757 * gui/dialogs/alarm-page.c (sensitize_buttons): Somehow this code reverted to thinking it was dealing with a GtkCList, when in reality it's a GtkTreeView. Fix that, so the buttons are sensitized correctly. svn path=/trunk/; revision=20328
* don't use GNOME_STOCK_* defines, but GTK_STOCK_*.Rodrigo Moya2003-03-131-3/+3
| | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.c (save_component_dialog): don't use GNOME_STOCK_* defines, but GTK_STOCK_*. svn path=/trunk/; revision=20262
* corrected button ordering and changed the return type to be aRodrigo Moya2003-03-133-10/+17
| | | | | | | | | | | | 2003-03-12 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/save-comp.[ch] (save_component_dialog): corrected button ordering and changed the return type to be a GtkResponseType. * gui/dialogs/comp-editor.c (prompt_to_save_changes): adapted to changes in save_component_dialog. svn path=/trunk/; revision=20261
* g_objectify ref/unrefJP Rosevear2003-03-051-1/+1
| | | | | | | | | | | | | 2003-03-05 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (show_current): g_objectify ref/unref * gui/itip-bonobo-control.c (set_data_idle_cb): as above (pstream_load): ditto * gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above svn path=/trunk/; revision=20172
* don't let the user change to an email organizer if the back end is not anJP Rosevear2003-03-051-0/+2
| | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): don't let the user change to an email organizer if the back end is not an email addres svn path=/trunk/; revision=20162
* call cal_client_get_cal_address instead of cal_client_get_email_addressJP Rosevear2003-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (itip_organizer_is_user): call cal_client_get_cal_address instead of cal_client_get_email_address * gui/dialogs/meeting-page.c (meeting_page_construct): ditto * pcs/cal.c (impl_Cal_get_cal_address): implement updated method name (cal_class_init): set method implementation * pcs/cal-backend.c (cal_backend_class_init): init get_cal_address virtual function (cal_backend_get_cal_address): call proper function * pcs/cal-backend.h: update proto, rename get_email_address virtual function to get_cal_address virtual function * pcs/cal-backend-file.c (cal_backend_file_class_init): match get_cal_address call (cal_backend_file_get_cal_address): rename from cal_backend_file_get_email_address * cal-client/cal-client.c: rename email_address private member to cal_address (cal_client_init): init cal_address (cal_client_destroy): free cal_address and properly free alarm_email_address (cal_client_get_cal_address): rename from cal_client_get_email_address and call proper corba function svn path=/trunk/; revision=20151
* fix copyrightJP Rosevear2003-03-052-7/+7
| | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/recur-comp.h: fix copyright * gui/dialogs/recur-comp.c: fix copyright (recur_component_dialog): say "recurring journal entry" instead of just "recurring journal" svn path=/trunk/; revision=20147
* Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>)JP Rosevear2003-03-052-2/+13
| | | | | | | | | | | | | 2003-03-04 JP Rosevear <jpr@ximian.com> Partially Fixes #23606 (from Jack Jia <jack.jia@sun.com>) * gui/dialogs/schedule-page.c (update_time): handle no end date if the start is date only * gui/dialogs/event-page.c (update_time): ditto svn path=/trunk/; revision=20146
* Shush.JP Rosevear2003-03-051-1/+3
| | | | svn path=/trunk/; revision=20145
* Commit missed files.JP Rosevear2003-03-052-0/+126
| | | | svn path=/trunk/; revision=20144
* If only the pipe wouldn't break.JP Rosevear2003-03-0520-2101/+2464
| | | | svn path=/trunk/; revision=20143
* gui/dialogs/alarm-page.c gui/dialogs/event-page.cHans Petter Jansson2003-03-047-7/+7
| | | | | | | | | | | | | | | | 2003-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/alarm-page.c * gui/dialogs/event-page.c * gui/dialogs/meeting-page.c * gui/dialogs/recurrence-page.c * gui/dialogs/schedule-page.c * gui/dialogs/task-details-page.c * gui/dialogs/task-page.c (get_widgets): gtk_widget_unparent() -> gtk_container_remove(). The former caused crashes in the addressbook's name-selector. svn path=/trunk/; revision=20130
* build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H),Dan Winship2003-03-012-12/+6
| | | | | | | | | | | | | | * gui/dialogs/Makefile.am: build libcal-dialogs as an uninstalled shared library ($(IDL_GENERATED_H), etc): Only generate Evolution-Addressbook-SelectNames.h, not the corresponding .c files, or we'll get duplicate symbol errors trying to link this into libevolution_calendar.la * gui/Makefile.am (libevolution_calendar_la_LIBADD): Update for that (and eliminate libtool portability warnings) svn path=/trunk/; revision=20114
* Show start/end-of-day widgets.Hans Petter Jansson2003-02-261-0/+2
| | | | | | | | | 2003-02-25 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/cal-prefs-dialog.c (get_widgets): Show start/end-of-day widgets. svn path=/trunk/; revision=20062
* Don't warn if calendar isn't loaded... Doesn't seem to hurt, but thisHans Petter Jansson2003-02-243-3/+7
| | | | | | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximian.com> * cal-client/cal-client.c (cal_client_is_read_only): Don't warn if calendar isn't loaded... Doesn't seem to hurt, but this should probably be investigated further. * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): If we have no contacts, don't bother trying to set them in the widget. Used to pass a NULL list, which would lead to much anxiety in callees. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): If we have no potential organizers, emit a sensible warning. * gui/dialogs/task-page.c (init_widgets): Don't try to connect to the "changed" signal of the GtkTextView -- we listen to the GtkTextBuffer now. svn path=/trunk/; revision=20019
* gconf settings upgradesMichael Zucci2003-02-243-38/+51
| | | | svn path=/trunk/; revision=20018
* Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actuallyHans Petter Jansson2003-02-242-0/+16
| | | | | | | | | | | | | | | | | | 2003-02-23 Hans Petter Jansson <hpj@ximan.com> * gui/gnome-cal.c (backend_died_cb): Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actually try to set the quantum properties. The quantum code should probably go away entirely now that the panes update during resize, but let's keep it around for a bit more. * gui/dialogs/event-editor.c (event_editor_construct): Ref & sink the pages. * gui/dialogs/task-editor.c (task_editor_construct): Ref & sink the pages. svn path=/trunk/; revision=20011
* Show the custom widgets, since libglade appears to not want to do that.Hans Petter Jansson2003-02-232-10/+32
| | | | | | | | | | | | | | | | 2003-02-22 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/task-details-page.c (get_widgets): Show the custom widgets, since libglade appears to not want to do that. * gui/dialogs/task-page.c (clear_widgets): Make the description field use a GtkTextView. (task_page_fill_widgets): Ditto. (task_page_fill_component): Ditto. (init_widgets): Ditto. (get_widgets): Show the custom widgets, since libglade doesn't do it. svn path=/trunk/; revision=20003
* revert previous changeDan Winship2003-02-201-2/+2
| | | | svn path=/trunk/; revision=19968
* Remove libversit. We haven't depended on that in forever.Dan Winship2003-02-201-2/+2
| | | | | | | | | | | | | | | | | * cal-client/Makefile.am (client_test_LDADD): Remove libversit. We haven't depended on that in forever. * cal-util/Makefile.am (test_recur_LDADD): Likewise * gui/alarm-notify/Makefile.am: build libalarm as a shared library instead of static. * gui/dialogs/Makefile.am: likewise for libcal-dialogs * gui/Makefile.am (libevolution_calendar_la_LIBADD): update for that. svn path=/trunk/; revision=19965
* Make the CORBA IDL compilation work with parallel makes. Likewise.Ettore Perazzoli2003-02-111-3/+6
| | | | | | | | | * gui/Makefile.am: Make the CORBA IDL compilation work with parallel makes. * gui/dialogs/Makefile.am: Likewise. * gui/alarm-notify/Makefile.am: Likewise. svn path=/trunk/; revision=19872
* Use e_auto_kill_popup_menu_on_selection_done() instead ofEttore Perazzoli2003-02-071-1/+1
| | | | | | | | | | * gui/e-day-view-time-item.c (e_day_view_time_item_show_popup_menu): Use e_auto_kill_popup_menu_on_selection_done() instead of e_auto_kill_popup_menu_on_hide(). * gui/dialogs/meeting-page.c (right_click_cb): Likewise. svn path=/trunk/; revision=19835
* show the widget before returning it.Dan Winship2003-02-071-1/+5
| | | | | | | * gui/dialogs/event-page.c (make_timezone_entry): show the widget before returning it. svn path=/trunk/; revision=19826
* Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): RemoveDan Winship2003-02-066-20/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/dialogs/Makefile.am (INCLUDES): Remove cruft. Rename ICONSDIR to IMAGESDIR. (gladedir, etspecdir): Remove definitions * gui/dialogs/alarm-page.c: #include gtktreeselection.h and gtkcellrenderertext.h (append_reminder): Remove unused variable. (alarm_page_fill_component): Likewise. (alarm_page_set_summary): Likewise. (delete_clicked_cb): Likewise. * gui/dialogs/comp-editor.c (make_icon_from_comp): s/ICONSDIR/IMAGESDIR/ * gui/dialogs/event-page.c: #include <string.h> * gui/dialogs/meeting-page.c (meeting_page_construct): Remove unused variable. (meeting_page_fill_widgets): Likewise * gui/dialogs/recurrence-page.c: #include gtktreeselection.h and gtkcellrenderertext.h (append_exception): Remove unused variable (fill_component): Likewise (recurrence_page_set_summary): Likewise. (exception_delete_cb): Likewise svn path=/trunk/; revision=19792
* array of localized month day names ("1st" - "31st")Dan Winship2003-02-061-47/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cal-util/cal-recur.c (cal_recur_nth): array of localized month day names ("1st" - "31st") * gui/dialogs/recurrence-page.c (make_recur_month_num_submenu, make_recur_month_num_menu, month_num_menu_selection_done_cb): Use the new cal_recur_nth[] array. The way this was done before didn't localize properly. * gui/alarm-notify/notify-main.c (main): s/glade_gnome_init/glade_init/ From evolution-1-2-branch: * gui/e-itip-control.c (write_recurrence_piece): Describe recurrences, if we can. #30993 (set_date_label): If the meeting has recurrences, call write_recurrence_piece after writing the start and end dates. (write_label_piece): Wrap the timezone in <font size=-1> to de-emphasize it a bit and try to keep the timestamp on a single line even with big Outlook timezone names. Add an option to show just the date, for describing the end of recurrences (since the time in the UNTIL is the *beginning* of the last instance, which would confuse people). (update_item): Set the VCALENDAR's METHOD. (ok_clicked_cb): Use update_item, not remove_item, to process a cancelation. Part of #33875. * pcs/cal-backend-file.c (cal_backend_file_cancel_object): New, handle an ICAL_METHOD_CANCEL update. (cal_backend_file_update_objects): Call cal_backend_file_update_object or cal_backend_file_cancel_object as appropriate. svn path=/trunk/; revision=19763
* The CVS server exited after applying everything from my last commit,Hans Petter2003-02-051-10/+22
| | | | | | except for the changes made to this file. Why? svn path=/trunk/; revision=19750
* Skip setting the "font_gdk" arg for now.Hans Petter Jansson2003-02-022-0/+5
| | | | | | | | | | | | | | | | | | | | 2003-02-02 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_set_event_font_cb): Skip setting the "font_gdk" arg for now. (e_day_view_update_main_canvas_drag): Ditto. * gui/e-week-view.c (e_week_view_style_set): Ditto. * gui/weekday-picker.c (configure_items): Ditto. * gui/dialogs/event-page.c (get_widgets): Show custom widgets manually, since the visibility specified in the Glade XML appears to not have any effect. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. svn path=/trunk/; revision=19706
* Mainly making all views use PangoLayouts for text. When drawing aHans Petter Jansson2003-01-266-20/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-25 Hans Petter Jansson <hpj@ximian.com> Mainly making all views use PangoLayouts for text. When drawing a PangoLayout, the draw offset is the top left corner of the layout, not the text's baseline. Keep this in mind when viewing the changes. I'll be brief about the exact changes, since they speak better for themselves. * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): Use Pango. (e_day_view_time_item_draw): Use Pango. * gui/e-day-view-top-item.c (e_day_view_top_item_draw): Use Pango. (e_day_view_top_item_draw_long_event): Add some FIXME text so we can see when this is being used. Is it in use at all? * gui/e-day-view.c: No longer specify an explicit X font string for the large font. Use the main font, and change the point size. (e_day_view_init): Use Pango. (e_day_view_style_set): Use Pango. Comment out the gdk_font setting for the drag text items for now. * gui/e-day-view.h: Use Pango. * gui/e-week-view-event-item.c (e_week_view_draw_time): Use Pango. * gui/e-week-view-main-item.c (e_week_view_main_item_draw_day): Use Pango. * gui/e-week-view-titles-item.c (e_week_view_titles_item_draw): Use Pango. * gui/e-week-view.c: No longer specify an explicit X font string for the small font. Use the main font, and change the point size. (e_week_view_init): Use Pango. (e_week_view_destroy): Use Pango. (get_string_width): Implemented for convenience. (get_digit_width): Implemented for convenience. (e_week_view_style_set): Use Pango. (e_week_view_recalc_cell_sizes): Use Pango. (e_week_view_get_time_string_width): Use Pango. * gui/e-week-view.h: Use Pango. Following are some random UTF-8 fixes and a crash fix. * gui/itip-utils.c (comp_description): Use g_locale_to_utf8 (). * gui/dialogs/comp-editor.c (make_title_from_comp): Return a UTF-8 string. * gui/dialogs/alarm-page.c (alarm_page_set_summary): Pass UTF-8 directly to GTK. * gui/dialogs/delete-comp.c (delete_component_dialog): Ditto. * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Ditto. (meeting_page_construct): Ditto. * gui/dialogs/recurrence-page.c (recurrence_page_set_summary): Ditto. * gui/dialogs/event-editor.c (event_editor_finalize): Fix crash caused by gtk_object_destroy()-ing a non-GtkObject. svn path=/trunk/; revision=19628
* Don't insist appointment is updated if both old and new summary are blank.Hans Petter Jansson2003-01-252-107/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-24 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): Don't insist appointment is updated if both old and new summary are blank. * gui/e-week-view.c (e_week_view_on_editing_stopped): Ditto. * gui/e-timezone-entry.c (on_button_clicked): Timezone dialog is now a GtkDialog. Treat it as such. * gui/goto.c (ecal_event): Goto dialog is now a GtkDialog. Treat it as such. (goto_dialog): Ditto. * gui/goto-dialog.glade: Set the return IDs from the dialog buttons. * gui/dialogs/meeting-page.c (popup_delegate_cb): Enable the delegate dialog. It's now a GtkDialog, so treat it like one. (right_click_cb): Use GTK stock item, not GNOME (that doesn't work anymore). * gui/e-delegate-dialog.glade: Set the return IDs from dialog buttons. * gui/print.c (print_calendar): Correct the print dialog init. Code is still not enabled, though. * gui/tasks-control.c (print_tasks): Add a warning about printing being disabled. svn path=/trunk/; revision=19624
* Remove, this is now defined in configure.in.Ettore Perazzoli2003-01-251-2/+0
| | | | | | | | | | | | | * gui/dialogs/Makefile.am (iconsdir): Remove, this is now defined in configure.in. * gui/Makefile.am (iconsdir): Remove; this is now defined in configure.in. * gui/alarm-notify/Makefile.am (iconsdir): Remove; this is now defined in configure.in. svn path=/trunk/; revision=19620
* Add a terminating NULL to the concatenation.Hans Petter Jansson2003-01-241-1/+1
| | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_merge_ui): Add a terminating NULL to the concatenation. svn path=/trunk/; revision=19612
* GTK_OBJECT -> G_OBJECT cast.Hans Petter Jansson2003-01-247-8/+8
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> * gui/dialogs/event-page.c (get_widgets): GTK_OBJECT -> G_OBJECT cast. * gui/dialogs/alarm-page.c (get_widgets): Ditto. * gui/dialogs/meeting-page.c (get_widgets): Ditto. * gui/dialogs/recurrence-page.c (get_widgets): Ditto. * gui/dialogs/schedule-page.c (get_widget): Ditto. * gui/dialogs/task-details-page.c (get_widget): Ditto. * gui/dialogs/task-page.c (get_widget): Ditto. * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Add a FIXME comment to think about. svn path=/trunk/; revision=19610
* Fixes some trivial, but distracting, warnings.Hans Petter Jansson2003-01-243-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-23 Hans Petter Jansson <hpj@ximian.com> Fixes some trivial, but distracting, warnings. * gui/calendar-config.c (on_timezone_set): Fix constness. * gui/e-timezone-entry.c (on_button_clicked): Fix constness. * gui/dialogs/event-page.c (contacts_changed_cb): Fix constness. * gui/dialogs/task-page.c (contacts_changed_cb): Fix constness. * gui/e-itip-control.c (start_default_server): Cast callback with G_CALLBACK (). * gui/dialogs/schedule-page.c (init_widgets): Cast callback with G_CALLBACK (). * gui/calendar-offline-handler.c (impl_dispose): Takes GObject, not GtkObject. (impl_finalize): Ditto. * gui/calendar-view.c (calendar_view_edit): Now takes parent window as second arg. * gui/e-meeting-model.c (select_names_ok_cb): Fix constness. (get_select_name_dialog): Cast callback to BonoboListenerCallbackFn. * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): Add the push_in arg to arg list. This was crash-prone before. (e_meeting_time_selector_autopick_menu_position_callback): Ditto. * gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h. svn path=/trunk/; revision=19605
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-232-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * gui/e-tasks.c (e_tasks_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install libcal-util.la in $(privlibdir) instead of $(libdir). * gui/dialogs/comp-editor.c (setup_widgets): Get evolution-comp-editor.xml from EVOLUTION_UIDIR. (comp_editor_merge_ui): Get the file in EVOLUTION_UIDIR. * gui/tasks-control.c (tasks_control_activate): Get evolution-tasks.xml from EVOLUTION_UI_DIRECTORY. * gui/calendar-commands.c (calendar_control_activate): Get evolution-calendar.xml from EVOLUTION_UI_DIRECTORY. * pcs/Makefile.am (pcsincludedir): Version using $(BASE_VERSION). * importers/Makefile.am: Install evolution-calendar-importer in $(libexecdir)/evolution/$(BASE_VERSION). (sounddir): Remove. * gui/dialogs/Makefile.am (iconsdir): Version using $(BASE_VERSION). (gladedir): Likewise. (etspecdir): Likewise. * gui/Makefile.am (help_base): Remove. (install-data-local): Do not make the $(help_base)/C directory. (etspecdir): Version using $(BASE_VERSION). (gladedir): Likewise. (iconsdir): Likewise. (INCLUDES): Update the EVOLUTION_IMAGESDIR define to be versioned, and add a -DEVOLUTION_GALVIEWSDIR. * cal-util/Makefile.am: Install evolution-alarm-notify in $(libexecdir)/evolution/$(BASE_VERSION). * cal-util/Makefile.am (libcal_utilincludedir): Version using $(BASE_VERSION). * gui/alarm-notify/Makefile.am (iconsdir): Likewise. (gladedir): Likewise. * cal-client/Makefile.am: Install libcal-client.la in privlibdir instead of libdir. (libcal_clientincludedir): Version using $(BASE_VERSION). svn path=/trunk/; revision=19553
* Implement EAlarmList as CalComponentAlarm list with a GtkTreeModelHans Petter Jansson2003-01-174-60/+97
| | | | | | | | | | | | | | | | | | 2003-01-16 Hans Petter Jansson <hpj@ximian.com> * gui/e-alarm-list.[ch]: Implement EAlarmList as CalComponentAlarm list with a GtkTreeModel interface. * gui/Makefile.am: Add e-alarm-list.[ch]. * gui/dialogs/alarm-page.[ch]: Use GtkTreeView with the new EAlarmList as model for the alarm list. Update copyright. * gui/dialogs/recurrence-page.[ch]: Update copyright. (free_exception_date_time): Removed. (fill_exception_widgets): Kill a lingering clist operation. svn path=/trunk/; revision=19499
* Create accel groups for popup menus. Fixes crash.Hans Petter Jansson2003-01-161-82/+97
| | | | | | | | | | | | | | | | | 2003-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Create accel groups for popup menus. Fixes crash. * gui/e-date-time-list.[ch]: Implement EDateTimeList as CalComponentDateTime list with a GtkTreeModel interface. * gui/Makefile.am: Add e-date-time-list.[ch]. * gui/dialogs/recurrence-page.c: Use GtkTreeView with the new EDateTimeList as model for the exception list. svn path=/trunk/; revision=19490
* Removed. Removed.Ettore Perazzoli2003-01-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/config-control-factory.h: Removed. * gui/config-control-factory.c: Removed. * gui/itip-bonobo-control.c: Renamed from itip-control-factory.c. (itip_bonobo_control_new): New. (itip_control_factory_init): Removed. * gui/itip-bonobo-control.h: Renamed from itip-control-factory.h. * gui/tasks-control-factory.c: Removed. * gui/tasks-control-factory.h: Removed. * gui/control-factory.c (control_factory_init): Removed. * gui/Makefile.am: Updated to build everything as libevolution-calendar.so and install in the COMPONENTDIR. * gui/GNOME_Evolution_Calendar.server.in.in: Updated to build the component as a shared library. * gui/main.c (main): Removed. * gui/calendar-component.c (calendar_component_get_object): New. (owner_set_cb): Do not store the shell pointer in shells. (owner_unset_cb): Do not remove the shell pointer from shells; instead, just set global_shell_client to NULL. * gui/calendar-component.h: Renamed from component-factory.h. * gui/calendar-component.c: Renamed from component-factory.c. svn path=/trunk/; revision=19430
* Icons are now in $(datadir)/evolution/images instead ofEttore Perazzoli2003-01-091-1/+1
| | | | | | | | | | * gui/alarm-notify/Makefile.am: Icons are now in $(datadir)/evolution/images instead of $(datadir)/images/evolution. * gui/Makefile.am: Likewise. * gui/dialogs/Makefile.am: Likewise. svn path=/trunk/; revision=19296
* Replace gtk_signal_disconnect_by_data() withHans Petter Jansson2002-12-1911-390/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-19 Hans Petter Jansson <hpj@ximian.com> * gui/calendar-commands.c (calendar_control_deactivate): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). Former takes GtkObject, latter takes GObject. * gui/calendar-model.c (calendar_model_destroy): Ditto. (update_query): Ditto. (calendar_model_set_cal_client): Ditto. * gui/e-day-view.c (e_day_view_destroy): Ditto. (update_query): Ditto. (e_day_view_set_cal_client): Ditto. * gui/e-tasks.c (query_eval_error_cb): Ditto. (query_query_done_cb): Ditto. * gui/e-week-view.c (e_week_view_destroy): Ditto. (update_query): Ditto. (e_week_view_set_cal_client): Ditto. * gui/gnome-cal.c (update_query): Ditto. (gnome_calendar_destroy): Ditto. * gui/tasks-control.c (tasks_control_deactivate): Ditto. * gui/e-comp-editor-registry.c (foreach_close_cb): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). Former takes GtkObject, latter takes GObject. * gui/dialogs/alarm-page.c (alarm_page_get_type): Replace with E_MAKE_TYPE(). (alarm_page_class_init): Use GObject as base class instead of GtkObject, and set up finalization instead of destroy handler. (alarm_page_destroy): Change to alarm_page_finalize() and assume parent is GObject, not GtkObject. (alarm_page_new): Use g_object_new(), not gtk_type_new(). * gui/dialogs/event-page.c: Same general changes as above file. (update_time): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (clear_widgets): Ditto. (times_updated): Ditto. * gui/dialogs/recurrence-page.c: Same general changes as above file. (clear_widgets): Replace gtk_signal_handler_(un)block_by_data() with g_signal_handlers_(un)block_matched(). (append_exception): Ditto. (fill_ending_date): Ditto. (recurrence_page_fill_widgets): Ditto. * gui/dialogs/comp-editor.c: Same general changes as above file. (comp_editor_finalize): Replace gtk_signal_disconnect_by_data() with g_signal_handlers_disconnect_matched(). (comp_editor_remove_page): Ditto. * gui/dialogs/event-editor.c: Same general changes as above file. * gui/dialogs/meeting-page.c: Same general changes as above file. * gui/dialogs/schedule-page.c: Same general changes as above file. * gui/dialogs/task-details-page.c: Same general changes. * gui/dialogs/task-editor.c: Same general changes as above file. * gui/dialogs/task-page.c: Same general changes as above file. * gui/dialogs/e-delegate-dialog.c: Same general changes. svn path=/trunk/; revision=19167
* run fix.sh over this.Not Zed2002-12-0227-332/+332
| | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * gui/itip-utils.[ch]: run fix.sh over this. * gui/dialogs/*.[ch]: run fix.sh over all of this. 2002-11-26 Richard Li <Richard.Li@Sun.COM> * cal-client/cal-client.c (cal_client_construct): removed extra call to CORBA_exception_init. 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18972
* Changed e_messagebox -> gtk_messagedialog.Not Zed2002-11-251-11/+6
| | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Changed e_messagebox -> gtk_messagedialog. svn path=/trunk/; revision=18903
* pass type to bonobo_widget::set_property. (select_names_ok_cb): ", forNot Zed2002-11-192-5/+8
| | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * gui/e-meeting-model.c (get_select_name_dialog): pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for get_property. * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): pass type to bonobo_widget::set_property & plug small leak. (e_delegate_dialog_get_delegate): ", for get_property. (e_delegate_dialog_get_delegate_name): " * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): pass type to bonobo_widget::set_property. (comp_editor_contacts_to_component): ", for get_property svn path=/trunk/; revision=18835
* Initial port of gui/ subdir to GNOME 2JP Rosevear2002-11-0812-21/+22
| | | | | | | | 2002-11-07 JP Rosevear <jpr@ximian.com> * Initial port of gui/ subdir to GNOME 2 svn path=/trunk/; revision=18648
* converted to BonoboObject.Rodrigo Moya2002-11-084-10/+8
| | | | | | | | | | | | | | | | | 2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * cal-client/query-listener.[ch]: converted to BonoboObject. * gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's g_utf8_strchr. * gui/dialogs/delete-comp.c: removed non-existant headers. Use GtkStock instead of GnomeStock. * gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation. (e_delegate_dialog_construct): adapted to changes in glade_xml_new. svn path=/trunk/; revision=18632
* #include gtkoptionmenu.h. (cal_prefs_dialog_new): adapted to changes inRodrigo Moya2002-11-0714-72/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/cal-prefs-dialog.c: #include gtkoptionmenu.h. (cal_prefs_dialog_new): adapted to changes in glade_xml_new. * gui/dialogs/event-page.h: * gui/dialogs/meeting-page.h: * gui/dialogs/recurrence-page.h: * gui/dialogs/schedule-page.h: * gui/dialogs/task-details-page.h: * gui/dialogs/task-page.h: * gui/cal-prefs-dialog.h: use correctly the macros. * gui/dialogs/cancel-comp.c: * gui/dialogs/changed-comp.c: * gui/dialogs/comp-editor-page.c: * gui/gnome-cal.h: removed non-existent headers. * gui/dialogs/comp-editor.c: remove non-existent headers. (close_dialog): gtk_widget_destroy the widget. (setup_widgets, comp_editor_merge_ui): use BonoboWindow correctly. (comp_editor_set_cal_client, comp_editor_send_comp, comp_editor_edit_comp): use G_OBJECT_GET_CLASS for getting the class of an object. * gui/dialogs/comp-editor-page.c (comp_editor_page_class_init): use g_signal_* functions. * gui/dialogs/comp-editor-util.c: converted to BonoboActivation. * gui/dialogs/comp-editor.h: #include bonobo-window.h, not bonobo-win.h. svn path=/trunk/; revision=18622
* don't return a Bonobo_EventSource_ListenerId, since it does not existRodrigo Moya2002-11-0712-4177/+4513
| | | | | | | | | | | | | | | | | 2002-11-06 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/comp-editor-util.[ch] (comp_editor_connect_contacts_changed): don't return a Bonobo_EventSource_ListenerId, since it does not exist anymore, and was not even being used. * gui/e-timezone-entry.h: use GLib macros. * gui/dialogs/*.glade: * gui/alarm-notify/*.glade: * gui/*.glade: converted to Glade2 format. svn path=/trunk/; revision=18616
* adapted to to new glade_xml_new signature.Rodrigo Moya2002-11-075-8/+7
| | | | | | | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/alarm-options.c (alarm_options_dialog_run): adapted to to new glade_xml_new signature. * gui/calendar-model.h: * gui/dialogs/comp-editor-page.h: * gui/dialogs/alarm-page.[ch]: removed non-existant header files. * gui/dialogs/comp-editor-util.h: added missing headers. svn path=/trunk/; revision=18615
* use libxml2 headers.Rodrigo Moya2002-11-052-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-backend.c: use libxml2 headers. * gui/alarm-notify/Makefile.am: * gui/dialogs/Makefile.am: * gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of $(ORBIT_IDL). * gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject. * gui/alarm-notify/alarm-notify-dialog.c: compilation fixes. (alarm_notify_dialog): adapted to new glade_xml_new signature. * gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and GtkStock and GtkDialog. * gui/alarm-notify/notify-main.c: ported to BonoboActivation and use GObject functions instead of GtkObject ones. * gui/alarm-notify/save.h: removed BonoboConfig related functions. * gui/alarm-notify/config-data.c: use GObject functions instead of GtkObject ones. * TODO.port: added file for keeping track of disabled things while we port. svn path=/trunk/; revision=18550
* if the value is a datetime, convert it to a dateJP Rosevear2002-10-181-0/+24
| | | | | | | | | | | | | | | | | | 2002-10-17 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (fill_ending_date): if the value is a datetime, convert it to a date * gui/itip-utils.c (comp_compliant): convert an UNTIL date value to a datetime value * cal-util/cal-component.c (cal_component_has_simple_recurrence): check to see if the component recurrences meet our definition of "simple" * cal-util/cal-component.h: new proto svn path=/trunk/; revision=18389
* changed to have a gboolean return type, which is what it's supposed to do.Rodrigo Moya2002-10-182-7/+7
| | | | | | | | | | | | | 2002-10-17 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/recurrence-page.c (fill_component): changed to have a gboolean return type, which is what it's supposed to do. (recurrence_page_fill_component): return the result from fill_component. * gui/dialogs/comp-editor-page.h: fixed typo in function prototype. svn path=/trunk/; revision=18387
* Fixes #11434Rodrigo Moya2002-10-097-0/+85
| | | | | | | | | | | | | | | | | | | | | 2002-10-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #11434 * gui/dialogs/comp-editor-page.[ch] (comp_editor_page_display_validation_error): new function. * gui/dialogs/event-page.c (event_page_fill_component): * gui/dialogs/recurrence-page.c (fill_component): * gui/dialogs/task-details-page.c (task_details_page_fill_component): * gui/dialogs/task-page.c (task_page_fill_component): added checks for all date values, and return FALSE if we find some invalid date/times. * gui/dialogs/comp-editor.c (save_comp): activate the page that returns error in fill_component. svn path=/trunk/; revision=18352
* set the 24 hour format initiallyJP Rosevear2002-10-091-0/+1
| | | | | | | | | | | | | | | | 2002-10-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_create_time_edit): set the 24 hour format initially 2002-10-08 JP Rosevear <jpr@ximian.com> * gui/e-week-view.c: remove pilot settings from contextual menu * gui/e-day-view.c: ditto svn path=/trunk/; revision=18351
* Fixes #31774Rodrigo Moya2002-10-081-2/+2
| | | | | | | | | | | 2002-10-07 Rodrigo Moya <rodrigo@ximian.com> Fixes #31774 * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, palarm_widgets_to_alarm): use correct pointer in loop. svn path=/trunk/; revision=18346
* cast the correct itemJP Rosevear2002-10-081-1/+1
| | | | | | | | | 2002-10-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct item svn path=/trunk/; revision=18345
* Fixes #30057Rodrigo Moya2002-10-032-9/+31
| | | | | | | | | | | | | | | | | | | | | 2002-10-02 Rodrigo Moya <rodrigo@ximian.com> Fixes #30057 * cal-client/cal-client.c (cal_client_is_read_only): added check of the status of the client before trying to make CORBA calls. * gui/calendar-commands.c (sensitize_calendar_commands, sensitize_taskpad_commands): * gui/tasks-control.c (sensitize_commands): * gui/dialogs/event-editor.c (set_menu_sens): * gui/dialogs/task-editor.c (set_menu_sens): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/e-day-view.c (e_day_view_on_event_right_click): * gui/e-week-view.c (e_week_view_show_popup_menu): take into account the read-onlyness of clients to disable/enable menu items. svn path=/trunk/; revision=18316
* Fixes #15710Rodrigo Moya2002-10-012-1/+47
| | | | | | | | | | | | | | | | | 2002-10-01 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * gui/dialogs/alarm-page.c (alarm_page_init): added a X-EVOLUTION-NEEDS-DESCRIPTION property, so that we later set it correctly if it hasn't been set in the meanwhile (editing options for the alarm). * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, palarm_widgets_to_alarm): removed X-EVOLUTION-NEEDS-DESCRIPTION property from alarms every time we set the description of the alarm. svn path=/trunk/; revision=18277
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-011-1/+1
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Non-Connector part of #29334 (meeting created by a delegate in theDan Winship2002-09-286-27/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delegator's calendar should have the delegator as Organizer). * idl/evolution-calendar.idl: add Cal_getEmailAddress, to return the email address associated with a backend (if any). * pcs/cal-backend.c (cal_backend_get_email_address): New. * pcs/cal-backend-file.c (cal_backend_file_get_email_address): Return NULL (for now). * pcs/cal.c (impl_Cal_get_email_address): Implement this by calling cal_backend_get_email_address and returning a NotFound exception if it returns NULL. * cal-client/cal-client.c (cal_client_get_email_address): New. (cal_client_init, cal_client_destroy, etc): initialize/free email_address * gui/dialogs/event-editor.c (event_editor_construct): Split this out of event_editor_init. Take and set a CalClient. (event_editor_new): Take a CalClient. * gui/dialogs/task-editor.c (task_editor_construct, task_editor_new): Likewise. * gui/dialogs/meeting-page.c (meeting_page_new, meeting_page_construct): Take a CalClient and call cal_client_get_email_address to find the default organizer address. (Also fix a bug if the default account's name has non-ASCII characters.) * gui/itip-utils.c (comp_from): New. When sending a REQUEST or CANCEL, use the Organizer as the From address. (itip_send_comp): Call comp_from and pass the result to Composer_setHeaders. * gui/comp-editor-factory.c (edit_existing, edit_new): Pass the CalClient to event_editor_new/task_editor_new * gui/e-calendar-table.c (open_task): Likewise. * gui/e-tasks.c (e_tasks_new_task): Likewise. * gui/gnome-cal.c (gnome_calendar_edit_object, gnome_calendar_new_task): Likewise. svn path=/trunk/; revision=18253
* set the deleted attendees array to size 0 after we clean it upJP Rosevear2002-09-201-1/+2
| | | | | | | | | | | 002-09-20 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): set the deleted attendees array to size 0 after we clean it up Fixes #30479 svn path=/trunk/; revision=18135
* bump the month_num by 1 because it indexs at 0JP Rosevear2002-09-191-2/+4
| | | | | | | | | | | | 002-09-19 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): bump the month_num by 1 because it indexs at 0 (recurrence_page_fill_widgets): lower the month_num by one as above Fixes #30381 svn path=/trunk/; revision=18110
* bail out if we couldn't send the cancelJP Rosevear2002-09-054-27/+46
| | | | | | | | | | | | | | | | | | | | | | 2002-09-04 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-editor.c (event_editor_send_comp): bail out if we couldn't send the cancel * gui/dialogs/task-editor.c (task_editor_send_comp): ditto * gui/dialogs/comp-editor.c (save_comp_with_send): indicate send status (real_send_comp): return success/fail, only resave the component a if we successfully sent (comp_editor_send_comp): return success/fail * gui/itip-utils.h: update proto * gui/itip-utils.c (itip_send_comp): return true if we sent the message svn path=/trunk/; revision=17966
* use bonobo_object_release_unref to release the remote SelectNamesMike Kestner2002-08-312-2/+2
| | | | | | | | | | 2002-08-30 Mike Kestner <mkestner@ximian.com> * gui/dialogs/event-page.c: * gui/dialogs/task-page.c: use bonobo_object_release_unref to release the remote SelectNames component, not CORBA_Object_release. svn path=/trunk/; revision=17939
* use EConfigListener instead of direct access to the bonobo-conf database.Rodrigo Moya2002-08-271-1/+0
| | | | | | | | | | | | | | | | | | | | 2002-08-27 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.c: use EConfigListener instead of direct access to the bonobo-conf database. (calendar_config_init): create the EConfigListener here, and install an atexit function to unref the config listener object. (config_read, property_change_cb, calendar_config_write, calendar_config_write_on_exit): removed unneeded functions. (calendar_config_get_*, calendar_config_set_*): changed to make use of EConfigListener directly. * gui/main.c (main): removed call to calendar_config_write_on_exit. * gui/dialogs/cal-prefs-dialog.c (update_config): removed call to calendar_config_write. svn path=/trunk/; revision=17874
* listen for the time editors to changeJP Rosevear2002-08-151-0/+59
| | | | | | | | | | | | | | | | | | | | | | | 2002-08-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (init_widgets): listen for the time editors to change (cal_prefs_dialog_start_of_day_changed): make sure the start is never after the end (cal_prefs_dialog_end_of_day_changed): make sure the end is never after the start * gui/e-meeting-time-sel.c (e_meeting_time_selector_set_working_hours): make sure to show a minimum of 1 hour for work day * gui/e-day-view-main-item.c (e_day_view_main_item_draw): calculate the work/not working color boxes to the nearest pixel, rather the the nearest time division Fixes #10286, #26285 svn path=/trunk/; revision=17776
* set the editor to changed so the item actually gets savedJP Rosevear2002-08-101-0/+2
| | | | | | | | | 2002-08-09 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c (real_send_comp): set the editor to changed so the item actually gets saved svn path=/trunk/; revision=17753
* check for an attendee in the list (comp_to_list): only add the user ifJP Rosevear2002-08-091-1/+8
| | | | | | | | | | | | | | | | | | 2002-08-08 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (users_has_attendee): check for an attendee in the list (comp_to_list): only add the user if they aren't on the list (comp_server_send): don't remove the users, pass back the list (itip_send_comp): send to server before doing comp_minimal * gui/dialogs/comp-editor.c (real_send_comp): edit and save the updated comp * pcs/cal.c (impl_Cal_send_object): copy the correct item to pass back svn path=/trunk/; revision=17747
* Fixes #15710Rodrigo Moya2002-08-081-0/+23
| | | | | | | | | | | | | | | | | | | 2002-08-08 Rodrigo Moya <rodrigo@ximian.com> Fixes #15710 * cal-util/cal-component.[ch] (cal_component_alarm_get_icalcomponent): new function for getting the icalcomponent from a CalComponentAlarm. * gui/comp-util.c (cal_comp_event_new_with_defaults): added X-EVOLUTION-NEEDS-DESCRIPTION property to the default reminder alarm, so that we can identify it when saving the component. * gui/dialogs/alarm-page.c (alarm_page_fill_component): if the alarm has the X-EVOLUTION-NEEDS-DESCRIPTION property, set the description to be the same as of the component. svn path=/trunk/; revision=17744
* fixed mapping of popdown menu to ICAL_STATUS_ values.Rodrigo Moya2002-07-292-10/+16
| | | | | | | | | | | | | | | | 2002-07-28 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-details-page.c: fixed mapping of popdown menu to ICAL_STATUS_ values. (task_details_page_fill_widgets): when we can't set the status, default to ICAL_STATUS_NONE, which maps to 'Not started'. Fixed use of 'percent' variable, which was being used after being freed. (percent_complete_changed): default to ICAL_STATUS_NONE (Not Started). * gui/dialogs/task-details-page.glade: added 'Needs Action' to popdown menu values. svn path=/trunk/; revision=17624
* use util function to see if the user is the organizer72002-07-185-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-17 <jpr@ximian.com> * gui/calendar-model.c (calendar_model_value_at): use util function to see if the user is the organizer * gui/dialogs/cancel-comp.c (cancel_component_dialog): add deleting proto to indicate whether cancelling or deleting is the primary operation * gui/dialogs/cancel-comp.h: update proto * gui/dialogs/comp-editor.c (delete_cmd): offer to cancel * gui/dialogs/task-editor.c (cancel_task_cmd): call cancel_component_dialog with new param * gui/dialogs/event-editor.c (cancel_meeting_cmd): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): only update request if user is organizer (e_week_view_show_popup_menu): disable the meeting and meeting organizer mask if appropriate (e_week_view_delete_event_internal): offer to cancel the meeting (e_week_view_on_cut): ditto (selection_received): send request if its a meeting * gui/e-day-view.h: add meeting icon/mask * gui/e-day-view.c (e_day_view_on_event_right_click): disable the meeting and meeting organizer mask if appropriate (e_day_view_delete_event_internal): offer to cancel meeting (e_day_view_on_cut): ditto (e_day_view_finish_long_event_resize): only update request if user is organizer (e_day_view_reshape_long_event): add meeting icon to count (e_day_view_reshape_day_event): ditto (e_day_view_on_top_canvas_drag_data_received): only update request if user is organizer (e_day_view_on_main_canvas_drag_data_received): ditto (selection_received): offer to send meeting info * gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event): draw meeting icon if appropriate (using dummy icon atm) svn path=/trunk/; revision=17491
* Add include lines to get ebook headers relative to <ebook/foo.h>, notPeter Williams2002-07-113-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * tools/Makefile.am (INCLUDES): Add include lines to get ebook headers relative to <ebook/foo.h>, not "foo.h". addressbook: 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so that the installed headers will work sanely. * backend/ebook/e-card-cursor.h: * backend/ebook/e-book-view.h: * backend/ebook/e-card-simple.h: * backend/ebook/e-card.h: * backend/ebook/e-destination.h: Same. * printing/Makefile.am (INCLUDES): add -Iaddressbook/backend to access the ebook headers. Also the builddir version to get the generated addressbook.h * gui/widgets/Makefile.am (INCLUDES): Same builddir fix. * gui/merging/e-card-merging.c: Fix an ebook #include. * gui/merging/Makefile.am (INCLUDES): Same idea. * gui/contact-list-editor/Makefile.am (INCLUDES): Same. * gui/contact-editor/Makefile.am (INCLUDES): Same builddir change. calendar: 2002-07-08 Peter Williams <peterw@ximian.com> * gui/Makefile.am (INCLUDES): Change the -I flags to get it to play nicely with the new Ebook header paradigm. * gui/dialogs/Makefile.am: Same. * gui/e-meeting-model.c: More of the same. * gui/dialogs/e-delegate-dialog.c: * gui/dialogs/e-meeting-model.c: * gui/dialogs/comp-editor-util.c: Fix include lines to get ebook headers. * pcs/Makefile.am: Same. composer: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Fix cflags for ebook header namespacing. importers: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Fix cflags to get at ebook headers correctly. * pine-importer.c: Fix include lines to get ebook headers the "right" way. * evolution-gnomecard-importer.c: Same. mail: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I flags to get the ebook headers. svn path=/trunk/; revision=17411
* add back protoJP Rosevear2002-06-258-212/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-25 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor-page.h: add back proto * gui/dialogs/comp-editor-page.c (comp_editor_page_notify_needs_send): add page needs_send signal * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_invite_others_button_draw): check to see if the button should be sensitive when drawing (e_meeting_time_selector_construct): listen for the button draw signal * cal-util/cal-component.c (cal_component_strip_errors): remove X-LIC-ERROR x properties * cal-util/cal-component.h: new proto * gui/dialogs/meeting-page.c (change_clicked_cb): set needs_send to true (meeting_page_fill_widgets): set up gui based on if the user or someone else is the organizer (meeting_page_construct): read the addresses here for the combo box (get_widgets): explicitly set the value in list values * gui/dialogs/event-editor.c (set_menu_sens): base this on the exist org and user org values of the comp editor (event_editor_edit_comp): set up editable row restrictions on the meeting model if the user is not an organizer, and don't set needs send if we aren't the organizer initially (model_row_changed_cb): set needs_send to true (row_count_changed_cb): ditto * gui/dialogs/meeting-page.glade: update gui * gui/dialogs/comp-editor.c (save_comp_with_send): if the user is not the organizer, REPLY rather than REQUEST (comp_editor_set_existing_org): accessor (comp_editor_get_existing_org): ditto (comp_editor_set_user_org): ditto (comp_editor_get_user_org): ditto (real_edit_comp): determine if there is an existing organizer and if the organizers is a user (page_changed_cb): warn the user that changes may be discarded (page_summary_changed_cb): ditto (page_dates_changed_cb): ditto * gui/dialogs/comp-editor.h: new protos * gui/itip-utils.c (itip_organizer_is_user): determine if the organizer of a component is a user (itip_sentby_is_user): same for sentby field of organizer (comp_sentby): use above routines instead (comp_compliant): strip all X-LIC-ERROR fields generated by libical * gui/e-meeting-model.c (is_cell_editable): if there is a list of editable rows, allow only the status column of those rows to be edited (init): init edit_rows (e_meeting_model_restricted_add): add an editable row to the model (e_meeting_model_restricted_remove): remove an editable row (e_meeting_model_restricted_clear): clear all editable rows (e_meeting_model_etable_click_to_add): set the click to add arg on all tables (e_meeting_model_etable_from_model): track the tables (table_destroy_list_cb): remove the table being destroyed from the list (table_destroy_state_cb): remove the table being destroyed from the list * gui/e-meeting-model.h: new protos * gui/e-itip-control.c (update_attendee_status): kill warning svn path=/trunk/; revision=17274
* Fix a typo.Kjartan Maraas2002-06-131-1/+1
| | | | | | | | 2002-06-12 Kjartan Maraas <kmaraas@gnome.org> * gui/dialogs/cal-prefs-dialog.glade: Fix a typo. svn path=/trunk/; revision=17174
* In an attempt to clean up the config dialog (and to reduce its overallAnna Marie Dirks2002-06-041-179/+281
| | | | | | | | | | | 2002-06-03 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: In an attempt to clean up the config dialog (and to reduce its overall girth), I have re-laid-out the calendar preferences dialog. It now conforms to standard Evolution spacing and padding guidelines, and exhibits proper alignment, etc. svn path=/trunk/; revision=17087
* update protoJP Rosevear2002-05-272-0/+14
| | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.h: update proto * gui/dialogs/comp-editor.c (comp_editor_get_comp): new function to get base comp * gui/e-comp-editor-registry.c (e_comp_editor_registry_add): get the base comp, not the current comp, don't unref it (foreach_close_cb): block the signal, unblock it if the editor could not be closed (e_comp_editor_registry_close_all): fix preconditions (editor_destroy_cb): get the base comp, not the current comp, don't unref it svn path=/trunk/; revision=17020
* if there are remaining items, return false (foreach_close_cb): don'tJP Rosevear2002-05-272-5/+10
| | | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all): if there are remaining items, return false (foreach_close_cb): don't remove the item if it couldn't be closed * gui/e-comp-editor-registry.h: update proto * gui/component-factory.c (request_quit): return a boolean indicating if everything was closed * gui/dialogs/comp-editor.h: update proto * gui/dialogs/comp-editor.c (comp_editor_close): return true if the editor was closed, false otherwise svn path=/trunk/; revision=17019
* a registry of comp editors so we can close them all centrallyJP Rosevear2002-05-272-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-26 JP Rosevear <jpr@ximian.com> * gui/e-comp-editor-registry.[hc]: a registry of comp editors so we can close them all centrally * gui/gnome-cal.c (gnome_calendar_init): there is no editor hash now (gnome_calendar_destroy): ditto (gnome_calendar_edit_object): look for the event editor in the registry, if it isn't there, create it and add it to the registry * gui/e-calendar-table.c (open_task): look for the task editor in the registry, if it isn't there, create it and add it to the registry * gui/component-factory.c (request_quit): close all open editors (create_object): add a request_quit function to the shell component * gui/comp-editor-factory.c (free_client): there is no uid_comp_hash to free any more (editor_destroy_cb): we get an OpenClient as callback data now, reduce the editor count and destroy it if it is 0 (edit_existing): don't create the Component, add the new editor to the registry, increase the editor count (edit_new): ditto (open_client): set the editor count to 0 (impl_editExisting): look in the registry for the editor * gui/Makefile.am: Build new sources * gui/main.c (main): create the registry * gui/dialogs/comp-editor.c (comp_editor_close): prompt to save and then close dialog * gui/dialogs/comp-editor.h: new proto * gui/GNOME_Evolution_Calendar.oaf.in: remove dead summary stuff svn path=/trunk/; revision=17018
* Pass the @component_pixmaps in so we give the new "Meeting" button anEttore Perazzoli2002-05-214-4/+17
| | | | | | | | | | * gui/dialogs/event-editor.c (event_editor_init): Pass the @component_pixmaps in so we give the new "Meeting" button an icon. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg @component_pixmaps to pass in custom pixmaps. svn path=/trunk/; revision=16955
* added PermissionDenied exception and make it be raised in open,Rodrigo Moya2002-05-171-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
* set the working hours for the meeting time selectorJP Rosevear2002-05-151-0/+6
| | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * gui/dialogs/schedule-page.c (schedule_page_construct): set the working hours for the meeting time selector svn path=/trunk/; revision=16786
* make the range datetime member a struct not a pointerJP Rosevear2002-05-151-1/+2
| | | | | | | | | | | | | | | | 2002-05-14 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.h: make the range datetime member a struct not a pointer * cal-util/cal-component.c (cal_component_get_recurid): take a pointer to a range (cal_component_set_recurid): ditto * gui/itip-utils.c (comp_minimal): get/set the recurrence id properly svn path=/trunk/; revision=16785
* Collapsed notebook into two pages and added accelerators for everything,Anna Marie Dirks2002-04-201-354/+326
| | | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * gui/dialogs/cal-prefs-dialog.glade: Collapsed notebook into two pages and added accelerators for everything, as part of my config dialog polishing project svn path=/trunk/; revision=16540
* properly handle -ve recurrence valuesJP Rosevear2002-04-191-67/+256
| | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gui/dialogs/recurrence-page.c (simple_recur_to_comp): properly handle -ve recurrence values (month_num_submenu_selection_done_cb): track the current date in use (make_recur_month_num_submenu): make a submenu of dates (make_recur_month_num_menu): make the date/relation option menu (month_num_menu_selection_done_cb): update the date properly and keep both option menus consistent (month_day_menu_selection_done_cb): keep both option menus consistent (make_monthly_special): listen for selection done signal (make_recurrence_special): destroy old month_num_menu (recurrence_page_fill_widgets): properly handle -ve recurrence values svn path=/trunk/; revision=16526
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-181-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* ignore .pureChris Toshok2002-04-021-0/+1
| | | | svn path=/trunk/; revision=16312
* implement new pop up menu items for "Save as", "Print", "Assign Task",JP Rosevear2002-03-303-89/+55
| | | | | | | | | | | | | | | | | | | | | | | | 2002-03-29 JP Rosevear <jpr@ximian.com> * gui/e-calendar-table.c: implement new pop up menu items for "Save as", "Print", "Assign Task", "Forward as iCalendar" * gui/e-day-view.c: similarly, also "Publish Free/Busy Information" and "New Meeting" and "New Task" * gui/e-week-view.c: ditto * gui/dialogs/task-editor.c (show_assignment): move the assignment page stuff here (task_editor_show_assignment): use it (assign_task_cmd): ditto * gui/dialogs/task-editor.h: new proto * gui/dialogs/comp-editor.c (save_as_cmd): use new e-util file selector function svn path=/trunk/; revision=16287
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-161-5/+8
| | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gui/e-day-view.c: Updated to use new EPopupMenu API. * gui/e-week-view.c: Updated to use new EPopupMenu API. * gui/e-calendar-table.c: Updated to use new EPopupMenu API. svn path=/trunk/; revision=16184
* Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shownEttore Perazzoli2002-03-133-361/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/dialogs/cal-prefs-dialog.glade: Add <visible>False</visible> to cal-prefs-dialog so it doesn't get shown when we load the Glade file with libglade. * gui/component-factory.c (owner_set_cb): Register the ConfigControl factory. * gui/tasks-control.c: Removed verb "TaskSettings". (tasks_control_settings_cmd): Removed. * gui/calendar-commands.c: Removed verb "CalendarSettings". (settings_cmd): Removed. * gui/dialogs/cal-prefs-dialog.c: Renamed `CalPrefsDialogPrivate' to `DialogData'. Replace `dialog' member with a `page' member. Remove `toplevel_notebook' member. (init_widgets): Renamed from `cal_prefs_dialog_init_widgets'. Just get a DialogData. (get_widgets): Get a DialogData pointer. (cal_prefs_dialog_destroy): Removed. (config_control_destroy_callback): New, signal handler for ::destroy for ConfigControl. (cal_prefs_dialog_new): Create a new DialogData, connect all the signal handlers. (create_time_edit): Renamed from `cal_prefs_dialog_create_time_edit'. (cal_prefs_dialog_show): Removed. (cal_prefs_dialog_button_clicked): Removed. (show_task_list_config): Get a DialogData. (show_config): Renamed from `cal_prefs_dialog_show_config'. Likewise. (update_task_list_config): Likewise. (update_config): Renamed from `cal_prefs_dialog_update_config'. Likewise. (color_set_callback): New callback, makes the dialog report changes when the setting in any of the color widgets is changed. (widget_changed_callback): New callback, makes the dialog report changes when any of the widgets changes status. (connect_changed): New utility function to connect this callback to all the widgets. (setup_widgets): Connect all the widgets. (cal_prefs_dialog_new): Call `setup_widgets'. * gui/config-control-factory.c: New. * gui/config-control-factory.h: New. * gui/GNOME_Evolution_Calendar.oaf.in: Add OAFIID:GNOME_Evolution_Calendar_ConfigControl and OAFIID:GNOME_Evolution_Calendar_ConfigControlFactory. svn path=/trunk/; revision=16135
* remove unneeded parameter from print_text_size everywhereJP Rosevear2002-03-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/print.c: remove unneeded parameter from print_text_size everywhere (get_font_for_size): calculate a font size based on the available height (print_text): calculate the top of where the font should be drawn (print_text_size): use get_font_for_size (print_day_background): use get_font_for_size 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_draw): pass the real table to e_meeting_model_etable_view_to_model_row (e_meeting_time_selector_item_paint_busy_periods): ditto * gui/dialogs/meeting-page.c (right_click_cb): ditto * gui/e-meeting-model.h: update protos * gui/e-meeting-model.c (e_meeting_model_etable_model_to_view_row): take in to account the fact the table used the without model (e_meeting_model_etable_view_to_model_row): ditto svn path=/trunk/; revision=15926
* pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb):JP Rosevear2002-02-203-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 002-02-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (send_item): pass extra itip_send_comp params (send_freebusy): ditto (ok_clicked_cb): ditto, including the timezones culled from the component * gui/e-week-view.c: pass extra itip_send_comp params * gui/calendar-commands.c: ditto * gui/e-day-view.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/comp-editor.c: ditto * gui/itip-utils.h (itip_send_comp): update proto * gui/itip-utils.c (foreach_tzid_callback): check the passed in zones, then the builtin time zones then the client 2002-02-19 JP Rosevear <jpr@ximian.com> * gui/e-itip-control.c (find_my_address): strip the ical value and do a case insensitive compare (find_attendee): ditto (change_status): put the error message here (ok_clicked_cb): don't update the item or rsvp unless change_status was successful, trip the ical value and do a case insensitive compare * gui/itip-utils.c (get_address): strip the incoming address (itip_strip_mailto): use g_strncasecmp (comp_limit_attendees): strip the ical value and do a case insensitive compare svn path=/trunk/; revision=15763
* change custom widget creator to e_url_entry_newJP Rosevear2002-02-092-41/+12
| | | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.glade: change custom widget creator to e_url_entry_new * gui/dialogs/task-details-page.c (get_widgets): get the url entry and its entry svn path=/trunk/; revision=15622
* add a custom widget created with e_url_button_newJP Rosevear2002-02-092-9/+43
| | | | | | | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-details-page.glade: add a custom widget created with e_url_button_new * gui/dialogs/task-details-page.c (task_details_page_init): init url_button member to NULL (init_widgets): set the url button entry (get_widgets): get the url button * gui/calendar-commands.c (pixmaps): use new all day event icon svn path=/trunk/; revision=15610
* pass meeting boolean for gnome_calendar_edit_object andJP Rosevear2002-02-082-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 JP Rosevear <jpr@ximian.com> * gui/e-day-view.c: pass meeting boolean for gnome_calendar_edit_object and gnome_calendar_new_appointment_for * gui/e-week-view-event-item.c: ditto * gui/e-week-view.c: ditto * gui/tasks-control.c (confirm_expunge): kill warning * gui/calendar-commands.c (new_meeting_cb): show a new meeting dialog (new_event_cb): pass new param * gui/gnome-cal.c (gnome_calendar_edit_object): take meeting boolean and show meeting page if true (gnome_calendar_new_appointment_for): takeing meeting param and pass to above (gnome_calendar_new_appointment): add new param * gui/gnome-cal.h: update proto * gui/component-factory.c (create_component): take a comp editor mode, determine vtype (sc_user_create_new_item_cb): check for meeting user creatable item (create_object): add meeting as user creatable item * gui/comp-editor-factory.c (edit_new): get a comp editor mode now, determine vtype and show meeting page if required (queue_edit_new): get comp editor mode (impl_editNew): ditto, plus queue the mode directly instead of determining the vtype * gui/dialogs/event-editor.c (show_meeting): new internal util function to show meeting page (event_editor_show_meeting): show the meeting (schedule_meeting_cmd): use show_meeting * gui/dialogs/event-editor.h: new proto * idl/evolution-calendar.idl: editNew takes a mode rather than a type now * cal-util/Makefile.am: fix includes svn path=/trunk/; revision=15595
* Use 1 instead of zero as the minimum value for the repetitions spin buttonFederico Mena Quintero2002-01-261-1/+1
| | | | | | | | | | | 2002-01-25 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/alarm-options.glade: Use 1 instead of zero as the minimum value for the repetitions spin button as we use a check box to specify whether the alarm has repetitions or not. Fixes bug #19054. svn path=/trunk/; revision=15472
* Clean up some of the Makefiles so we dont' link every library multipleEttore Perazzoli2002-01-251-4/+3
| | | | | | times, causing big libtool 1.4 pain. svn path=/trunk/; revision=15461
* save the alarm string in the correct variable (str), so it actually getsDamon Chaplin2002-01-181-2/+1
| | | | | | | | | | 2002-01-17 Damon Chaplin <damon@ximian.com> * gui/dialogs/alarm-page.c (get_alarm_string): save the alarm string in the correct variable (str), so it actually gets shown for alarms with specific trigger times. Fixes bug #18801. svn path=/trunk/; revision=15352
* default component classification to PUBLIC. Fixes internal bug #1066Rodrigo Moya2002-01-171-3/+5
| | | | | | | | | 2002-01-15 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): default component classification to PUBLIC. Fixes internal bug #1066 svn path=/trunk/; revision=15348
* remove needs send signal related cruft (save_comp_with_send): withJP Rosevear2001-12-225-52/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-21 JP Rosevear <jpr@ximian.com> * gui/dialogs/comp-editor.c: remove needs send signal related cruft (save_comp_with_send): with send_component_dialog, indicate if the meeting info is newly created or not (real_edit_comp): remember if the dialog initially needs a send * gui/dialogs/send-comp.c (send_component_dialog): take a "new" parameter indicating whether the dialog should intimate if the component to be sent is a new meeting or not * gui/dialogs/send-comp.h: update proto * gui/dialogs/comp-editor.c: remove no longer used needs_send notification and signal * gui/dialogs/comp-editor.h: remove proto * gui/e-day-view.c (e_day_view_on_main_canvas_drag_data_received): add new param to send_component_dialog (e_day_view_finish_long_event_resize): ditto (e_day_view_finish_resize): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto * gui/e-week-view.c (e_week_view_on_editing_stopped): add new param to send_component_dialog svn path=/trunk/; revision=15204
* inherit from bonobo window12001-12-212-34/+50
| | | | | | | | | | | | 2001-12-21 <jpr@ximian.com> * gui/dialogs/comp-editor.h: inherit from bonobo window * gui/dialogs/comp-editor.c: inherit from bonobo window (comp_editor_key_press_event): Look for an escape key press and close the window if found svn path=/trunk/; revision=15202
* default component classification to PUBLICRodrigo Moya2001-12-071-3/+5
| | | | | | | | | 2001-12-06 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/event-page.c (event_page_fill_widgets): default component classification to PUBLIC svn path=/trunk/; revision=14927
* Explicitly destroy the EMeetingModel. This is a hack to work aroundJon Trowbridge2001-12-071-0/+1
| | | | | | | | | | | | | | | | | | | 2001-12-06 Jon Trowbridge <trow@ximian.com> * gui/dialogs/event-editor.c (event_editor_destroy): Explicitly destroy the EMeetingModel. This is a hack to work around problems with the reference counting; we are still leaking the EMeetingModels. * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): Ref our EMeetingModel. (e_meeting_time_selector_destroy): Unref the model. * gui/e-meeting-model.c (destroy): Properly destroy corba_select_names with a call to bonobo_object_release_unref. (Fixes 14002) svn path=/trunk/; revision=14919
* added entry for the LOCATION fieldRodrigo Moya2001-12-062-2/+75
| | | | | | | | | | | 2001-12-05 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/event-page.glade: added entry for the LOCATION field * gui/dialogs/event-page.c: added support for the new LOCATION entry added in the Event editor. svn path=/trunk/; revision=14901
* new protosJP Rosevear2001-11-121-1/+2
| | | | | | | | | | | | | | | | | 001-11-11 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.h: new protos * gui/e-meeting-model.c (e_meeting_model_get_zone): accessor (e_meeting_model_set_zone): ditto (init): init to the calendar default zone (process_free_busy_comp): take the zone to convert to as a param (e_meeting_model_refresh_busy_periods): redraw properly * gui/dialogs/schedule-page.c (update_time): set the zone of the model svn path=/trunk/; revision=14669
* Convert strings to GTK+ encoding. (meeting_page_destroy): Free allocatedChyla Zbigniew2001-11-101-2/+5
| | | | | | | | | * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): Convert strings to GTK+ encoding. (meeting_page_destroy): Free allocated strings before freeing the list itself. svn path=/trunk/; revision=14647
* make sure to remove all attendees from the model when we edit a new comp,JP Rosevear2001-11-073-10/+22
| | | | | | | | | | | | | | | | 2001-11-06 JP Rosevear <jpr@ximian.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): make sure to remove all attendees from the model when we edit a new comp, append the pages if they are needed and we weren't showing them before * gui/dialogs/task-editor.c (task_editor_edit_comp): same as above * gui/dialogs/comp-editor.c (comp_editor_remove_page): check for a return value indicating the page was not found and return if so svn path=/trunk/; revision=14615
* <ettore> ok so <ettore> should I build this tarball again? ettore doesn'tDan Winship2001-11-062-1/+2
| | | | | | | | | <ettore> ok so <ettore> should I build this tarball again? * ettore doesn't think so <ettore> I have checked it already earlier today svn path=/trunk/; revision=14607
* add a changed signal (e_meeting_time_selector_construct): emit changedJP Rosevear2001-11-062-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-05 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_class_init): add a changed signal (e_meeting_time_selector_construct): emit changed signal (e_meeting_time_selector_set_meeting_time): ditto (e_meeting_time_selector_set_all_day): set the all day setting (e_meeting_time_selector_autopick): emit changed signal (e_meeting_time_selector_find_nearest_interval): find proper interval when in all day mode (e_meeting_time_selector_find_nearest_interval_backward): ditto (e_meeting_time_selector_drag_meeting_time): for all day events, move the time when past the 12 hour mark, and and always make sure 1 full day is selected, emit changed signal when appropriate (e_meeting_time_selector_update_start_date_edit): set date and time of day together (e_meeting_time_selector_update_end_date_edit): ditto, and adjust display time if all day event * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_draw): remove unused variable (e_meeting_time_selector_item_button_press): for all day mode, make the interval a whole day * gui/dialogs/schedule-page.c (update_time): set the meeting time selector setting instead of manual mucking with the e-date-edit widgets (init_widgets): listen to the changed signal of the meeting time selector instead of propagating multiple events as it updates * gui/dialogs/event-page.c (update_time): block time zone change signals svn path=/trunk/; revision=14601
* Argh, missing commit from yesterday to fix building of the tarball.Ettore Perazzoli2001-11-021-1/+1
| | | | svn path=/trunk/; revision=14563
* Added rules to generate `Evolution-Addressbook-SelectNames.h'.Ettore Perazzoli2001-11-011-18/+32
| | | | | | | * gui/dialogs/Makefile.am: Added rules to generate `Evolution-Addressbook-SelectNames.h'. svn path=/trunk/; revision=14549
* #include <string.h>Federico Mena Quintero2001-10-311-0/+1
| | | | | | | | 2001-10-31 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/alarm-options.c: #include <string.h> svn path=/trunk/; revision=14540
* disconnect signals added in append_page(). Fixes Gtk-Critical warningDamon Chaplin2001-10-311-0/+5
| | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/comp-editor.c (comp_editor_remove_page): disconnect signals added in append_page(). Fixes Gtk-Critical warning about GtkAccelGroup being added twice to a window. svn path=/trunk/; revision=14518
* Add _() to a string that was missing it.Federico Mena Quintero2001-10-311-1/+1
| | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/meeting-page.c (meeting_page_fill_component): Add _() to a string that was missing it. svn path=/trunk/; revision=14491
* Commit the ETable click-to-add for if the dialog is being destroyed.Federico Mena Quintero2001-10-311-1/+23
| | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/meeting-page.c (table_canvas_focus_out_cb): Commit the ETable click-to-add for if the dialog is being destroyed. Should fix bug #13959. svn path=/trunk/; revision=14481
* move in whole day increments if we are in all day modeJP Rosevear2001-10-311-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel-item.c (e_meeting_time_selector_item_button_press): move in whole day increments if we are in all day mode * gui/e-meeting-time-sel.c (e_meeting_time_selector_on_start_time_changed): get rid of localtime call (e_meeting_time_selector_on_end_time_changed): ditto (e_meeting_time_selector_update_start_date_edit): set the date editor using the meeting time fields directly (e_meeting_time_selector_update_end_date_edit): ditto * gui/dialogs/schedule-page.c (update_time): do the set_show_time stuff first * conduits/calendar/calendar-conduit.c (process_multi_day): don't adjust the time, set the default timezone for date values svn path=/trunk/; revision=14475
* count the actual attendees (doesn't include people delegatingJP Rosevear2001-10-311-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 JP Rosevear <jpr@ximian.com> * gui/e-meeting-model.c (e_meeting_model_count_actual_attendees): count the actual attendees (doesn't include people delegating * gui/e-meeting-time-sel.c: use e_meeting_model_count_actual_attendees (renamed) * gui/e-meeting-time-sel-item.c: use e_meeting_model_etable_view_to_model_row calls instead of calling on the model directly, use e_meeting_model_count_actual_attendees * gui/e-meeting-model.c (e_meeting_model_etable_model_to_view_row): get the real mapping (e_meeting_model_etable_view_to_model_row): ditto (get_key): e-table-without callback (duplicate_key): ditto (free_gotten_key): ditto (free_duplicated_key): ditto (init): create without model (e_meeting_model_etable_from_model): build etable from without model * gui/e-meeting-model.h: update protos * gui/dialogs/meeting-page.c (right_click_cb): convert row from view to model row svn path=/trunk/; revision=14462
* set to the default timezone for DATE values, in case the user switches toDamon Chaplin2001-10-301-10/+9
| | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): set to the default timezone for DATE values, in case the user switches to a DATE-TIME. svn path=/trunk/; revision=14461
* handle DATE values for Start and Due dates.Damon Chaplin2001-10-301-30/+60
| | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c: handle DATE values for Start and Due dates. svn path=/trunk/; revision=14460
* updated code to handle DATE values.Damon Chaplin2001-10-303-23/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 Damon Chaplin <damon@ximian.com> * gui/dialogs/schedule-page.c: * gui/dialogs/event-page.c: * gui/dialogs/comp-editor-util.c: updated code to handle DATE values. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): * gui/e-day-view.c (e_day_view_key_press): updated DATE code. * gui/e-cell-date-edit-text.c: * gui/calendar-model.c: updated to support DATE values. * cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): updated to use DATE values in same way as Outlook - i.e. the DTEND date is not included entirely. Though I did make it so that if the DTSTART and DTEND used the same DATE value, it includes the entire day. So 1-day events should be the same. Long All-Day events will be 1 day shorter. * cal-util/cal-component.c (cal_component_get_start_plus_duration): don't subtract a day from the end date. * gui/tasks-control.c: updated the EPixmap paths for Cut/Copy etc. Removed Print & Print Preview paths, since we don't have menu commands for these any more. svn path=/trunk/; revision=14456
* Fix bug #10016.Federico Mena Quintero2001-10-303-151/+138
| | | | | | | | | | | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> Fix bug #10016. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): Use bonobo_ui_util_set_ui() instead of doing things by hand. Hmmm, if only that function had a way of telling us whether it failed so that we could avoid setting the verb list... * gui/dialogs/event-editor.c (event_editor_init): Do not pass the filename with the full path so that Bonobo can find it in a smart way. * gui/dialogs/task-editor.c (task_editor_init): Likewise. svn path=/trunk/; revision=14447
* Use an EMessageBox instead of a gnome_dialog_question so that the labelFederico Mena Quintero2001-10-302-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-30 Federico Mena Quintero <federico@ximian.com> * gui/dialogs/delete-comp.c (delete_component_dialog): Use an EMessageBox instead of a gnome_dialog_question so that the label gets line breaking. Fixes bug #11260. 2001-10-29 Federico Mena Quintero <federico@ximian.com> Fix bug #13649. * gui/calendar-config.c (calendar_config_get_use_default_reminder): New function. (calendar_config_set_use_default_reminder): New function. (calendar_config_get_default_reminder_interval): New function. (calendar_config_set_default_reminder_interval): New function. (calendar_config_get_default_reminder_units): New function. (calendar_config_set_default_reminder_units): New function. (config_read): Get the options for default reminders. (calendar_config_write): Set the options for default reminders. * gui/dialogs/cal-prefs-dialog.c (cal_prefs_dialog_show_config): Set the default reminder widgets from the config values. (cal_prefs_dialog_update_config): Set the config values from the widgets. * gui/comp-util.c (cal_comp_event_new_with_defaults): New function; creates a VEVENT component with the default alarm. * gui/e-day-view.c (e_day_view_key_press): Use cal_comp_event_new_with_defaults (); * gui/e-week-view.c (e_week_view_key_press): Likewise. * gui/calendar-model.c (calendar_model_append_row): Likewise. * gui/comp-editor-factory.c (get_default_component): Likewise. * gui/gnome-cal.c (gnome_calendar_new_appointment_for): Likewise. * cal-util/cal-component.c (ensure_alarm_properties_cb): Ensure we have a DESCRIPTION property. (cal_component_commit_sequence): Ensure we have the mandatory alarm properties. svn path=/trunk/; revision=14446
* use libical-evolution.laDamon Chaplin2001-10-303-13/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * importers/Makefile.am (evolution_calendar_importer_LDADD): * gui/Makefile.am (evolution_calendar_LDADD): * cal-util/Makefile.am (test_recur_LDADD): * cal-client/Makefile.am (client_test_LDADD): use libical-evolution.la * gui/dialogs/schedule-page.c: save the timezone passed in for the start time, so if our times are changed we use this. Also, if the end time was passed in in a different timezone, convert it. Also hide the time fields for DATE values. Note that DATE values still do not work. * gui/dialogs/meeting-page.glade: changed "Invite Others" to "Invite Others..." to be consistent with the other page. * gui/dialogs/event-page.c (times_updated): (all_day_event_toggled_cb): set is_date if appropriate. * gui/e-itip-control.c (write_label_piece): convert all UTC times to the current timezone. Outlook sends simple, non-recurring, events as UTC times, which isn't very useful. svn path=/trunk/; revision=14397
* get the management object by idJP Rosevear2001-10-301-1/+0
| | | | | | | | | | | | 2001-10-29 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit-config.h (todoconduit_load_configuration): get the management object by id * conduits/calendar/calendar-conduit-config.h (calconduit_load_configuration): ditto svn path=/trunk/; revision=14353
* added break statements after each case, when setting the classification.Damon Chaplin2001-10-291-0/+6
| | | | | | | | | | 2001-10-28 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c (task_page_fill_widgets): added break statements after each case, when setting the classification. Fixes bug #13772. svn path=/trunk/; revision=14307
* get the tasks directly from the CalendarModel, so we get the filtering &Damon Chaplin2001-10-291-2/+0
| | | | | | | | | | | | | | | | | | | | | 2001-10-28 Damon Chaplin <damon@ximian.com> * gui/print.c (print_todo_details): get the tasks directly from the CalendarModel, so we get the filtering & sorting for free. Fixes bug #10280. Hmm. This seems too easy. It isn't going to work is it... * gui/gnome-cal.c (gnome_calendar_get_task_pad): new function to get the TaskPad ECalendarTable, for printing. * gui/calendar-model.c: * gui/calendar-config.c (calendar_config_get_hide_completed_tasks_sexp): split this out from calendar-model.c so we could use it for printing, but ended up doing that a different way. * gui/dialogs/task-page.c (init_widgets): removed a duplicated signal connected to field_changed_cb(). svn path=/trunk/; revision=14302
* when the week start day is set to Sunday, we have to be careful to makeDamon Chaplin2001-10-281-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-27 Damon Chaplin <damon@ximian.com> * gui/print.c (print_week_view): (range_selector_new): when the week start day is set to Sunday, we have to be careful to make sure we print the correct week, since the previous Saturday is actually printed first. Fixes bug #13687. (print_week_summary): always set compress_weekend to true if multi_week_view is FALSE (i.e. we are printing the week view). Fixes bug #13688. * gui/e-itip-control.c (send_freebusy): use the timezones from the DTSTART and DTEND. (write_label_piece): output the date-time and the timezone after it. Note that we may want to convert it to the current timezone and display that as well. Also converted COMPLETED to the current timezone. And fixed all uses of old timezone functions. * gui/dialogs/comp-editor.c (commit_all_fields): added function to set the focus in the window to NULL, so all fields lose their focus, so they emit "changed" signals and update their values if needed. We call this when most menu commands are used, e.g. 'Save and Close', 'Print' etc. Fixes bug #11434. In future we should also check fields are valid and show dialogs if they are not. * gui/calendar-model.c (get_completed): use the completed value properly. Fixes bug #13694. * cal-util/timeutil.c (icaltimetype_to_tm_with_zone): don't check from_zone and to_zone != NULL. A NULL zone is valid, it is for floating times. svn path=/trunk/; revision=14266