aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #72835Rodrigo Moya2005-03-041-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2005-03-04 Rodrigo Moya <rodrigo@novell.com> Fixes #72835 * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog): changed to return the dialog we create, and to run in the background. (dialog_response_cb): response callback for the dialog. * gui/alarm-notify/alarm-queue.c (alarm_queue_done): don't g_assert, just check for midnight_refresh pointer, and clear it up if not NULL. Also, traverse all clients with g_hash_table_foreach_remove. (free_client_alarms_cb, alarm_queue_remove_client, load_alarms): added missing cleanup code. (queue_midnight_refresh): don't g_assert, just check for midnigh_refresh pointer and clear it up if not NULL. (open_alarm_dialog): store the dialog returned by alarm_notify_dialog(). (tray_icon_destroyed_cb): destroy the dialog if still around. svn path=/trunk/; revision=28956
* Fixes #69556 Add missing call to attach_mime_part.Harish Krishnaswamy2005-03-011-0/+7
| | | | | | | | | | | 2005-02-28 Harish Krishnaswamy <kharish@novell.com> Fixes #69556 * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_attach_mime_part): Add missing call to attach_mime_part. svn path=/trunk/; revision=28923
* Fixes #72928Rodrigo Moya2005-03-011-0/+9
| | | | | | | | | | | | | 2005-02-28 Rodrigo Moya <rodrigo@novell.com> Fixes #72928 * gui/alarm-notify/notify-main.c (main): don't call alarm_queue_done... * gui/alarm-notify/alarm-notify.c (alarm_notify_finalize): ...do it at the same level than alarm_queue_init. svn path=/trunk/; revision=28922
* revert fix for 70000, its a ui changeJP Rosevear2005-03-011-0/+5
| | | | | | | | | 2005-02-28 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_goto_today): revert fix for 70000, its a ui change svn path=/trunk/; revision=28919
* Connect the signal to "event", and open the attachment only if its aChenthill Palanisamy2005-03-011-0/+6
| | | | | | | | | | 2005-02-28 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/comp-editor.c: (attachment_bar_icon_clicked_cb), (setup_widgets): Connect the signal to "event", and open the attachment only if its a double click from the cal attachment bar. svn path=/trunk/; revision=28916
* Fixes #72958 If the backend returns success, if the delay delivery is set,Chenthill Palanisamy2005-02-281-0/+8
| | | | | | | | | | | | 2005-02-28 Chenthill Palanisamy <pchenthill@novell.com> Fixes #72958 * gui/dialogs/comp-editor.c: (save_comp): If the backend returns success, if the delay delivery is set, do not show them in the view, since it will not be created in the server. svn path=/trunk/; revision=28914
* Make sure the base uri is same as the one migration code uses. Avoids twoSivaiah Nallagatla2005-02-261-0/+7
| | | | | | | | | | | 2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/calendar-component.c (ensure_sources) : Make sure the base uri is same as the one migration code uses. Avoids two "On This Computer" groups when both migration and this code runs. svn path=/trunk/; revision=28890
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* Fixes #70000JP Rosevear2005-02-241-0/+7
| | | | | | | | | | | 2005-02-23 JP Rosevear <jpr@novell.com> Fixes #70000 * gui/gnome-cal.c (gnome_calendar_goto_today): set the view type to day view svn path=/trunk/; revision=28870
* Fixes #72006Chenthill Palanisamy2005-02-231-0/+9
| | | | | | | | | | | | | 2005-02-23 Chenthill Palanisamy <pchenthill@novell.com> Fixes #72006 * gui/dialogs/comp-editor.c: (real_edit_comp): * gui/dialogs/event-editor.c: (show_meeting): * gui/dialogs/task-editor.c: (show_assignment): Reset the changed state, to suppress the promt_to_changes dialog when the fields are not changed. svn path=/trunk/; revision=28868
* Add one more bug to the ChangeLogJP Rosevear2005-02-231-1/+1
| | | | svn path=/trunk/; revision=28852
* Fixes #63866, #67714, #62089, #47747, #61495JP Rosevear2005-02-231-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-21 JP Rosevear <jpr@novell.com> Fixes #63866, #67714, #62089, #47747, #61495 * gui/e-select-names-renderer.h: update signal * gui/e-select-names-renderer.c (e_select_names_renderer_editing_done): emit the cancelled signal properly and don't update if it was cancelled (e_select_names_renderer_focus_out_event): if the cell loses focus the editing is done (e_select_names_renderer_start_editing): listen for focus out event, and only set the address if appropriate (e_select_names_renderer_get_property): handle name/email props (e_select_names_renderer_set_property): ditto (e_select_names_renderer_finalize): free name/email (e_select_names_renderer_class_init): install name/email props; cell_edited returns lists now * gui/e-select-names-editable.h: update protos * gui/e-select-names-editable.c: don't really override any of the gtkentry editable cell routines since we directly inherit from ENameSelectorEntry (e_select_names_editable_get_emails): get all the email addresses (e_select_names_editable_get_names): get all the names (e_select_names_editable_set_address): set the destination correctly for editing * gui/e-meeting-list-view.c (attendee_edited_cb): handle a blank entry by removing it and don't allow an entry that already exists to be entered (attendee_editing_canceled_cb): if the item editing is cancelled and it has no name or email address, remove it (process_section): if the contact has multiple addresses (ie a mailing list), expand the entries * gui/e-calendar-marshal.list: add new marshaller svn path=/trunk/; revision=28851
* Make sure all the default source groups and sources are present by addingSivaiah Nallagatla2005-02-221-0/+16
| | | | | | | | | | | | | | | | | | | 2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> * gui/calendar-component.c (ensure_sources) : Make sure all the default source groups and sources are present by adding missing ones. Also update the base uri of "On This Computer" group to take care of change in user home dir. (calendar_component_init) : call ensure_sources * gui/tasks-component.c (ensure_sources) (tasks_component_init) : ditto Takes care of #67411 & #67724 for calendar and tasks components. svn path=/trunk/; revision=28840
* if opening the calendar failed, disconnect signals and unref it.Rodrigo Moya2005-02-181-0/+5
| | | | | | | | | 2005-02-18 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-notify.c (cal_opened_cb): if opening the calendar failed, disconnect signals and unref it. svn path=/trunk/; revision=28810
* added a boolean variable is_meeting. added a boolean variableChenthill Palanisamy2005-02-181-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2005-02-18 Chenthill Palanisamy <pchenthill@novell.com> * _EventPagePrivate: added a boolean variable is_meeting. * _TaskPagePrivate: added a boolean variable is_assignment. * gui/dialogs/task-page.h: * gui/dialogs/event-page.h: Added a function to set the is_meeting boolean variable. * gui/dialogs/event-editor.c: (show_meeting): * gui/dialogs/task-editor.c: (show_assignment): Called the function to set the boolean variable. * gui/dialogs/event-page.c: (event_page_init), (event_page_set_meeting), (source_changed_cb): * gui/dialogs/task-page.c: (task_page_init), (task_page_set_assignment), (source_changed_cb): If the source is changed and only if its a group event show the send options frame. * gui/gnome-cal.c: (client_cal_opened_cb): Do not popup the offline error dialog for tasks. svn path=/trunk/; revision=28809
* check return value from e_cal_new, to display a better warning message.Rodrigo Moya2005-02-161-0/+5
| | | | | | | | | 2005-02-15 Rodrigo Moya <rodrigo@novell.com> * gui/migration.c (migrate_ical_folder_to_source): check return value from e_cal_new, to display a better warning message. svn path=/trunk/; revision=28800
* Fixes #72038Rodrigo Moya2005-02-151-0/+7
| | | | | | | | | | | 2005-02-11 Rodrigo Moya <rodrigo@novell.com> Fixes #72038 * gui/itip-utils.c (itip_send_comp): when we get no recipients, don't send the message and return an error. svn path=/trunk/; revision=28798
* Remove the component from the view, if its already present before addingChenthill Palanisamy2005-02-101-0/+6
| | | | | | | | | | 2005-02-10 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-cal-model.c: (e_cal_view_objects_added_cb): Remove the component from the view, if its already present before adding it. svn path=/trunk/; revision=28763
* Always remove the meeting and scheduling pages when there are noHarish Krishnaswamy2005-02-091-0/+7
| | | | | | | attendees. This allows the sender to be added to the attendees list by default while creating new meetings. svn path=/trunk/; revision=28756
* set instance times correctly.Rodrigo Moya2005-02-081-0/+4
| | | | | | | | 2005-02-08 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): set instance times correctly. svn path=/trunk/; revision=28747
* Fixes #61075JP Rosevear2005-02-081-0/+7
| | | | | | | | | | | 2005-02-07 JP Rosevear <jpr@novell.com> Fixes #61075 * gui/apps_evolution_calendar.schemas.in.in: add long descriptions and clean up short items svn path=/trunk/; revision=28741
* add messages for calendar/tasks not marked for offline usage.Harish Krishnaswamy2005-02-051-0/+10
| | | | | | | | | | | * calendar-errors.xml: * calendar-errors.xml.h: * gui/e-tasks.c: (client_cal_opened_cb): * gui/gnome-cal.c: (client_cal_opened_cb), (default_client_cal_opened_cb): add messages for calendar/tasks not marked for offline usage. svn path=/trunk/; revision=28718
* fix the dnd woes on calendar attachments. gui/dialogs/cal-attachment-bar.cHarish Krishnaswamy2005-02-051-0/+10
| | | | | | | | | | | | * gui/dialogs/comp-editor.c (attach_message), (drop_action), (drop_popup_copy), (drop_popup_move), (drop_popup_cancel), (drop_popup_free), (drag_data_received), (drag_motion), (comp_editor_class_init), (comp_editor_init), (real_edit_comp): fix the dnd woes on calendar attachments. * gui/dialogs/cal-attachment-bar.c * (add_from_file): reuse mail composer's error message. svn path=/trunk/; revision=28715
* Add a11y name for attachment button and bars.Harry Lu2005-02-051-0/+7
| | | | | | | | | | | 2005-02-04 Harry Lu <harry.lu@sun.com> Add a11y name for attachment button and bars. * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_new): * gui/dialogs/comp-editor.c: (setup_widgets): svn path=/trunk/; revision=28714
* Add a string to CompEditorPrivate to store the name of the help section weRodney Dawes2005-02-041-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2005-02-04 Rodney Dawes <dobey@novell.com> * gui/dialogs/comp-editor.[ch]: Add a string to CompEditorPrivate to store the name of the help section we need to refer for derived dialogs (response_cb): Handle the GTK_RESPONSE_HELP response and show help (setup_widgets): Add a button to the dialog for Help (comp_editor_init): Default to the "usage-calendar" help section (comp_editor_finalize): Free the help_section variable (comp_editor_show_help): Add a new method to actually open the help (comp_editor_set_help_section): Add a method for derivatives to set the help section they want to open * gui/dialogs/event-editor.c (event_editor_init): Set the help section we want to open for the event editor to "usage-calendar-apts" * gui/dialogs/task-editor.c (task_editor_init): Set the help section we want to open for the event editor to "usage-calendar-todo" svn path=/trunk/; revision=28710
* clear the component preview when we update the view.Rodrigo Moya2005-02-041-0/+8
| | | | | | | | | | | | 2005-02-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (update_view): clear the component preview when we update the view. * gui/e-cal-model.c (set_instance_times): use the correct timezone. Removed commented code. svn path=/trunk/; revision=28708
* Fixes #71265Rodrigo Moya2005-02-041-0/+8
| | | | | | | | | | | | 2005-02-04 Rodrigo Moya <rodrigo@novell.com> Fixes #71265 * gui/e-week-view.c (e_week_view_remove_event_cb): * gui/e-day-view.c (e_day_view_remove_event_cb): if we remove the event we were editing, update internal pointers. svn path=/trunk/; revision=28707
* calendar-errors.xml.h changed the warning message string forVivek Jain2005-02-041-0/+6
| | | | | | | | | | 2005-02-04 Vivek Jain <jvivek@novell.com> * calendar-errors.xml.h * calendar-errors.xml : changed the warning message string for server-version svn path=/trunk/; revision=28705
* Fix for #56901Yong Sun2005-02-041-0/+7
| | | | | | | | | | | 2005-02-04 Yong Sun <yong.sun@sun.com> Fix for #56901 * gui/print.c: (bound_text): When the width>maxwidth, the pointer 'p' should also be backwarded, same as 'o'. svn path=/trunk/; revision=28700
* Update to include new strings from the calendar-errors.xml fileRodney Dawes2005-02-041-0/+5
| | | | | | | | | 2005-02-03 Rodney Dawes <dobey@novell.com> * calendar-errors.xml.h: Update to include new strings from the calendar-errors.xml file svn path=/trunk/; revision=28692
* add a11y name to url. add a11y name to date completed. add a11y names toLi Yuan2005-02-031-0/+9
| | | | | | | | | | | | | 2005-02-03 Li Yuan <li.yuan@sun.com> * gui/dialogs/task-details-page.c: (get_widgets): add a11y name to url. * gui/dialogs/task-details-page.glade: add a11y name to date completed. * gui/dialogs/task-page.glade: add a11y names to due date and start date. svn path=/trunk/; revision=28687
* added a warning message for invalid server version added a case to checkVivek Jain2005-02-031-0/+8
| | | | | | | | | | | | 2005-02-03 Vivek Jain <jvivek@novell.com> * calendar-errors.xml : added a warning message for invalid server version * gui/gnome-cal.c (default_client_cal_opened_cb) (client_cal_opened_cb): added a case to check the call status and display warning svn path=/trunk/; revision=28686
* Set the border width for the internal dialog containers to be HIGRodney Dawes2005-02-031-0/+14
| | | | | | | | | | | | | | | | | | 2005-02-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/alarm-dialog.c (alarm_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant * gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): Set the border width for the internal dialog containers to be HIG compliant * gui/dialogs/alarm-list-dialog.glade: Remove the separator in the dialog and fix some spacing/padding issues to be HIG compliant svn path=/trunk/; revision=28681
* Fixes #72090Rodrigo Moya2005-02-021-0/+7
| | | | | | | | | | | 2005-02-02 Rodrigo Moya <rodrigo@novell.com> Fixes #72090 * gui/calendar-component.c (impl_handleURI): don't assume the URI is always correct. svn path=/trunk/; revision=28677
* Clean up the spacing and padding, and shove the notebook and expanderRodney Dawes2005-02-021-0/+9
| | | | | | | | | | | | | 2005-02-01 Rodney Dawes <dobey@novell.com> * gui/dialogs/comp-editor.c (setup_widgets): Clean up the spacing and padding, and shove the notebook and expander arrow into a vbox so that we can be HIG compliant (comp_editor_init): Remove the separator from the "dialog" and set the border width for the internal dialog widgets appropriately to be compliant with the HIG for dialog borders svn path=/trunk/; revision=28662
* fix typoJP Rosevear2005-02-021-0/+6
| | | | | | | | | | 2005-02-01 JP Rosevear <jpr@novell.com> * gui/e-tasks.c (e_tasks_destroy): fix typo * gui/gnome-cal.c (gnome_calendar_destroy): ditto svn path=/trunk/; revision=28661
* add correct mask for detached recurrences.Rodrigo Moya2005-02-011-0/+6
| | | | | | | | | | 2005-02-01 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-menu.c (e_cal_menu_target_new_select): * gui/e-cal-popup.c (e_cal_popup_target_new_select): add correct mask for detached recurrences. svn path=/trunk/; revision=28660
* only add real data to the array.Rodrigo Moya2005-02-011-0/+6
| | | | | | | | | | 2005-02-01 Rodrigo Moya <rodrigo@novell.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands): only add real data to the array. svn path=/trunk/; revision=28658
* Fixes #71944JP Rosevear2005-02-011-0/+7
| | | | | | | | | | | 2005-02-01 JP Rosevear <jpr@novell.com> Fixes #71944 * gui/e-tasks.c: declare config_categories_changed_cb before its used svn path=/trunk/; revision=28652
* And the changelog entry.Hans Petter2005-02-011-0/+5
| | | | svn path=/trunk/; revision=28648
* Remove definition of CalObjUID and include that fromHans Petter Jansson2005-02-011-0/+6
| | | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * idl/evolution-calendar.idl: Remove definition of CalObjUID and include that from Evolution-DataServer-Calendar.idl instead. This prevents the typecode from being defined twice. svn path=/trunk/; revision=28642
* Use guint instead of ulong for signal ID.Hans Petter Jansson2005-02-011-0/+5
| | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * gui/e-cal-config.c (_ECalConfigPrivate): Use guint instead of ulong for signal ID. svn path=/trunk/; revision=28640
* Fixes #61078Priit Laes2005-01-311-0/+6
| | | | | | | | | | 2005-01-31 Priit Laes <amd@tt.ee> Fixes #61078 * gui/dialogs/task-page.glade: use consistent style for markup. svn path=/trunk/; revision=28629
* Fixes #64682 Added an X property to identify if the appointment is movedChenthill Palanisamy2005-01-311-0/+7
| | | | | | | | | | | 2005-01-31 Chenthill Palanisamy <pchenthill@novell.com> Fixes #64682 * gui/e-calendar-view.c: (transfer_item_to): Added an X property to identify if the appointment is moved from another calendar. svn path=/trunk/; revision=28627
* Fixes #71452JP Rosevear2005-01-291-0/+8
| | | | | | | | | | | | 2005-01-28 JP Rosevear <jpr@novell.com> Fixes #71452 * gui/dialogs/comp-editor.c (setup_widgets): listen for delete_event signal and handle it outside of the response signal so that cancel works properly svn path=/trunk/; revision=28605
* use correct key name.Rodrigo Moya2005-01-291-0/+5
| | | | | | | | | 2005-01-28 Rodrigo Moya <rodrigo@novell.com> * gui/e-tasks.c (setup_widgets): * gui/gnome-cal.c (setup_widgets): use correct key name. svn path=/trunk/; revision=28600
* Fixes #33078Rodrigo Moya2005-01-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Rodrigo Moya <rodrigo@novell.com> Fixes #33078 * gui/gnome-cal.c: deal now with categories entirely here, no more "categories_changed" signal from the backends. (free_categories, add_categories, append_category_cb, client_categories_changed_cb, copy_categories): removed. (gnome_calendar_add_source): don't connect to removed signal. (gnome_calendar_destroy): destroy the config listener. (gnome_calendar_init): create a listener for the categories list GConf key. (config_categories_changed_cb): callback for configuration changes in category list. (setup_widgets): initialize the search bar with categories from the configuration. * gui/e-tasks.c (client_categories_changed_cb, e_tasks_add_todo_source, e_tasks_init, config_categories_changed_cb, e_tasks_destroy, setup_widgets): same as gnome-cal.c. svn path=/trunk/; revision=28599
* Fixes #71485JP Rosevear2005-01-271-0/+13
| | | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> Fixes #71485 * calendar-errors.xml: fix paste-o svn path=/trunk/; revision=28570
* objects returned from e_cal_get_objects_for_uid are ECalComponent's, soRodrigo Moya2005-01-261-0/+6
| | | | | | | | | | 2005-01-26 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): objects returned from e_cal_get_objects_for_uid are ECalComponent's, so use g_object_unref to free them, not icalcomponent_free. svn path=/trunk/; revision=28562
* use full name for the weekday checkbox.Li Yuan2005-01-261-0/+8
| | | | | | | | | | | 2005-01-26 Li Yuan <li.yuan@sun.com> * gui/dialogs/cal-prefs-dialog.glade: use full name for the weekday checkbox. Fixes #71729. svn path=/trunk/; revision=28561
* make sure we free the user listJP Rosevear2005-01-261-0/+5
| | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (itip_send_comp): make sure we free the user list svn path=/trunk/; revision=28559
* add a11y name to task table.Li Yuan2005-01-251-0/+5
| | | | | | | | | 2005-01-25 Li Yuan <li.yuan@sun.com> * gui/e-calendar-table.c: (e_calendar_table_init): add a11y name to task table. svn path=/trunk/; revision=28550
* if there are detached instances, disable recurrence date widgets.Rodrigo Moya2005-01-241-0/+5
| | | | | | | | | 2005-01-24 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/recurrence-page.c (sensitize_buttons): if there are detached instances, disable recurrence date widgets. svn path=/trunk/; revision=28525
* Fixes #46404JP Rosevear2005-01-221-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/tasks-control.c (tasks_control_print_cmd): just call print tasks, we don't do the dialog here * gui/print.h: update protos * gui/print.c (print_calendar): use e_print routines for config and dialog and make copies and range settings properly available (print_comp): ditto (print_table): bring up dialog here so that printing for calendar list view works correctly * gui/calendar-commands.c (print): pass extra params to print table svn path=/trunk/; revision=28490
* use receive_objects method instead of individually updating objects. SetRodrigo Moya2005-01-201-2/+3
| | | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-importer.c (update_objects): use receive_objects method instead of individually updating objects. Set the method on the VCALENDAR object we create. svn path=/trunk/; revision=28450
* use receive_objects method instead of individually updating objects.Rodrigo Moya2005-01-191-0/+5
| | | | | | | | | 2005-01-19 Rodrigo Moya <rodrigo@novell.com> * importers/icalendar-imporer.c (update_objects): use receive_objects method instead of individually updating objects. svn path=/trunk/; revision=28449
* Added bug numberRodrigo Moya2005-01-191-0/+2
| | | | svn path=/trunk/; revision=28442
* killed warnings. (e_week_view_start_editing_event): do nothing if theRodrigo Moya2005-01-191-0/+8
| | | | | | | | | | | | 2005-01-18 Rodrigo Moya <rodrigo@novell.com> * gui/e-week-view.c (process_component): killed warnings. (e_week_view_start_editing_event): do nothing if the calendar is read only. * gui/e-day-view.c (e_day_view_start_editing_event): ditto. svn path=/trunk/; revision=28440
* handle error conditions more gracefully.Harish Krishnaswamy2005-01-181-0/+6
| | | | | | | | | 2005-01-18 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/cal-attachment-bar.c (cal_attachment_bar_get_attachment_list): handle error conditions more gracefully. svn path=/trunk/; revision=28432
* use libedataserver's e-url.Rodrigo Moya2005-01-171-0/+10
| | | | | | | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/calendar-component.c: * gui/calendar-offline-handler.c: * gui/comp-editor-factory.c: * gui/e-tasks.c: * gui/gnome-cal.c: * gui/misc.c: * gui/alarm-notify/alarm-notify.c: use libedataserver's e-url. svn path=/trunk/; revision=28422
* Changed the title for the free/busy publishing settings dialog toNat Friedman2005-01-171-0/+6
| | | | | | | | | | 2005-01-17 Nat Friedman <nat@novell.com> * gui/dialogs/url-editor-dialog.glade: Changed the title for the free/busy publishing settings dialog to "Free/Busy Publishing Settings" (away from "Free/Busy Editor" which made no sense). svn path=/trunk/; revision=28421
* removed the e_day_view_... prefix in warning messages.Rodrigo Moya2005-01-171-0/+5
| | | | | | | | | 2005-01-17 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c (on_unrecur_appointment): removed the e_day_view_... prefix in warning messages. svn path=/trunk/; revision=28420
* fixed a kludge.Harish Krishnaswamy2005-01-171-0/+5
| | | | | | | * gui/dialogs/cal-attachment-bar.c (destroy): fixed a kludge. svn path=/trunk/; revision=28418
* Fixes #65820JP Rosevear2005-01-131-0/+6
| | | | | | | | | | 2005-01-12 JP Rosevear <jpr@novell.com> Fixes #65820 * gui/weekday-picker.c (get_day_text): add translator comment svn path=/trunk/; revision=28385
* set last_Edited_comp_string to NULL, not test it for null.Not Zed2005-01-121-0/+5
| | | | | | | | | 2005-01-08 Not Zed <NotZed@Ximian.com> * gui/e-day-view.c (e_day_view_finish_resize): set last_Edited_comp_string to NULL, not test it for null. svn path=/trunk/; revision=28371
* Reverted the previous fix to offset the hyphen whileHarish Krishnaswamy2005-01-121-0/+6
| | | | | | forming the filename. svn path=/trunk/; revision=28368
* remove the temporary object from the view when stopping editing.Rodrigo Moya2005-01-111-0/+7
| | | | | | | | | | | 2005-01-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): remove the temporary object from the view when stopping editing. * gui/e-week-view.c (e_week_view_on_editing_stopped): ditto. svn path=/trunk/; revision=28341
* offset the file name to account for the 'hyphen'.Harish Krishnaswamy2005-01-111-0/+6
| | | | | | | | * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_set_attachment_list): offset the file name to account for the 'hyphen'. svn path=/trunk/; revision=28337
* Missed to commit this file before.Chenthill Palanisamy2005-01-101-0/+6
| | | | | | | | | 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com> * backends/groupwise/e-cal-backends-groupwise-utils.h: Missed to commit this file before. svn path=/trunk/; revision=28317
* Modified cal-attachment-bar to allow the path to the local attachmentHarish Krishnaswamy2005-01-101-0/+14
| | | | | | | | | | | | | | | | * gui/dialogs/cal-attachment-bar.[ch]: (destroy), (init), (cal_attachment_bar_set_local_attachment_store), (cal_attachment_bar_get_attachment_list), (cal_attachment_bar_get_nth_attachment_filename), (cal_attachment_bar_set_attachment_list): Modified cal-attachment-bar to allow the path to the local attachment store be set externally, thereby hiding the storage policy of different backends from it. * gui/dialogs/comp-editor.c: * (real_edit_comp): set the local attachment store after obtaining it from the calendar. svn path=/trunk/; revision=28311
* handle calendar:// urisJP Rosevear2005-01-101-0/+5
| | | | | | | | | 2005-01-09 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (impl_handleURI): handle calendar:// uris svn path=/trunk/; revision=28303
* clear the attendees, somehow I remove this in an earlier commitJP Rosevear2005-01-081-0/+5
| | | | | | | | | 2005-01-07 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): clear the attendees, somehow I remove this in an earlier commit svn path=/trunk/; revision=28278
* put a name to the 'Send options' frame.Rodrigo Moya2005-01-081-0/+17
| | | | | | | | | | | | | | | | | | | | | 2005-01-07 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: put a name to the 'Send options' frame. * gui/dialogs/event-page.c (event_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (event_page_hide_options): just hide the frame. (event_page_show_options): just show the frame. * gui/dialogs/task-page.c (task_page_init): initialize reference to the 'Send options' frame. (get_widgets): get the 'Send options' frame from the .glade file. (task_page_hide_options): just hide the frame. (task_page_show_options): just show the frame. svn path=/trunk/; revision=28277
* initial import of ECalEvent targetsDavid Trowbridge2005-01-071-0/+6
| | | | | | | | | | 2005-01-06 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-event[hc]: initial import of ECalEvent targets * gui/migration.c (migrate_calendars): add component.migration event svn path=/trunk/; revision=28266
* install schemas properlyJP Rosevear2005-01-071-0/+4
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * gui/Makefile.am: install schemas properly svn path=/trunk/; revision=28260
* Commiting send optionsChenthill Palanisamy2005-01-061-0/+26
| | | | | | | | 2005-01-06 Chenthill Palanisamy <pchenthill@novell.com> Commiting send options svn path=/trunk/; revision=28252
* added a new argument to pass the calendar client, since it might happen toRodrigo Moya2005-01-051-0/+13
| | | | | | | | | | | | | | | | | 2005-01-05 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_find_event_from_uid): added a new argument to pass the calendar client, since it might happen to have events with the same UID on different calendars. (e_day_view_do_key_press, model_rows_deleted_cb): added new argument to e_day_view_find_event_from_uid. * gui/e-week-view.c (e_week_view_find_event_from_uid): same as e-day-view.c. (e_week_view_do_key_press, model_rows_deleted_cb): added new argument to e_week_view_find_event_from_uid. svn path=/trunk/; revision=28245
* use the new e-categories API in e-d-s.Rodrigo Moya2005-01-051-0/+5
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-component-preview.c (write_html): use the new e-categories API in e-d-s. svn path=/trunk/; revision=28236
* search our internal data for the correct event.Rodrigo Moya2005-01-051-0/+5
| | | | | | | | | 2005-01-04 Rodrigo Moya <rodrigo@novell.com> * gui/e-week-view.c (model_rows_deleted_cb): search our internal data for the correct event. svn path=/trunk/; revision=28234
* add a11y name to calendar sidebar selector. add a11y name to task sidebarHarry Lu2005-01-041-0/+7
| | | | | | | | | | | 2005-01-04 Harry Lu <harry.lu@sun.com> * gui/calendar-component.c: (create_component_view): add a11y name to calendar sidebar selector. * gui/tasks-component.c: (create_component_view): add a11y name to task sidebar selector. svn path=/trunk/; revision=28231
* Fixes #69663JP Rosevear2005-01-041-0/+7
| | | | | | | | | | | 2005-01-03 JP Rosevear <jpr@novell.com> Fixes #69663 * gui/e-cal-model-tasks.c (is_complete): look at the percent complete and status properties as well for completeness clues svn path=/trunk/; revision=28221
* redo the queries after emitting the 'time_range_changed' signal, since nowRodrigo Moya2005-01-031-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_time_range): redo the queries after emitting the 'time_range_changed' signal, since now the views will only update their internal data but not redraw the events on that signal. * gui/e-day-view.c (model_changed_cb): removed, no longer needed. (e_day_view_recalc_day_starts): no need to call e_day_view_update_query. (e_day_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. * gui/e-week-view.c (time_range_changed_cb): no need to call e_week_view_update_query. (model_changed_cb): removed, no longer needed. (e_week_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. svn path=/trunk/; revision=28214
* add necessary includeJP Rosevear2005-01-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2004-12-31 JP Rosevear <jpr@novell.com> * gui/dialogs/schedule-page.c: add necessary include * gui/dialogs/meeting-page.c (sensitize_widgets): kill warning * gui/dialogs/cal-prefs-dialog.c (template_url_changed): kill warning * gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm): kill warnings (init_widgets): ditto * gui/main.c (initialize): no need to init the config system now * gui/e-cell-date-edit-config.h: include date edit text header * gui/e-cal-config.c (ecp_target_free): kill warning * gui/calendar-config.c: clean up includes, internally initialize the config setup to make it easier for others; kill dead functions svn path=/trunk/; revision=28209
* removed superfluous if check. (e_cal_view_objects_modified_cb): add allRodrigo Moya2004-12-271-0/+4
| | | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (search_by_uid_and_client): removed superfluous if check. (e_cal_view_objects_modified_cb): add all objects at once. svn path=/trunk/; revision=28203
* set fields we free to NULL.Rodrigo Moya2004-12-271-0/+6
| | | | | | | | | 2004-12-26 Rodrigo Moya <rodrigo@novell.com> * gui/e-day-view.c (e_day_view_remove_event_cb): set fields we free to NULL. svn path=/trunk/; revision=28202
* typo correctionHarish Krishnaswamy2004-12-241-1/+1
| | | | svn path=/trunk/; revision=28197
* Check for the existence of the meet/sched pages before attempting toHarish Krishnaswamy2004-12-241-0/+5
| | | | | | | | | 2004-12-24 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/event-editor.c (event_editor_edit_comp): Check for the existence of the meet/sched pages before attempting to remove them. svn path=/trunk/; revision=28196
* Merging offline brnach with HEADSivaiah Nallagatla2004-12-241-0/+11
| | | | svn path=/trunk/; revision=28195
* get instance times using the correct timezone. (redo_queries): emitRodrigo Moya2004-12-231-0/+10
| | | | | | | | | | | | | | 2004-12-23 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): get instance times using the correct timezone. (redo_queries): emit signals before clearing the array. * gui/e-day-view.c (process_component): * gui/e-week-view.c (process_component): no need to try to update, always add. svn path=/trunk/; revision=28192
* Correct bad include.Hans Petter Jansson2004-12-231-0/+8
| | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * gui/e-select-names-editable.c: Correct bad include. * gui/dialogs/Makefile.am (IDL_GENERATED_H) (IDL_GENERATED) (BUILT_SOURCES): No longer needed, removed. svn path=/trunk/; revision=28187
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-231-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* prevent compare against null default_fb_uri and fix thinkoJP Rosevear2004-12-231-0/+5
| | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-meeting-store.c (freebusy_async): prevent compare against null default_fb_uri and fix thinko svn path=/trunk/; revision=28185
* Change copyright from ximian to novellJP Rosevear2004-12-221-0/+4
| | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> * gui/e-cal-model.c: Change copyright from ximian to novell svn path=/trunk/; revision=28182
* svn path=/trunk/; revision=28177Not Zed2004-12-221-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/tasks-component.c (popup_event_cb): * gui/gnome-cal.c (gnome_calendar_view_popup_factory): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): * gui/dialogs/meeting-page.c (button_press_event): * gui/calendar-component.c (popup_event_cb): svn path=/trunk/; revision=28177
* Fixes #61077JP Rosevear2004-12-221-0/+8
| | | | | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> Fixes #61077 * gui/dialogs/task-details-page.glade: remove extraneous tab * gui/dialogs/alarm-dialog.c: ditto svn path=/trunk/; revision=28174
* Fixes #61076JP Rosevear2004-12-221-0/+10
| | | | | | | | | | | | | | 2004-12-22 JP Rosevear <jpr@novell.com> Fixes #61076 * gui/comp-editor-factory.c (open_client): don't translate command line warnings * gui/calendar-offline-handler.c (backend_go_online): ditto (backend_go_offline): ditto svn path=/trunk/; revision=28173
* Fixes #41624JP Rosevear2004-12-221-0/+7
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #41624 * conduits/calendar/calendar-conduit.c (local_record_from_comp): append the exceptions, don't keep overwriting the first svn path=/trunk/; revision=28168
* no need to convert times now. (add_instance_cb): no need to convert here.Rodrigo Moya2004-12-221-0/+5
| | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (set_instance_times): no need to convert times now. (add_instance_cb): no need to convert here. svn path=/trunk/; revision=28167
* Merge from recurrences-work-branchRodrigo Moya2004-12-221-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 Rodrigo Moya <rodrigo@novell.com> Merge from recurrences-work-branch * gui/e-cal-model.c (free_comp_data): renamed to e_cal_model_free_component_data and made it public. (clear_objects_array, e_cal_view_objects_removed_cb, remove_client_objects): use e_cal_model_free_component_data. (get_dtstart): get the DTSTART correctly for recurrences. (add_instance_cb): initialize all members of ECalModelComponent, and use the correct icalcomponent when setting the field. (set_instance_times): new function to set the instance_* fields of the ECalModelComponent when not expanding recurrences. (e_cal_view_objects_added_cb): expand recurrences for all objects when the model is set to expand. Call set_instance_times when not expanding recurrences. (e_cal_view_objects_modified_cb): made it remove objects and re-add them. (copy_ecdv): check values before using them. (e_cal_model_copy_component_data): Added code to copy the instance_* and color fields. * gui/e-cal-model-calendar.c (get_dtend): get the DTEND correctly for recurrences. (ecmc_set_value_at): ask user which instances to modify. * gui/e-day-view.c (e_day_view_find_event_from_uid): changed to search by UID and RID if given. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_day_view_new): set the model to expand recurrences. (e_day_view_remove_event_cb): check the value searched in the array. (e_day_view_do_key_press): use e_day_view_find_event_from_uid correctly. * gui/e-week-view.c (e_week_view_find_event_from_uid): changed to search by UID and RID if given. (process_component_recur_cb): removed. (process_component): changed to not expand recurrences at all, this is now done on the model. (row_deleted_check_cb, remove_uid_cb): removed these functions. (model_rows_deleted_cb): changed to just remove the rows signalled from the model, which is the responsible for the recurrence expansion. (e_week_view_new): set the model to expand recurrences. (e_week_view_remove_event_cb): check the value searched in the array. Set the ECalModelComponent field to NULL after freeing it. (e_week_view_do_key_press): use e_week_view_find_event_from_uid correctly. * gui/dialogs/recur-comp.c (recur_component_dialog): remove the RECURRENCE-ID from the object when modifying all instances. svn path=/trunk/; revision=28166
* Add schema for Free/Busy template uri.James Bowes2004-12-181-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-18 James Bowes <bowes@cs.dal.ca> * gui/apps_evolution_calendar.schemas.in.in: Add schema for Free/Busy template uri. * gui/calendar-config-keys.h: * gui/calendar-config.c: (calendar_config_get_free_busy_template), (calendar_config_set_free_busy_template), (calendar_config_add_notification_free_busy_template): * gui/calendar-config.h: Functions to get, set and monitor the Free/Busy template uri gconf setting. * gui/dialogs/cal-prefs-dialog.c: (template_url_changed), (setup_changes), (get_widgets), (show_fb_config): * gui/dialogs/cal-prefs-dialog.glade: * gui/dialogs/cal-prefs-dialog.h: Change 'Free/Busy Publish' tab to 'Free/Busy'. Add an entry for setting the default Free/Busy uri. Only change the gconf setting on 'focus out' event * gui/e-meeting-store.c: (refresh_queue_remove): Check the hash using the attendee's mailto: address, rather than the memory address of the attendee object as the key. (e_meeting_store_get_fb_uri), (e_meeting_store_set_fb_uri): Get and set the EMeetingStore's Free/Busy template string. (process_callbacks_main_thread), (process_callbacks): Process callbacks in the main thread, so that widgets can be redrawn properly. (replace_string): Utility function for replacing wildcards in the default Free/Busy uri. (ems_finalize), (ems_init), (freebusy_async), (refresh_busy_periods), (refresh_queue_add), (e_meeting_store_refresh_busy_periods): Add the ability to check for Free/Busy information from a default location, if all else fails. (start_async_read): Use gnome-vfs to read the Free/Busy information. * gui/e-meeting-store.h: Add function prototypes for get and set fb_uri * gui/e-meeting-time-sel.c: (e_meeting_time_selector_init), (e_meeting_time_selector_destroy), (free_busy_timeout_refresh), (free_busy_template_changed_cb): Watch for a change in the Free/Busy template gconf setting, and check for new Free/Busy data if it occurs. * gui/e-meeting-time-sel.h: Include variable for notification function id on changes to the Free/Busy uri in the EMeetingTimeSelector . svn path=/trunk/; revision=28151
* Add callback function for doing ngettext on the "minutes" labelRodney Dawes2004-12-181-0/+9
| | | | | | | | | | | | | 2004-12-17 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (an_minutes_update_label): Add callback function for doing ngettext on the "minutes" label (alarm_notify_dialog): Get the "minutes" label from the glade file and set the callback for its "value_changed" signal Fixes #47535 svn path=/trunk/; revision=28146
* Correct some white space ugliness in the previous commit.Harish Krishnaswamy2004-12-141-0/+5
| | | | | | | | | 2004-12-13 Harish Krishnaswamy <kharish@novell.com> * gui/dialogs/calendar-setup.c : Correct some white space ugliness in the previous commit. svn path=/trunk/; revision=28116
* +2004-12-10 Vivek Jain <jvivek@novell.com>Jain Vivek2004-12-131-0/+5
| | | | | | | * gui/dialogs/calendar-setup.c : Changed the window title based upon the source. svn path=/trunk/; revision=28112
* keep a local copy of the ECal.Rodrigo Moya2004-12-091-0/+5
| | | | | | | | | 2003-12-09 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c (on_unrecur_appointment): keep a local copy of the ECal. svn path=/trunk/; revision=28101
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* update the query so currently held events can be cleared off.Harish Krishnaswamy2004-12-081-0/+5
| | | | | | | * gui/e-week.c (time_range_changed_cb, e_week_view_set_first_day_shown): update the query so currently held events can be cleared off. svn path=/trunk/; revision=28088
* include plugin headers to fix 64 bit problems.David Mosberger2004-12-081-0/+4
| | | | | | | | 2004-12-08 David Mosberger <davidm@napali.hpl.hp.com> * gui/main.c: include plugin headers to fix 64 bit problems. svn path=/trunk/; revision=28081
* Fixes #67403Rodrigo Moya2004-12-061-0/+12
| | | | | | | | | | | | | | | 2004-12-06 Rodrigo Moya <rodrigo@novell.com> Fixes #67403 * gui/dialogs/event-page.c (sensitize_widgets): don't unsensitize the 'Customize' button, to allow users to look at the alarm list for read only events. * gui/dialogs/alarm-list-dialog.c (sensitize_buttons): unsensitize buttons if the event is read only. svn path=/trunk/; revision=28072
* add libeabutil, since we use e-destination.Not Zed2004-12-031-0/+5
| | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * gui/dialogs/Makefile.am (libcal_dialogs_la_LIBADD): add libeabutil, since we use e-destination. svn path=/trunk/; revision=28049
* Add a boolean variable to denote assigned task and construct the meetingChenthill Palanisamy2004-12-021-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/task-editor.[ch] (task_editor_new), (task_editor_construct), (show_assignment): Add a boolean variable to denote assigned task and construct the meeting page only for the assigned task. Set it as a group item in component editor. (_TaskEditorPrivate): added the boolean variable (is_assigned). (task_editor_init): initialized the variable. * gui/dialogs/comp-editor.[ch]: Added functions to set and get whether comp is a group item or individual item. * gui/comp-editor.c (make_title_from_string), (make_title_from_comp): Set the Title for the appointment editor window as "Meeting" or "Assigned Task" if its a group calendar/task item. (_CompEditorPrivate): added a boolean variable (is_group_item). (comp_editor_init): initialized the same. * gui/dialogs/event-editor.c (event_editor_construct), (show_meeting): Set whether the component is a group item or not in comp editor. * gui/e-calendar-table.c (e_calendar_table_open_task), (e_calendar_table_open_selected), (open_task_by_row): Check whether the component being opened is an assigned task by checking for attendees and call open_task with proper value for boolean variable assign. * gui/comp-editor-factory.c (edit_existing): * gui/e-calendar-table.c (open_task): * gui/e-tasks.c (e_tasks_new_task): * gui/gnome-cal.c (gnome_calendar_new_task): * gui/tasks-component.c (create_new_todo): Called the function task_editor_new with a added argument. svn path=/trunk/; revision=28044
* Free the string day_view->last_edited_comp_string before changingChenthill Palanisamy2004-12-021-0/+8
| | | | | | | | | | | | 2004-12-02 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-day-view.c (e_day_view_finish_resize), (e_day_view_reshape_day_event) (e_day_view_change_event_time): Free the string day_view->last_edited_comp_string before changing assigning it another value. * gui/e-week-view.c (e_week_view_change_event_time): Free the string week_view->last_edited_comp_string for the same reason above. svn path=/trunk/; revision=28042
* committed this file. Missed to commit this one.Chenthill Palanisamy2004-11-291-0/+4
| | | | | | | | 2004-11-29 Chenthill Palanisamy <pchenthill@novell.com> * calendar-errors.xml.h: committed this file. Missed to commit this one. svn path=/trunk/; revision=28010
* Moved the call for the warning dialog (send_component_prompt_subject)Chenthill Palanisamy2004-11-291-0/+6
| | | | | | | | | | 2004-11-29 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/comp-editor.c (response_cb): Moved the call for the warning dialog (send_component_prompt_subject) after the component is saved (save_comp_with_send). svn path=/trunk/; revision=28009
* dittoJP Rosevear2004-11-261-0/+7
| | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): ditto * gui/e-timezone-entry.c (e_timezone_entry_init): get the image directly from the icon factory svn path=/trunk/; revision=27996
* prevent crash if there is no descriptionJP Rosevear2004-11-261-0/+5
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): prevent crash if there is no description svn path=/trunk/; revision=27994
* Evo UI Hackfest : harishHarish Krishnaswamy2004-11-251-0/+15
| | | | | | | | | | | | | | | | | * gui/calendar-component.c: (new_calendar_cb), (edit_calendar_cb): Use modified_setup_edit_calendar call. (popup_event_cb): If source is null (Rt click on a source group), show the new calendar popup menu item. Else, do not show the new calendar option. * gui/dialogs/calendar-setup.[ch] (eccp_get_source_type): Compare the source_groups by their uid and not the pointers, so that the correct option is activated on the combo box. (calendar_setup_edit_calendar) : add a source_group parameter to the function. (calendar_setup_new_calendar): Use modified signature of the above function. * gui/e-calendar-view.c (on_edit_appointment): check the icalcomponent to see if it is a meeting and set the argument to e_calendar_view_edit_appointment correctly. svn path=/trunk/; revision=27991
* removed the call for comp_editor_show_page, so that the event page showsChenthill Palanisamy2004-11-251-0/+7
| | | | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-deitor.c (show_meeting): removed the call for comp_editor_show_page, so that the event page shows up at first instead of meeting page when a meeting is opened. svn path=/trunk/; revision=27988
* Added two error ids to display use it when the meeting is created withoutChenthill Palanisamy2004-11-251-0/+10
| | | | | | | | | | | | | | 2004-11-25 Chenthill Palanisamy <pchenthill@novell.com> * calendar-errors.xml: Added two error ids to display use it when the meeting is created without a summary. * gui/dialogs/send-comp.[ch] (send_component_prompt_subject): Added a function to prompt for a dialog when a meeting/assigned task is sent without a summary. * gui/dialogs/comp-editor.c (response_cb): Called the above mentioned function when the summary is not present. svn path=/trunk/; revision=27987
* Add gtkimage.h to includes, and remove gtkhtml headers Add and remove someRodney Dawes2004-11-231-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.[ch]: Add gtkimage.h to includes, and remove gtkhtml headers Add and remove some widgets in the AlarmNotify struct (dialog_destroy_cb, delete_event_cb, close_clicked_cb): (snooze_clicked_cb, edit_clicked_cb, url_requested_cb): (make_html_display, write_times, write_html_heading): (alarm_notify_dialog_disable_buttons): Remove all these unneeded functions (no more GtkHTML in the dialog) (alarm_notify_dialog): Add description and location arguments Rename message argument to summary Update gtk-doc comment block to reflect API changes Clean up code to use gtk_dialog_run () and use a HIG compliant dialog * gui/alarm-notify/alarm-notify.glade: Update the alarm notify dialog to be HIG compliant and not use GtkHTML, and display more information that is relevant to the appointment we are alerting of * gui/alarm-notify/alarm-queue.c: Add new variables to the TrayIconData structure so we can access the description and location (on_dialog_objs_removed_cb): Remove alarm_dialog bits (notify_dialog_cb): Remove alarm_dialog bits (tray_icon_destroyed_cb): Free the description and location as well (open_alarm_dialog): alarm_notify_dialog does all the work now, we don't need to trap the dialog widget here (display_notification): Add code to get the description and location information from the cal component Avoid using an alarm component which has less useful API Fix a warning when creating the tray_icon widget svn path=/trunk/; revision=27971
* Don't try to convert the results of timet_to_str_with_zone to UTF-8, sinceRodney Dawes2004-11-091-0/+8
| | | | | | | | | | | | 2004-11-08 Rodney Dawes <dobey@novell.com> * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Don't try to convert the results of timet_to_str_with_zone to UTF-8, since the return value is already encoded in UTF-8 Fixes #47529 svn path=/trunk/; revision=27866
* expand the horizontal box so that it fills all available space.Rodrigo Moya2004-11-041-0/+6
| | | | | | | | | | 2004-11-04 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: expand the horizontal box so that it fills all available space. svn path=/trunk/; revision=27840
* added EConfig subclass for calendars initialize plugin hooks on componentDavid Trowbridge2004-11-041-0/+7
| | | | | | | | | | | 2004-11-03 David Trowbridge <trowbrds@cs.colorado.edu> * gui/e-cal-config.c: added EConfig subclass for calendars * gui/calendar-component.c, gui/tasks-component.c: initialize plugin hooks on component startup. * gui/dialogs/calendar-setup.c: Converted to use EConfig svn path=/trunk/; revision=27832
* Fixes #6767Li Yuan2004-11-041-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-11-04 Li Yuan <li.yuan@sun.com> Fixes #6767 * gui/e-day-view-main-item.c: (e_day_view_main_item_draw_day_event): use widget->style instead of hard code colors. * gui/e-day-view.c: (e_day_view_realize), (e_day_view_set_colors), (e_day_view_style_set), (e_day_view_reshape_long_event), (e_day_view_reshape_day_event): ditto. * gui/e-week-view.c: (e_week_view_realize), (e_week_view_set_colors), (e_week_view_style_set), (e_week_view_reshape_event_span): ditto. svn path=/trunk/; revision=27827
* make sure the day view times redraw themselves if we switch 24/12 hourJP Rosevear2004-11-031-0/+5
| | | | | | | | | 2004-11-02 JP Rosevear <jpr@novell.com> * gui/e-day-view-config.c (set_twentyfour_hour): make sure the day view times redraw themselves if we switch 24/12 hour modes svn path=/trunk/; revision=27801
* Fixes #68707JP Rosevear2004-11-031-0/+7
| | | | | | | | | | | 2004-11-02 JP Rosevear <jpr@novell.com> Fixes #68707 * gui/e-week-view-event-item.c (e_week_view_event_item_draw): restrict the range to 0-23 (midnight end times became '24') svn path=/trunk/; revision=27799
* added hook doco.Not Zed2004-10-281-0/+7
| | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (popup_event_cb): * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): * gui/calendar-component.c (popup_event_cb): added hook doco. svn path=/trunk/; revision=27751
* don't expand recurrences for the list view.Rodrigo Moya2004-10-281-1/+6
| | | | | | | | | 2004-10-27 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-list-view.c (e_cal_list_view_new): don't expand recurrences for the list view. svn path=/trunk/; revision=27739
* Add status bits to denote if the calendar source is available offline soHarish Krishnaswamy2004-10-221-0/+7
| | | | | | | | | * gui/e-cal-popup.[ch]: (e_cal_popup_target_new_source): Add status bits to denote if the calendar source is available offline so that plugins to calendar popups can use the status qualifier to denote their visibility preferences. svn path=/trunk/; revision=27680
* use the new source selector dialog in libedataserverui.Rodrigo Moya2004-10-221-0/+5
| | | | | | | | | 2004-10-21 Rodrigo Moya <rodrigo@novell.com> * gui/dialogs/select-source-dialog.c: use the new source selector dialog in libedataserverui. svn path=/trunk/; revision=27679
* put an icon on the properties menu itemJP Rosevear2004-10-211-0/+9
| | | | | | | | | | | | | 2004-10-20 JP Rosevear <jpr@novell.com> * gui/calendar-component.c: put an icon on the properties menu item * gui/tasks-component.c: ditto * gui/main.c (initialize): register plugin hooks for tasks and calendar svn path=/trunk/; revision=27656
* correct classidJP Rosevear2004-10-201-0/+4
| | | | | | | | 2004-10-20 JP Rosevear <jpr@novell.com> * gui/e-cal-popup.c (ecalph_class_init): correct classid svn path=/trunk/; revision=27647
* convert to org.gnome hook namesJP Rosevear2004-10-201-0/+7
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/calendar-component.c, gui/e-cal-menu.c, gui/e-cal-popup.c, gui/e-calendar-table.c, gui/e-calendar-view.c, gui/gnome-cal.c, gui/tasks-component.c, gui/alarm-notify/alarm-queue.c, gui/dialogs/meeting-page.c: convert to org.gnome hook names svn path=/trunk/; revision=27638
* Use e_cal_component_has_attendees to test if it is a meeting. By default,Harish Krishnaswamy2004-10-201-0/+11
| | | | | | | | | | | | | * gui/comp-editor-factory.c: (edit_existing): Use e_cal_component_has_attendees to test if it is a meeting. * gui/dialogs/event-editor.c: (event_editor_init): By default, the event is not a meeting. (event_editor_construct): Do not add the invitation, scheduling pages to the editor if it is not a meeting. * gui/e-day-view.c: (e_day_view_on_event_double_click): check the icalproperty to test if the event is a meeting. svn path=/trunk/; revision=27628
* listen to the canvas for focus events (setup_widgets): listen for listenJP Rosevear2004-10-191-0/+10
| | | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (connect_list_view_focus): listen to the canvas for focus events (setup_widgets): listen for listen view selection changes * gui/e-cal-list-view.c (setup_e_table): listen for the cursor to move (e_cal_list_view_cursor_change_cb): indicate the selection changed svn path=/trunk/; revision=27623
* gui/comp-editor-factory.c (edit_existing),Harish Krishnaswamy2004-10-191-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/calendar-component.c (create_new_event): * gui/e-calendar-view.c: (e_calendar_view_edit_appointment): * gui/comp-editor-factory.c (edit_existing), * (edit_new): * gui/dialogs/event-editor.c * (event_editor_edit_comp), (event_editor_new): updated the calls to event_editor_new with additional argument. * gui/dialogs/event-editor.h: * add parameter * is_meeting to distinguish between events and meetings. * gui/dialogs/meeting-page.c: * (sensitize_widgets): use explicit GError variable so that BUSY_ERROR conditions do not lead us to think the calendar is readonly. * gui/e-meeting-store.c: * (refresh_queue_remove), * (ems_init), (e_meeting_store_remove_attendee), (freebusy_async), (refresh_busy_periods), (refresh_queue_add): Make free-busy calls to backends async. Fixed the problem of spurious attendees getting added to the refresh_data. svn path=/trunk/; revision=27614
* dont access a NULL client.Not Zed2004-10-181-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 Not Zed <NotZed@Ximian.com> * gui/e-cal-menu.c (e_cal_menu_target_new_select): dont access a NULL client. * gui/gnome-cal.c (gnome_calendar_get_taskpad_menu) (gnome_calendar_get_calendar_menu): accessors to get the menu managers. (gnome_calendar_init): setup menu managers. 2004-10-13 Not Zed <NotZed@Ximian.com> * gui/calendar-commands.c (calendar_control_activate) (calendar_control_deactivate): activate and deactivate the calendar and taskpad menu handlers. (sensitize_items): helper to sensitise items based on target masks. (calendar_control_sensitize_calendar_commands): update the calendar menu manager target appropriately. (sensitize_taskpad_commands): same for the taskpad. * gui/e-cal-menu.[ch]: Targets for main menu management. * gui/e-cal-popup.c (e_cal_popup_target_new_select): fix cast. Also include the tasks stuff in the hook metadata. svn path=/trunk/; revision=27607
* remove useless ifdef'd out statement (its been unused for 3+ years)JP Rosevear2004-10-161-0/+5
| | | | | | | | | 2004-10-15 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c (calendar_control_activate): remove useless ifdef'd out statement (its been unused for 3+ years) svn path=/trunk/; revision=27599
* remove prototypeJP Rosevear2004-10-161-0/+6
| | | | | | | | | | 2004-10-15 JP Rosevear <jpr@novell.com> * gui/calendar-commands.h (calendar_goto_today): remove prototype * gui/calendar-commands.c: remove dead function svn path=/trunk/; revision=27598
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-meeting-attendee.c: convert to G_DEFINE_TYPE * gui/e-meeting-list-view.c: ditto * gui/e-meeting-time-sel.c: ditto * gui/e-meeting-time-sel-item.c: ditto * gui/e-select-names-renderer.c: ditto * gui/e-timezone-entry.c: ditto * gui/e-tasks.c: ditto * gui/gnome-cal.c: ditto * gui/weekday-picker.c: ditto svn path=/trunk/; revision=27584
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+12
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cell-date-edit-config.c: convert to G_DEFINE_TYPE * gui/e-cell-date-edit-text.c: ditto * gui/e-comp-editor-registry.c: ditto * gui/e-date-edit-config.c: ditto * gui/e-mini-calendar-config.c: ditto svn path=/trunk/; revision=27583
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-cal-list-view-config.c: convert to G_DEFINE_TYPE * gui/e-cal-list-view.c: ditto * gui/e-cal-model-calendar.c: ditto * gui/e-cal-model-tasks.c: ditto * gui/e-cal-model.c: ditto * gui/e-calendar-table-config.c: ditto * gui/e-calendar-table.c: ditto * gui/e-calendar-view.c: ditto svn path=/trunk/; revision=27580
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+10
| | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/calendar-view.c: convert to G_DEFINE_TYPE * gui/calendar-view-factory.c: ditto * gui/cal-search-bar.c: ditto * gui/e-cal-component-preview.c: ditto svn path=/trunk/; revision=27579
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+12
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-week-view-config.c: convert to G_DEFINE_TYPE * gui/e-week-view-event-item.c: ditto * gui/e-week-view-main-item.c: ditto * gui/e-week-view-titles-item.c: ditto * gui/e-week-view.c: ditto svn path=/trunk/; revision=27578
* convert to G_DEFINE_TYPEJP Rosevear2004-10-141-1/+13
| | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/e-day-view.c: convert to G_DEFINE_TYPE * gui/e-day-view-config.c: ditto * gui/e-day-view-main-item.c: ditto * gui/e-day-view-time-item.c: ditto * gui/e-day-view-top-item.c: ditto svn path=/trunk/; revision=27577
* conver to G_DEFINE_TYPEJP Rosevear2004-10-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-14 JP Rosevear <jpr@novell.com> * gui/dialogs/comp-editor.c: conver to G_DEFINE_TYPE * gui/dialogs/meeting-page.c: ditto * gui/dialogs/recurrence-page.c: ditto * gui/dialogs/schedule-page.c: ditto * gui/dialogs/e-delegate-dialog.c: ditto * gui/dialogs/event-editor.c: ditto * gui/dialogs/task-editor.c: ditto * gui/dialogs/task-details-page.c: ditto * gui/dialogs/select-source-dialog.c (primary_selection_changed_cb): fix warning svn path=/trunk/; revision=27576
* dittoJP Rosevear2004-10-141-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * gui/dialogs/task-page.c: ditto * gui/calendar-component.h: remove e-source-selector include * gui/tasks-component.h: ditto * gui/calendar-component.c: update include to libedataserverui for source selector and option menus * gui/e-cal-popup.c: ditto * gui/dialogs/url-editor-dialog.h: ditto * gui/dialogs/select-source-dialog.c: ditto * gui/tasks-component.c: ditto * importers/icalendar-importer.c: ditto * gui/e-itip-control.c: ditto; use G_DEFINE_TYPE instead of E_MAKE_TYPE * gui/dialogs/event-page.c: ditto * gui/dialogs/task-page.c: ditto svn path=/trunk/; revision=27569
* If main_canvas has focus, do not grub it. Emit the selected_time_changedLi Yuan2004-10-131-0/+7
| | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/e-day-view.c: (e_day_view_on_main_canvas_button_press): * gui/e-week-view.c: (e_week_view_on_button_press): If main_canvas has focus, do not grub it. Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27563
* convert menu to epopup.Not Zed2004-10-121-0/+5
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * gui/dialogs/meeting-page.c (button_press_event): convert menu to epopup. svn path=/trunk/; revision=27555
* removed. (e_calendar_table_show_popup_menu): convert to use e-popup forNot Zed2004-10-121-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * gui/e-calendar-table.c (setup_popup_icons): removed. (e_calendar_table_show_popup_menu): convert to use e-popup for pluggable popup menu. (e_calendar_table_on_open_task, e_calendar_table_on_save_as) (e_calendar_table_on_print_task, e_calendar_table_on_cut) (e_calendar_table_on_copy, e_calendar_table_on_paste) (e_calendar_table_on_assign, e_calendar_table_on_forward) (delete_cb): (mark_as_complete_cb, open_url_cb): convert to epopup callbacks. Moved all of the callbacks above the table rather than maintaining forward declarations for some of them. * gui/e-cal-popup.c (e_cal_popup_target_new_select): add the task required masks, and make one vs many mutally exclusive. * gui/e-calendar-view.c (e_calendar_view_create_popup_menu): copy/setup the event list here. * gui/e-cal-popup.c (e_cal_popup_target_new_select): take model + events rather than the calendar view. svn path=/trunk/; revision=27553
* When the start year and the end year are the same, the num should beLi Yuan2004-10-121-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-12 Li Yuan <li.yuan@sun.com> * gui/calendar-commands.c: (calendar_get_text_for_folder_bar_label): When the start year and the end year are the same, the num should be displayed in start time. * gui/dialogs/alarm-dialog.glade: Add names to comboxes in alarm-dialog page. * gui/dialogs/cal-prefs-dialog.glade: Add labbled_by relation for e_date_edit. Add names to comboxes in general tab and display tab. Add shortcut keys to start_of_day_label and end_of_day_label. * gui/dialogs/event-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/event-page.glade: Add labbled_by relation for e_date_edit. * gui/dialogs/meeting-page.glade: Set an atk name for organizer widget. * gui/dialogs/task-page.c: (init_widgets): Use the default text_buffer of gtk_text_view instead of creating one. * gui/dialogs/task-page.glade: Add labbled_by relation for e_date_edit. Add a11y names to task description and categories. * gui/e-alarm-list.c: (e_alarm_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-date-time-list.c: (e_date_time_list_iter_n_children): Remove the iter checker. The iter can't have a valid value at this time. * gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct): Add labbled_by relation for e_date_edit. * gui/e-timezone-entry.c: (e_timezone_entry_class_init), (e_timezone_entry_init), (e_timezone_entry_mnemonic_activate), (e_timezone_entry_focus): Add a focus handler for e-timezone-entry. Set an atk name for the button. * gui/e-week-view.c: (e_week_view_do_cursor_key_up), (e_week_view_do_cursor_key_down), (e_week_view_do_cursor_key_left), (e_week_view_do_cursor_key_right), (e_month_view_do_cursor_key_up), (e_month_view_do_cursor_key_down), (e_month_view_do_cursor_key_left), (e_month_view_do_cursor_key_right): Emit the selected_time_changed signal after the selection day changed. svn path=/trunk/; revision=27550
* convert to epopup. (add_popup_menu_item): removed, now redundant.Not Zed2004-10-121-1/+7
| | | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> * gui/alarm-notify/alarm-queue.c (tray_icon_clicked_cb): convert to epopup. (add_popup_menu_item): removed, now redundant. svn path=/trunk/; revision=27546
* Fixes #45951Rodrigo Moya2004-10-121-0/+12
| | | | | | | | | | | | | | | | 2004-10-08 Rodrigo Moya <rodrigo@novell.com> Fixes #45951 * gui/dialogs/event-page.glade: * gui/dialogs/task-page.glade: attach the description field correctly to the table so that it scrolls correctly instead of making the dialog bigger as you write. * gui/dialogs/comp-editor.c (setup_widgets): no need to create an extra GtkVBox, just use the GtkDialog's one. svn path=/trunk/; revision=27538
* remove useless includeJP Rosevear2004-10-081-0/+6
| | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/dialogs/cal-prefs-dialog.c: remove useless include * gui/dialogs/url-editor-dialog.c: ditto svn path=/trunk/; revision=27502
* guard config.hJP Rosevear2004-10-081-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/print.c: guard config.h * gui/tasks-control.c: guard config.h, remove useless include * gui/migration.c: remove useless include * gui/main.c: remove useless include * gui/e-calendar-view.h: #define the type * gui/calendar-offline-handler.c: remove useless include * gui/calendar-config.c: tidy header svn path=/trunk/; revision=27501
* guard config.h include, kill warning and remove useless includeJP Rosevear2004-10-081-0/+5
| | | | | | | | | 2004-10-07 JP Rosevear <jpr@novell.com> * gui/calendar-commands.c: guard config.h include, kill warning and remove useless include svn path=/trunk/; revision=27500
* Fixes #65932Rodrigo Moya2004-10-071-0/+12
| | | | | | | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Fixes #65932 * common/authentication.c: keep a hash table of all the source lists. (auth_new_cal_from_uri): do a search in the source list for the given URI, and use that ESource if we find it. Also, keep the hash table of source lists up to date. * gui/comp-editor-factory.c (cal_opened_cb): don't assert on error cases, just display an error dialog. svn path=/trunk/; revision=27498
* rename to view_popup_factory. Make it build an epopup item list directly.Not Zed2004-10-071-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/gnome-cal.c (gnome_calendar_setup_view_popup): rename to view_popup_factory. Make it build an epopup item list directly. Can't re-use the galview cruft :-/ (gnome_calendar_discard_view_popup): no longer needed. (gc_set_view, gc_save_custom_view, gc_define_views_response) (gc_define_views): implement the gal-view popup menu items. * gui/gnome-cal.h: * gui/e-week-view.h: * gui/e-day-view.h: * gui/e-cal-list-view.h: removed old e-popup-menu header. * gui/e-calendar-view.c (setup_popup_icons): removed. (e_calendar_view_create_popup_menu): converted to use e-popup. (on_paste, on_copy, on_cut, on_delete_occurrence) (on_unrecur_appointment, on_delete_appointment, on_publish) (on_forward, on_meeting, on_move_to, on_copy_to, on_print_event) (on_save_as, on_print, on_edit_appointment, on_goto_today) (on_goto_date, on_new_task, on_new_meeting, on_new_event) (on_new_appointment): convert to use e-popup stuff. * gui/tasks-component.c (popup_event_cb): e-popup api changes. * gui/e-cal-popup.c (e_cal_popup_target_new_select): implement the selection target. (ecalp_target_free): and free it. * gui/e-cal-model.h: Make the ECalModel struct non-anonymous so it can be forward-declared. * gui/calendar-component.c (popup_event_cb): e-popup api changes. svn path=/trunk/; revision=27489
* Revert fix for #60551Rodrigo Moya2004-10-071-0/+7
| | | | | | | | | | | 2004-10-06 Rodrigo Moya <rodrigo@novell.com> Revert fix for #60551 * gui/dialogs/task-page.c (task_page_fill_component): start date can be after the due date, no need to compare. svn path=/trunk/; revision=27481
* Fixes #48116Iván Frade2004-10-071-0/+7
| | | | | | | | | | | 2004-10-02 Iván Frade <frade@asturlinux.org> Fixes #48116 * gui/dialogs/task-details.page.c (task_details_page_fill_component): Validation: completed date is not a future date. svn path=/trunk/; revision=27480
* cast warning away. (create_component_view): connect to popup_event ratherNot Zed2004-10-061-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/tasks-component.c (create_component_view): cast warning away. (create_component_view): connect to popup_event rather than fill_popup_menu. * gui/calendar-component.c (create_component_view): cast a warning away. * calendar-errors.xml: add prompt-delete-task-list. * gui/tasks-component.c (fill_popup_menu_cb): renamed to popup_event_cb, make use e-cal-popup. (edit_task_list_cb, new_task_list_cb, delete_task_list_cb) (copy_task_list_cb): deja-vu. update for api. (add_popup_menu_item): killed. murdered. drawn and quatered. (delete_task_list_cb): use e-error for the delete prompt. * gui/calendar-component.c (create_component_view): hook onto popup event instead of fill_popup_menu. * calendar-errors.xml: added prompt-delete-calendar. * gui/calendar-component.c (fill_popup_menu_cb): rename to popup_event_cb, make use e-cal-popup. (edit_calendar_cb, new_calendar_cb, delete_calendar_cb) (copy_calendar_cb): fix for api changes. (add_popup_menu_item): removed. (delete_calendar_cb): use e-error for the delete thing. * gui/e-cal-popup.[ch]: calendar popup driver. svn path=/trunk/; revision=27467
* Fixes #64683Rodrigo Moya2004-09-301-0/+8
| | | | | | | | | | | | 2004-09-29 Rodrigo Moya <rodrigo@novell.com> Fixes #64683 * gui/e-meeting-time-sel.c (e_meeting_time_selector_construct): create a scrolled window for the attendees list, and synchronize it with the scrolling in the F/B area. svn path=/trunk/; revision=27425
* ** See bug #66736.Not Zed2004-09-291-0/+7
| | | | | | | | | | | 2004-09-28 Not Zed <NotZed@Ximian.com> ** See bug #66736. * gui/e-itip-control.c (e_itip_control_set_data): noop if we were destroyed (priv == null). svn path=/trunk/; revision=27418
* Fixes #61766JP Rosevear2004-09-281-0/+16
| | | | | | | | | | | | | | 2004-09-28 JP Rosevear <jpr@novell.com> Fixes #61766 * gui/migration.c (create_calendar_contact_source): set a color for the contacts (create_calendar_sources): set a color for the personal source and make in primary and default if nothing else is either (create_task_sources): ditto for tasks personal source svn path=/trunk/; revision=27414
* Fixes #65599Rodrigo Moya2004-09-271-0/+9
| | | | | | | | | | | | | 2004-09-24 Rodrigo Moya <rodrigo@novell.com> Fixes #65599 * gui/itip-utils.c (comp_fb_normalize): don't use NULL properties. * gui/e-pub-utils.c (e_pub_publish): use auth_new_cal_from_source() instead of auth_new_cal_from_uri(). svn path=/trunk/; revision=27394
* Fixes #66344JP Rosevear2004-09-241-0/+12
| | | | | | | | | | | | | | | | 2004-09-24 JP Rosevear <jpr@novell.com> Fixes #66344 * gui/e-cal-model-calendar.c (get_dtend): check for existence of property and null time instead of sending through bad data * gui/e-cal-model.c (get_dtstart): ditto * gui/e-cal-model-tasks.c (get_completed): ditto (get_due): ditto svn path=/trunk/; revision=27368
* Fixes #63513 Now the myaddress can be set to ecal address since ok will beChenthill Palanisamy2004-09-241-0/+7
| | | | | | | | | | | 2004-09-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #63513 * gui/e-itip-control.c (ok_clicked_cb): Now the myaddress can be set to ecal address since ok will be sentized only when ecal is loaded. svn path=/trunk/; revision=27362
* dittoJP Rosevear2004-09-231-0/+7
| | | | | | | | | | | 2004-09-22 JP Rosevear <jpr@novell.com> * gui/calendar-component.c (fill_popup_menu_cb): ditto * gui/tasks-component.c (fill_popup_menu_cb): don't allow a delete of the system calendar svn path=/trunk/; revision=27339
* Fixes #60904JP Rosevear2004-09-221-1/+13
| | | | | | | | | | | | | | | | 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #60904 * gui/gnome-cal.c (set_week_start): update the view (get_times_for_views): mimic the work week guessing code exactly for calculating the time range needed instead of hardcoding 5 days (set_working_days): new routine to update the view (working_days_changed_cb): use above when getting config change notification (setup_config): set working days and add notification svn path=/trunk/; revision=27320
* Fixes #66158JP Rosevear2004-09-221-0/+7
| | | | | | | | | | | 2004-09-20 JP Rosevear <jpr@novell.com> Fixes #66158 * gui/e-cal-model-tasks.c (e_cal_model_tasks_mark_task_complete): notify of change so completion status updates immediately svn path=/trunk/; revision=27319
* Fixes #59194JP Rosevear2004-09-221-0/+7
| | | | | | | | | | | 2004-09-21 JP Rosevear <jpr@novell.com> Fixes #59194 * gui/e-cal-model-calendar.c (get_location): return "" instead of NULL svn path=/trunk/; revision=27317
* Fixes #65682 check the static capability before booking the deletion.Chenthill Palanisamy2004-09-211-0/+7
| | | | | | | | | | | 2004-09-21 Chenthill Palanisamy <pchenthill@novell.com> Fixes #65682 * gui/itip-utils.c (itip_send_comp): check the static capability before booking the deletion. svn path=/trunk/; revision=27313
* Fixes #55172JP Rosevear2004-09-201-0/+8
| | | | | | | | | | | | 2004-09-15 JP Rosevear <jpr@novell.com> Fixes #55172 * conduits/calendar/calendar-conduit.c (local_record_from_comp): handle -1 (last) for monthly recurrences and check both by_set_pos and by_day since either can indicate this type of recurrence svn path=/trunk/; revision=27308
* Fixes #66174Tony Tsui2004-09-201-0/+6
| | | | | | | | | | 2004-09-20 Tony Tsui <ttsui9@gmail.com> Fixes #66174 * gui/dialogs/meeting-page.c (existing_attendee): fixed memory leak. svn path=/trunk/; revision=27303
* Fixes bug #65051Hannah & Fazlu2004-09-201-0/+7
| | | | | | | | | | | 2004-09-10 Hannah & Fazlu <hannah_lins@yahoo.co.in> Fixes bug #65051 * calendar/gui/dialogs/task-page.c (task_page_fill_component): Compared the dates and time svn path=/trunk/; revision=27302
* Fixes #62374Rodrigo Moya2004-09-171-1/+15
| | | | | | | | | | | | | | | | | | 2004-09-10 Rodrigo Moya <rodrigo@novell.com> Fixes #62374 * gui/alarm-notify/alarm-queue.c (load_missed_alarms): removed this function. (cal_opened_cb): no need to call load_missed_alarms, load_alarms_for_today will do everything. (alarm_queue_add_client): ditto. (load_alarms_for_today): take into account the last saved notification time. (load_alarms): unref the previous query, this function should now only be called once per time range. svn path=/trunk/; revision=27286
* Fixes #65454JP Rosevear2004-09-101-0/+12
| | | | | | | | | | | | | | | | 2004-09-09 JP Rosevear <jpr@novell.com> Fixes #65454 * gui/e-itip-control.c (class_init): only use a destroy function, no finalize (cleanup_ecal): util function (init): use above for hash table and killed destroyed flag (weren't using it anywhere) (destroy): collapse finalize work into here and guard against multiple destroy calls svn path=/trunk/; revision=27210
* Fixes #62728JP Rosevear2004-09-091-0/+7
| | | | | | | | | | | 2004-09-08 JP Rosevear <jpr@novell.com> Fixes #62728 * gui/e-week-view.c (e_week_view_set_week_start_day): trigger a redraw when changing the start day svn path=/trunk/; revision=27187
* Check the static capability to enable or disable the assign tasks in theChenthill Palanisamy2004-09-051-0/+12
| | | | | | | | | | | | | | | | 2004-09-05 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-calendar-table.c (e_calendar_table_show_popup_menu): Check the static capability to enable or disable the assign tasks in the popup menu. * gui/dialogs/recurrence-page.c (sensitize_buttons): Check for the static capability to convert a existing appointment to recurrence appointment for enabling or diabling the recurrence widgets. svn path=/trunk/; revision=27152
* Fixes #62392Rodrigo Moya2004-09-041-0/+8
| | | | | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> Fixes #62392 * gui/alarm-notify/alarm-queue.c (display_notification): ref the client's query object so that it doesn't disappear on us. (tray_icon_destroyed_cb): unref the query previously ref'ed. svn path=/trunk/; revision=27132
* include missing string.h, to avoid problems in 64 bit builds.Rodrigo Moya2004-09-021-0/+5
| | | | | | | | | 2004-08-31 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model-tasks.c: include missing string.h, to avoid problems in 64 bit builds. svn path=/trunk/; revision=27111
* constify the strings to remove a warning.Not Zed2004-08-301-0/+11
| | | | | | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> * common/authentication.c (auth_func_cb): constify the strings to remove a warning. ** See bug #64856 (workaround). * common/authentication.c (auth_func_cb): * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password request. svn path=/trunk/; revision=27077
* get the active state (insert_rsvp): set inital rsvp stateJP Rosevear2004-08-281-0/+8
| | | | | | | | | | | | 2004-08-28 JP Rosevear <jpr@novell.com> * gui/e-itip-control.c (rsvp_clicked_cb): get the active state (insert_rsvp): set inital rsvp state * gui/alarm-notify/alarm-queue.c (alarm_queue_add_client): load immediately if they are loaded svn path=/trunk/; revision=27057
* use the new 'has-alarms-in-range' query. (alarm_queue_add_client): makeRodrigo Moya2004-08-281-0/+6
| | | | | | | | | | 2004-08-27 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (load_alarms): use the new 'has-alarms-in-range' query. (alarm_queue_add_client): make sure we don't add twice the same alarm. svn path=/trunk/; revision=27044
* Fixes #62911, #54101JP Rosevear2004-08-281-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> Fixes #62911, #54101 * gui/e-itip-control.c (set_ok_sens): util routine to set sensitivity of OK button (cal_opened_cb): cal back when calendar opens, sensitize ok button (start_calendar_server): open async and take call back arg (source_selected_cb): desensitize ok button until calendar is loaded (find_cal_opened_cb): check to see if the calendar contains the object we are looking for, if none do show the source selector option menu (find_server): search async for the server (destroy): clean up html widget (finalize): instead of here (get_publish_options): use only object tag (get_request_options): ditto (get_request_fb_options): ditto (get_reply_options): ditto (get_refresh_options): ditto (get_cancel_options): ditto (show_current_event): use new options, remove groupwise NEEDS ACTION check, handle async loading (show_current_todo): use new options, handle async loading (option_activated_cb): record action (add_option): add action item (insert_boxes): layout widgets (insert_label): insert label (rsvp_clicked_cb): record rsvp status (insert_rsvp): insert rsvp check box (insert_ok): insert ok button (publish_options_object): spit out relevant options (request_options_object): ditto (freebusy_options_object): ditto (reply_options_object): ditto (refresh_options_object): ditto (cancel_options_object): ditto (object_requested_cb): handle object requests (ok_clicked_cb): use recorded actions svn path=/trunk/; revision=27043
* update protoJP Rosevear2004-08-271-0/+14
| | | | | | | | | | | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-notify.h: update proto * gui/alarm-notify/alarm-notify.c (list_changed_cb): use per source type client hash (alarm_notify_init): ditto (alarm_notify_finalize): ditto (cal_opened_cb): ditto (alarm_notify_add_calendar): ditto (alarm_notify_remove_calendar): ditto, take source_type arg (load_calendars_cb): don't call list_changed if the source list is NULL svn path=/trunk/; revision=27042
* Don't mark component menu accels for translation.Christian Neumair2004-08-271-0/+5
| | | | svn path=/trunk/; revision=27036
* prepare the local record correctly, should fix copy to/from problems whenJP Rosevear2004-08-261-0/+7
| | | | | | | | | | | 2004-08-25 JP Rosevear <jpr@novell.com> * conduits/todo/todo-conduit.c (for_each): prepare the local record correctly, should fix copy to/from problems when syncing * conduits/calendar/calendar-conduit.c (for_each): ditto svn path=/trunk/; revision=27026
* Don't call gtk_dialog_set_has_separator on Gtk Message DialogFrédéric Crozat2004-08-251-0/+6
| | | | | | | * gui/dialogs/recur-comp.c: (recur_component_dialog): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog svn path=/trunk/; revision=27017
* Reset the Status Bar message to NUll, if the status of the Calendar isChenthill Palanisamy2004-08-251-0/+6
| | | | | | | | | | 2004-08-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/e-tasks.c (default_client_cal_opened_cb): Reset the Status Bar message to NUll, if the status of the Calendar is returned OK. svn path=/trunk/; revision=27015
* Fixes #58824Rodrigo Moya2004-08-251-2/+13
| | | | | | | | | | | | | | | | 2004-08-24 Rodrigo Moya <rodrigo@novell.com> Fixes #58824 * gui/gnome-cal.c (open_ecal): Only try to open the calendar if not loaded yet. (update_query, client_cal_opened_cb, default_client_cal_opened_cb, backend_died_cb): use always the same view for status messages. (gnome_calendar_set_activity_handler): set the activity handlers on all views, not just the current one. (display_view): no need to set the activity handler here. svn path=/trunk/; revision=27007
* Make the description scrolled window scroll policy "automatic" rather thanJeffrey Stedfast2004-08-241-13/+19
| | | | | | | | | | 2004-08-13 Jeffrey Stedfast <fejj@novell.com> * gui/dialogs/event-page.glade: Make the description scrolled window scroll policy "automatic" rather than "never". Fixes bug #62063. svn path=/trunk/; revision=26998
* initialize the mutext needed to prevent concurrect accessSivaiah Nallagatla2004-08-181-0/+13
| | | | | | | | | | | | | | | | 2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.c (alarm-notify_init) : initialize the mutext needed to prevent concurrect access priv->uri_clients_hash. Also install a timeout handler for loading sources which requires auth later (alarm_notify_finalize) : free the new mutex (load_calendars_cb) : call back which adds sources again after one minute (alarm_notify_add_calendar) : lock ad unlock the new mutex before and after accessing uri_clients_hash svn path=/trunk/; revision=26962
* Fixes #62706JP Rosevear2004-08-171-0/+7
| | | | | | | | | | | 2004-08-16 JP Rosevear <jpr@ximian.com> Fixes #62706 * gui/e-cal-model.c (e_cal_model_set_timezone): set the default timezone on the server svn path=/trunk/; revision=26955
* change the prototype of alarm_notify_add_calendar to take Esource insteadSivaiah Nallagatla2004-08-161-0/+12
| | | | | | | | | | | | | | | | 2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.h : change the prototype of alarm_notify_add_calendar to take Esource instead of uri * gui/alarm-notify/alarm-notify.c (alarm_notify_add_calendar) : use auth_new_cal_from_source instead of _from_uri to create cal client also do not try to load the cal backend which require auth and for which there is no password availble in e-password seesion (list_changed_cb) (load_calendars) : pass Esource insted of uri to alarm_notify_add_calendar svn path=/trunk/; revision=26947
* initialize priv->default_lcient (default_client_cal_opened_cb) : unrefSivaiah Nallagatla2004-08-161-0/+11
| | | | | | | | | | | | | | | 2004-08-14 Sivaiah Nallagatla <snallagatla@novell.com> * gui/e-tasks.c (e_tasks_init) : initialize priv->default_lcient (default_client_cal_opened_cb) : unref priv->default_client and make it NULL (client_cal_opened_cb) : don't unref client explicitly as removing from priv->clients already does that. Remove client based on uid instead of uri (backend_died_cb) : Remove client based on uid insted of uri Fixes #62869 svn path=/trunk/; revision=26943
* make the button say Add Task List instead of Add Group (matches menu item)JP Rosevear2004-08-131-0/+5
| | | | | | | | | 2004-08-12 JP Rosevear <jpr@ximian.com> * gui/dialogs/calendar-setup.glade: make the button say Add Task List instead of Add Group (matches menu item) svn path=/trunk/; revision=26910
* added the property "use_filechooser" to the GnomeFileEntryCarlos Garnacho Parro2004-08-131-0/+5
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/dialogs/alarm-dialog.glade: added the property "use_filechooser" to the GnomeFileEntry svn path=/trunk/; revision=26896
* epasswords api change.Not Zed2004-08-121-0/+5
| | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * gui/e-pub-utils.c (e_pub_publish): * common/authentication.c (auth_func_cb): epasswords api change. svn path=/trunk/; revision=26882
* Fixes #61555JP Rosevear2004-08-111-0/+9
| | | | | | | | | | | | | 2004-08-11 JP Rosevear <jpr@ximian.com> Fixes #61555 * gui/dialogs/meeting-page.c (existing_attendee): check if an attendee was pre-existing (remove_attendee): only add the attendee to the cancel comp if it was pre-existing svn path=/trunk/; revision=26870
* guard against re-running the same query.Rodrigo Moya2004-08-111-0/+5
| | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_search_query): guard against re-running the same query. svn path=/trunk/; revision=26868
* disconnect from signals also when using only the system tray. Fixes aRodrigo Moya2004-08-101-0/+6
| | | | | | | | | | 2004-08-10 Rodrigo Moya <rodrigo@novell.com> * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): disconnect from signals also when using only the system tray. Fixes a crash when removing an event that had an alarm popup recently. svn path=/trunk/; revision=26862
* re-added 'Make this occurrence movable' menu item, gone by mistake.Rodrigo Moya2004-08-101-18/+24
| | | | | | | | | | 2004-08-09 Rodrigo Moya <rodrigo@novell.com> * gui/e-calendar-view.c: re-added 'Make this occurrence movable' menu item, gone by mistake. (on_unrecur_appointment): new callback for the new menu item. svn path=/trunk/; revision=26861
* Fixes #62452JP Rosevear2004-08-091-0/+12
| | | | | | | | | | | | | | | | 2004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62452 * gui/e-itip-control.c (find_my_address): take option to retrieve current status as well, actually look for the delegator in the list so we can retrieve status there as well (show_current_event): use find_my_address to get the status so we properly handle not finding the address in the list of attendees (show_current): pass extra param (ok_clicked_cb): ditto svn path=/trunk/; revision=26856
* Fixes #62021JP Rosevear2004-08-081-0/+16
| | | | | | | | | | | | | | | | | | | | 004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62021 * gui/dialogs/event-page.c (source_changed_cb): set the default timezone * gui/e-itip-control.c (start_calendar_server): set the default timezone * gui/calendar-component.c (setup_create_ecal): set the default timezone, as the component view is not alive and hence has not set it * gui/tasks-component.c (setup_create_ecal): ditto svn path=/trunk/; revision=26849
* Fix for bug #61673. The function takes two arguments now, instead of one.Parthasarathi S A2004-08-061-0/+15
| | | | | | | | | | | | | | | | | | | 2004-08-05 Parthasarathi S A <sparthasarathi@novell.com> Fix for bug #61673. * calendar/gui/dialogs/save_comp.c(save_component_dialog): The function takes two arguments now, instead of one. The second argument is the pointer to the ECalComponent from which the component type can be determined. Based on the component type the corresponding error message is displayed. * calendar/gui/dialogs/save_comp.h: Function definition updated for save_component_dialog. * calendar/gui/dialogs/comp_editor.c(prompt_to_save_changes): passing the ECalComponent pointer to the 'save_component_dialog' function * calendar/calendar-errors.xml: New error message string for task included * calendar/calendar-errors.xml.h svn path=/trunk/; revision=26839
* Fixes #62030Rodrigo Moya2004-08-061-4/+19
| | | | | | | | | | | | | | | | | | | 2004-08-05 Rodrigo Moya <rodrigo@novell.com> Fixes #62030 * gui/alarm-notify/alarm-queue.c (tray_icon_destroyed_cb): only remove the tray icon blinking timeout if we installed it. (display_notification): only install the tray icon blinking timeout if using the system tray. (tray_icon_blink_cb): use g_object_unref instead of the deprecated gdk_pixbuf_unref. * gui/alarm-notify/alarm.c (alarm_add): added missing argument documentation. svn path=/trunk/; revision=26838
* clean up all the default clients (default_client_cal_opened_cb): changeJP Rosevear2004-08-051-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2004-08-03 JP Rosevear <jpr@novell.com> * gui/gnome-cal.c (gnome_calendar_destroy): clean up all the default clients (default_client_cal_opened_cb): change the if statement to a switch to be consistent with the other code bits and set the default client for the source type (gnome_calendar_add_source): look at the default based on the source type (gnome_calendar_set_default_source): set the default for the source type (gnome_calendar_new_task): bail out if we have no ecal * gui/gnome-cal.c (set_timezone): set the timezone for all the default clients * gui/calendar-component.c (update_primary_task_selection): look in the task source list, not the plain source list svn path=/trunk/; revision=26828
* kill warning by checking if there is a default client first (can happenJP Rosevear2004-08-051-0/+6
| | | | | | | | | | 2004-08-05 JP Rosevear <jpr@novell.com> * gui/tasks-control.c (tasks_control_sensitize_commands): kill warning by checking if there is a default client first (can happen when first starting up) svn path=/trunk/; revision=26827
* Fixes #62363JP Rosevear2004-08-051-0/+7
| | | | | | | | | | | 004-08-05 JP Rosevear <jpr@novell.com> Fixes #62363 * gui/calendar-component.c (create_new_event): commit the sequence svn path=/trunk/; revision=26826
* Handle decline request by using update_item rather than remove_item, soHarish Krishnaswamy2004-08-041-0/+7
| | | | | | | | | * gui/e-itip-control.c: (ok_clicked_cb): Handle decline request by using update_item rather than remove_item, so the backend receives the notification and can handle it. Also, do not rsvp if the backend has the 'save_schedule' capability. svn path=/trunk/; revision=26818
* get source list and source (todoconduit_dupe_configuration): copy sourceJP Rosevear2004-08-031-0/+17
| | | | | | | | | | | | | | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * conduits/todo/todo-conduit.c (todoconduit_load_configuration): get source list and source (todoconduit_dupe_configuration): copy source list and source (todoconduit_destroy_configuration): unref source list and source (start_calendar_server): open the source that was set earlier (fill_widgets): set the source option menu value (create_settings_window): pass source list to pilot settings (save_settings): mark source with pilot-sync property * conduits/calendar/calendar-conduit.c: as above * conduits/todo/Makefile.am: link to and include misc. widgets * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=26798
* Fixes #57622Rodrigo Moya2004-08-021-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Rodrigo Moya <rodrigo@novell.com> Fixes #57622 * gui/e-cal-model.h: added ECalModelFlags enum type. * gui/e-cal-model.c (e_cal_model_set_flags, e_cal_model_get_flags): new functions. (e_cal_model_init): initialize the new internal field to keep the flags. (e_cal_view_objects_added_cb): expand recurrences if the model flags contain the EXPAND_RECUR bit. (e_cal_view_objects_modified_cb): if EXPAND_RECUR is on, remove all recurrences and regenerate them. (e_cal_view_objects_removed_cb): remove all instances for given UIDs. (add_new_client): killed warning. (get_dtstart): use the instance_start time when dealing with recurrences. * gui/e-cal-model-calendar.c (get_dtend): use the instance_end time when dealing with recurrences. * gui/e-cal-list-view.c (e_cal_list_view_new): set the EXPAND_RECUR flag on the model for the list view. * gui/e-week-view.c (e_week_view_add_event): * gui/e-day-view.c (e_day_view_add_event): fill in the instance's start and end times in the ECalModelComponent struct. * gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence): use the instance_start field to retrieve the RECUR-ID, now that all the views fill it in. svn path=/trunk/; revision=26790
* creating new items no longer needs to be disabled since the user canJP Rosevear2004-08-011-0/+6
| | | | | | | | | | 2004-07-29 JP Rosevear <jpr@novell.com> * gui/e-calendar-view.c: creating new items no longer needs to be disabled since the user can switch to a writable calendar and the editor ui is disabled properly svn path=/trunk/; revision=26786
* use Invitations not Meetings (event_editor_edit_comp): dittoJP Rosevear2004-08-011-0/+6
| | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/dialogs/event-editor.c (show_meeting): use Invitations not Meetings (event_editor_edit_comp): ditto svn path=/trunk/; revision=26785
* guard with is_instance instead of has_recurrences because most of theJP Rosevear2004-08-011-0/+14
| | | | | | | | | | | | | | | | | | 2004-07-31 JP Rosevear <jpr@novell.com> * gui/e-day-view.c (e_day_view_finish_long_event_resize): guard with is_instance instead of has_recurrences because most of the backends don't support this yet (e_day_view_finish_resize): ditto (e_day_view_change_event_time): ditto (e_day_view_on_editing_stopped): ditto (e_day_view_on_top_canvas_drag_data_received): ditto (e_day_view_on_main_canvas_drag_data_received): ditto * gui/e-week-view.c (e_week_view_change_event_time): ditto (e_week_view_on_editing_stopped): ditto svn path=/trunk/; revision=26784
* Handle E_CALENDAR_STATUS_BUSY conditions and do notHarish Krishnaswamy2004-07-301-0/+10
| | | | | | remove the source from the gnome-calendar. svn path=/trunk/; revision=26774
* hide dialog items that don't apply when editing properties.Larry Ewing2004-07-301-0/+7
| | | | | | | | | | | 004-07-28 Larry Ewing <lewing@novell.com> * gui/dialogs/calendar-setup.c (dialog_hide_unused_options): hide dialog items that don't apply when editing properties. (general_update_dialog): check to make sure we have a source before checking its state. svn path=/trunk/; revision=26773
* Fixes #62006JP Rosevear2004-07-291-0/+7
| | | | | | | | | | | 2004-07-27 JP Rosevear <jpr@novell.com> Fixes #62006 * gui/e-cal-model.c (add_new_client): don't load the events if we are already doing the query svn path=/trunk/; revision=26760
* Fixes #61058JP Rosevear2004-07-271-0/+14
| | | | | | | | | | | | | | | | | | 2004-07-25 JP Rosevear <jpr@ximian.com> Fixes #61058 * gui/e-week-view.c (process_component_recur_cb): add but don't prepend (process_component): use above as call back so we can pass the prepend bool (e_week_view_add_event): take a prepend bool and prepend to the events array if asked so the event will be shown first when drawn (e_week_view_do_key_press): If the event can't be fit on the screen, ie not even one event can be shown in the day, don't try to edit it svn path=/trunk/; revision=26741
* Fix mnemonic for "Location" to not be duplicated with "OK"Rodney Dawes2004-07-271-0/+15
| | | | | | | | | | | | | | | | | | | 2004-07-26 Rodney Dawes <dobey@novell.com> * gui/dialogs/event-page.glade: Fix mnemonic for "Location" to not be duplicated with "OK" * gui/dialogs/meeting-page.c (get_widgets): Get the "Attendees" label (meeting_page_construct): Fix padding of GtkScrolledWindow widget Set the mnemonic widget for the "Attendees" label * gui/dialogs/meeting-page.glade: Fix HIG spacing to be correct Fix the mnemonic for "Organizer" to not conflict Add mnemonic for "Attendees" * gui/dialogs/task-page.glade: Add mnemonic for "Description" svn path=/trunk/; revision=26737
* set a different title if we are editing; de-sensitize option menu if weJP Rosevear2004-07-261-0/+16
| | | | | | | | | | | | | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar): set a different title if we are editing; de-sensitize option menu if we are editing (calendar_setup_edit_task_list): set a different title if we are editing * gui/dialogs/calendar-setup.glade: use task list instead of tasks group * gui/tasks-component.c (impl__get_userCreatableItems): add assigned task as an item, use task list instead of tasks group * gui/calendar--component.c (impl__get_userCreatableItems): fiddle with shortcuts svn path=/trunk/; revision=26735
* Fixes #59983 If the ecal component is already loaded, check for thepchenthill2004-07-261-1/+8
| | | | | | | | | | | 2004-07-25 pchenthill <pchenthill@novell.com> Fixes #59983 If the ecal component is already loaded, check for the participation status of the attendee and display the menu for selecting the calendar. svn path=/trunk/; revision=26732
* Fixes #61571JP Rosevear2004-07-241-1443/+9
| | | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@ximian.com> Fixes #61571 * gui/e-week-view.c (e_week_view_start_editing_event): if the event moves, find it again using the model data as the invariant and then find the span again svn path=/trunk/; revision=26721
* Fixes #61760JP Rosevear2004-07-241-1/+8
| | | | | | | | | | | 2004-07-23 JP Rosevear <jpr@novell.com> Fixes #61760 * gui/e-cal-model.c (add_new_client): don't check against the URI, just against the client svn path=/trunk/; revision=26720
* Retracting the commit made below for #59983 as it has results in crashpchenthill2004-07-231-0/+5
| | | | | | | | | 2004-07-23 pchenthill <pchenthill@novell.com> * Retracting the commit made below for #59983 as it has results in crash some cases svn path=/trunk/; revision=26713
* Fixes #59983 If the ecal component is already loaded, check for thepchenthill2004-07-231-0/+8
| | | | | | | | | | | | 2004-07-23 pchenthill <pchenthill@novell.com> Fixes #59983 * gui/e-itip-control.c (show_current_event): If the ecal component is already loaded, check for the participation status of the attendee and display the menu for selecting the calendar. svn path=/trunk/; revision=26712
* fix the row heights and tweek the offsets so that things come out OK.Larry Ewing2004-07-231-0/+12
| | | | | | | | | | 2004-07-16 Larry Ewing <lewing@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set): fix the row heights and tweek the offsets so that things come out OK. svn path=/trunk/; revision=26706
* Fixes #61776JP Rosevear2004-07-221-0/+7
| | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61776 * gui/e-calendar-table.c (clipboard_get_text_cb): make sure the text is not NULL svn path=/trunk/; revision=26702
* Fixes #61738JP Rosevear2004-07-221-0/+10
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61738 * gui/dialogs/meeting-page.c (clear_widgets): by default we have a user as organizer (sensitize_widgets): use user_org to determine widget sensitivity (meeting_page_fill_widgets): set user_org value appropriately (change_clicked_cb): set user_org to TRUE svn path=/trunk/; revision=26701
* Fixes #61779JP Rosevear2004-07-221-0/+10
| | | | | | | | | | | | | | 2004-07-21 JP Rosevear <jpr@novell.com> Fixes #61779 * gui/dialogs/task-page.c (init_widgets): listen for changes on start and due dates * gui/dialogs/task-details-page.c (init_widgets): listen for changes on completion date svn path=/trunk/; revision=26700
* include config.h. See #61395.Not Zed2004-07-221-0/+10
| | | | | | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/e-cal-model.c: * importers/icalendar-importer.c: * gui/dialogs/select-source-dialog.c: * gui/dialogs/copy-source-dialog.c: * gui/alarm-notify/util.c: * common/authentication.c: * gui/migration.c: include config.h. See #61395. svn path=/trunk/; revision=26694
* Fixes #61451JP Rosevear2004-07-201-0/+9
| | | | | | | | | | | | | 2004-07-16 JP Rosevear <jpr@novell.com> Fixes #61451 * gui/e-itip-control.c (get_cancel_options): don't give a cancel option if the event is no where to be found (show_current_event): pass in kind (show_current_todo): ditto svn path=/trunk/; revision=26678
* use short month forms to limit the maximum width of the label.Larry Ewing2004-07-201-1/+6
| | | | | | | | | 2004-07-16 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (set_info): use short month forms to limit the maximum width of the label. svn path=/trunk/; revision=26673
* Fixes #57142Rodrigo Moya2004-07-161-0/+15
| | | | | | | | | | | | | | | | | | | 2004-07-15 Rodrigo Moya <rodrigo@novell.com> Fixes #57142 * gui/e-day-view.c (e_day_view_on_editing_stopped): commit the sequence on the object before sending it to the backend. (e_day_view_add_event): s/abort_sequence/commit_sequence. * gui/e-week-view.c (e_week_view_on_editing_stopped): commit the sequence here also. (e_week_view_add_event): s/abort_sequence/commit_sequence. * gui/comp-util.c (cal_comp_event_new_with_current_time): don't commit the sequence here. svn path=/trunk/; revision=26665
* Fixes #61572JP Rosevear2004-07-161-341/+12
| | | | | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #61572 * gui/dialogs/schedule-page.c (times_changed_cb): call notify changed * gui/dialogs/comp-editor.c (page_summary_changed_cb): no need to mark the editor changed here, it doesn't do the right thing anyhow (page_dates_changed_cb): ditto svn path=/trunk/; revision=26659
* Fixes #60678JP Rosevear2004-07-151-0/+8
| | | | | | | | | | | | 2004-07-14 JP Rosevear <jpr@novell.com> Fixes #60678 * gui/dialogs/cancel-comp.c (cancel_component_dialog): flip the messages around, the "deleting" flag means something else is doing the deleting svn path=/trunk/; revision=26658
* Fixes #57287, 58748JP Rosevear2004-07-141-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-12 JP Rosevear <jpr@novell.com> Fixes #57287, 58748 * gui/tasks-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating a task (create_component_view): listen for source_added signal on the tasks * gui/gnome-cal.c (view_selection_changed_cb): if the user created a task, make sure we are displaying the relevant event list (set_timezone): set the default zone of the default client (setup_widgets): listen for the user_created signal (gnome_calendar_destroy): clean up default client (client_cal_opened_cb): disconnect from the open signal (default_client_cal_opened_cb): set the default client on the models (open_ecal): make the callback function a param (gnome_calendar_add_source): include the default client when searching for an existing client (gnome_calendar_set_default_source): make the default client independent of the rest of the clients * gui/e-week-view.c (e_week_view_on_editing_stopped): emit user_created signal * gui/e-tasks.c (user_created_cb): if the user created a task, make sure we are displaying the relevant task list (set_timezone): set the timezone on the client (setup_widgets): listen for user_created signal (e_tasks_destroy): unref default client (default_client_cal_opened_cb): set the default on the model when it opens (open_ecal): open a task list (e_tasks_add_todo_source): include the default client when searching for an existing client (e_tasks_set_default_source): make the default client independent of the rest of the clients * gui/e-day-view.c (e_day_view_on_editing_stopped): emit user_created signal * gui/e-calendar-view.h: add signal proto * gui/e-calendar-view.c (e_calendar_view_class_init): add user_created signal * gui/e-calendar-table.h: add signal proto * gui/e-calendar-table.c (e_calendar_table_class_init): add user_created signal (row_appended_cb): if row is appended, emit user_created signal (e_calendar_table_init): listen for row_appended signal * gui/e-cal-model.h: add signal proto * gui/e-cal-model.c (e_cal_model_class_init): add row_appended signal (ecm_append_row): don't leak, emit row appended signal (e_cal_model_set_default_client): remove the existing default if it was only used as the default (update_e_cal_view_for_client): short circuit query create (add_new_client): look for an existing client and update its record if found, handle opening things here (e_cal_model_add_client): just call add_new_client (remove_client_objects): just remove a client's objects (remove_client): use above, handle removal of client if its default * gui/calendar-component.c (source_added_cb): if the source was added in the main calendar, select it because the user caused this to happen by creating an appointment (create_component_view): listen for source_added signal on the calendar svn path=/trunk/; revision=26644
* as belowRadek Doulik2004-07-131-0/+14
| | | | | | | | | | | | | | | | | | 2004-07-08 Radek Doulik <rodo@ximian.com> * gui/e-cal-model.c (e_cal_model_date_value_to_string): as below * gui/e-cal-model-calendar.c (ecmc_value_to_string): as below * gui/e-cal-model.c (ecm_value_to_string): as below * gui/e-cal-model-tasks.c (ecmt_value_to_string): dup the string value, it's free-ed later. instead of returning NULL return g_strdup ("") as gal does Fixes #56271 svn path=/trunk/; revision=26634
* Add this callback so we can set the paned position on realizeRodney Dawes2004-07-131-0/+10
| | | | | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey#novell.com> * gui/e-tasks.c (pane_realized): Add this callback so we can set the paned position on realize (setup_widgets): Move the paned widget to the priv structure so that we can access it elsewhere (display_view_cb): Set the paned position when the view gets displayed Fixes #55653 svn path=/trunk/; revision=26624
* Update the layout of the dialog to be more usableRodney Dawes2004-07-131-0/+7
| | | | | | | | | | | 2004-07-12 Rodney Dawes <dobey@novell.com> * gui/dialogs/recur-comp.c (recur_component_dialog): Update the layout of the dialog to be more usable Partially fixes #56171 svn path=/trunk/; revision=26623
* busy should be opaque, not transparentJürg Billeter2004-07-121-0/+5
| | | | | | | | | 2004-07-11 Jürg Billeter <j@bitron.ch> * gui/dialogs/event-page.c (event_page_fill_component): busy should be opaque, not transparent svn path=/trunk/; revision=26619
* Revert my patches from July 5th and 6th.Rodrigo Moya2004-07-101-1/+11
| | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Revert my patches from July 5th and 6th. * gui/gnome-cal.c (gnome_calendar_init): call setup_config/widgets in the previous order. (setup_widgets): set the timezone on the views when creating them. (set_timezone): no need to set the timezone on the views here. (client_cal_opened_cb): removed call to set_timezone(). svn path=/trunk/; revision=26613
* Add an argument for the event_num so we can get the event object Draw theRodney Dawes2004-07-101-0/+11
| | | | | | | | | | | | | | | 2004-07-09 Rodney Dawes <dobey@novell.com> * gui/e-day-view-top-item.c (e_day_view_top_item_draw_triangle): Add an argument for the event_num so we can get the event object Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points * gui/e-week-view-event-item.c (e_week_view_event_item_draw_triangle): Draw the left/right triangles with the right color for the event Fix a small alignment bug with the triangle points svn path=/trunk/; revision=26609
* Fixes #60289Rodrigo Moya2004-07-101-0/+12
| | | | | | | | | | | | | | | | 2004-07-09 Rodrigo Moya <rodrigo@novell.com> Fixes #60289 * gui/dialogs/select-source-dialog.c (select_source_dialog): set the absolute URI on the selected source, so that the ESource we keep around has a valid URI. * gui/e-calendar-view.c (transfer_item_to): when copying appointments, change the UID. (transfer_selected_items): don't pass hardcoded values to transfer_item_to. svn path=/trunk/; revision=26608
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-091-0/+5
| | | | | | | * gui/Makefile.am: tarball should ship .schemas.in.in files, not generated files. svn path=/trunk/; revision=26605
* setup the widgets before the configuration.Rodrigo Moya2004-07-061-0/+5
| | | | | | | | | 2004-07-06 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (gnome_calendar_init): setup the widgets before the configuration. svn path=/trunk/; revision=26587
* Fixes #60645JP Rosevear2004-07-061-0/+7
| | | | | | | | | | | 2004-07-06 JP Rosevear <jpr@novell.com> Fixes #60645 * gui/e-calendar-view.c (e_calendar_view_new_appointment_full): guess when an item should be all day based on the selection time svn path=/trunk/; revision=26586
* don't set the timezone on the views here. (set_timezone): do it here.Rodrigo Moya2004-07-061-0/+7
| | | | | | | | | | | 2004-07-05 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (setup_widgets): don't set the timezone on the views here. (set_timezone): do it here. (client_cal_opened_cb): call set_timezone() here. svn path=/trunk/; revision=26585
* update the internal current_view_type field and focus the newly selectedRodrigo Moya2004-07-051-0/+5
| | | | | | | | | 2004-07-02 Rodrigo Moya <rodrigo@novell.com> * gui/gnome-cal.c (set_view): update the internal current_view_type field and focus the newly selected view. svn path=/trunk/; revision=26582
* Get the label for the calendar list header also (init_widgets): Set theRodney Dawes2004-07-031-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Rodney Dawes <dobey@novell.com> * gui/dialogs/url-editor-dialog.c (get_widgets): Get the label for the calendar list header also (init_widgets): Set the border widths for the dialog's vbox and action area to be more compliant with the HIG Set the mnemonic widget for the calendar label, to the Source Selector Remove the unneeded settings for the scrolled window, these are in the glade xml for the widget Set the icon list on the correct dialog widget, not the settings dialog * gui/dialogs/url-editor-dialog.h: Add the calendar_list_label widget here so we can access it * gui/dialogs/url-editor-dialog.glade: Change the dialog's layout to be HIG compliant and fix some strings to do the same Add mnemonics to all the labels that are associated with widgets svn path=/trunk/; revision=26564