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
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
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
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
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
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
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
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
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
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
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
* 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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