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
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
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-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-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-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 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>
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
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
2004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/alarm-dialog.c (alarm_to_dialog): set the default
address here if possible
(dialog_to_alarm): don't set it here
(check_custom_email): check for To: entries
(malarm_addresses_changed_cb): update when the text in the to entry changes
(action_selection_done_cb): for the custom email settings
(init_widgets): listen for email To: changes
(alarm_dialog_run): only save the alarm if the response was "OK"
svn path=/trunk/; revision=26516
2004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_init): init alarm interval
to -1
(clear_widgets): give the alarm time option menu a sensible
default
(is_custom_alarm): account for the user defined alarm time if it
doesn't match the default set
(event_page_fill_widgets): default the option menu to the 15
minute or user define alarm if no alarm is currently set
(event_page_fill_component): account for the user defined alarm
tme
(init_widgets): add in the user defined alarm time if it doesn't
match the default set
svn path=/trunk/; revision=26515
2004-06-25 JP Rosevaer <jpr@novell.com>
* gui/dialogs/alarm-dialog.c (palarm_widgets_to_alarm): the args
are optional, don't store them if they aren't there
(check_custom_sound): sensitize the ok button based on whether or
not there needs to be input
(check_custom_message): ditto
(check_custom_program): ditto
(dalarm_message_toggled_cb): check custom message
(dalarm_description_changed_cb): ditto
(aalarm_sound_toggled_cb): check custom sound
(aalarm_attach_changed_cb): ditto
(palarm_program_changed_cb): check custom program
(action_selection_done_cb): use above checks as appropriate
(init_widgets): listen for changed signals
svn path=/trunk/; revision=26512
004-06-25 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_finalize): free old_summary
(is_custom_alarm): take description into account when checking for
custom alarm
(is_custom_alarm_uid_list): pass old_summary
(is_custom_alarm_store): ditto
(is_custom_alarm_store): ditto
(sensitize_widgets): ditto
(event_page_fill_component): ditto
(event_page_fill_widgets): store the initial summary
(alarm_changed_cb): make sure the needs description property gets
set on the default alarm
(alarm_custom_clicked_cb): copy the current store in case the user
hits cancel, if all the alarms are erased uncheck the alarm toggle
* gui/dialogs/alarm-dialog.glade: add toggles for custom messages
and sound
* gui/dialogs/alarm-dialog.c (aalarm_widgets_to_alarm): store
custom sound only if the toggle is checked
(dalarm_widgets_to_alarm): store custom message only if toggle is
checked
(get_widgets): load new widgets
(aalarm_sound_toggled_cb): sensitize sound entry
(dalarm_message_toggled_cb): sensitize message entry
(init_widgets): listen for toggle signals
svn path=/trunk/; revision=26511
2004-06-24 JP Rosevear <jpr@novell.com>
* gui/dialogs/alarm-list-dialog.c (selection_changed_cb):
sensitize the buttons
(init_widgets): listen for selection changes so we can delete
alarms
svn path=/trunk/; revision=26502
2004-06-24 JP Rosevear <jpr@novell.com>
* gui/dialogs/event-page.c (event_page_fill_component): store all
the custom alarms
(alarm_custom_clicked_cb): emit changed signal if necessary
* gui/dialogs/alarm-list-dialog.c (alarm_list_dialog_run): return
true/false based on button pushed
* gui/dialogs/alarm-dialog.c: move repeat options and per alarm
type options here
* gui/dialogs/alarm-dialog.glade: ditto
* gui/dialogs/Makefile.am: remove alarm options dialog
svn path=/trunk/; revision=26500
2004-06-23 JP Rosevear <jpr@novell.com>
* gui/dialogs/comp-editor.c (comp_editor_init): set the window
type hint to normal so it can go below the shell window
svn path=/trunk/; revision=26480
2004-06-23 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor.c (comp_editor_notify_client_changed):
fixed gtk-doc comments and made it enable/disable the dialog's
OK button depending on the selected source.
svn path=/trunk/; revision=26479
2004-06-23 JP Rosevear <jpr@novell.com>
* gui/dialogs/meeting-page.c (remove_attendee): util function to
do the actual removal
(remove_attendee_at_row): ditto based on row number
(remove_clicked_cb): make the remove button work
(popup_delete_cb): use utility routines to do removal
(button_press_event): do the icon properly
svn path=/trunk/; revision=26473
2004-06-22 Rodney Dawes <dobey@novell.com>
* gui/calendar-component.c (config_calendars_selection_changed_cb):
(config_primary_calendar_selection_changed_cb):
Add these two callbacks so that we can update the selection in the
calendar when the gconf key changes, like we do for tasks
(create_component_view): Register the two callbacks that we created
for updating the selection in the view, and their notification IDs
svn path=/trunk/; revision=26470
2004-06-21 Rodney Dawes <dobey@novell.com>
Fixes#56892
* gui/dialogs/select-source-dialog.c (row_activated_cb): Add this
callback to activate the OK button when we double-click or press
the Enter key on a row
(select_source_dialog): Change the default size to be reasonable
Use ensure_style instead of realize on the dialog
Set the default response for the dialog to OK
Fix the packing of the group label to not have extraneous padding
Connect up the callback for row_activated
svn path=/trunk/; revision=26444
2004-06-17 Rodrigo Moya <rodrigo@novell.com>
Fixes#60309
* gui/meeting-page.c (sensitize_widgets): moved up in the file, to
be declared before any use.
svn path=/trunk/; revision=26385
2004-06-15 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/meeting-page.c (meeting_page_construct): connect
to "client_changed" signal on the page.
(client_changed_cb): new callback.
(sensitize_widgets): new function.
(meeting_page_fill_widgets): call sensitize_widgets().
svn path=/trunk/; revision=26345
2004-06-15 Rodrigo Moya <rodrigo@novell.com>
* gui/e-meeting-time-sel.[ch]
(e_meeting_time_selector_set_read_only): new function.
(e_meeting_time_selector_construct): store some missing buttons
in the EMeetingTimeSelector structure.
* gui/dialogs/schedule-page.c (schedule_page_construct):
connect to "client_changed" signal on the page.
(client_changed_cb): new callback.
(sensitize_widgets): new function.
(schedule_page_fill_widgets): call sensitize_widgets().
svn path=/trunk/; revision=26344
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
Fixes#57579
* gui/dialogs/select-source-dialog.c (select_source_dialog): start
with the OK button disabled.
(primary_selection_changed_cb): enable/disable the OK button depending
on the selection on the ESourceSelector.
svn path=/trunk/; revision=26256
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor.[ch] (comp_editor_notify_client_changed):
new function for notifying all pages of the client change.
(page_client_changed_cb): no need for this callback.
(comp_editor_append_page): no need to connect to "client_changed"
signal on the pages.
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_client_changed): re-added the call to
comp_editor_page_set_e_cal(), the client was not being set anywhere.
* gui/dialogs/event-page.c (source_changed_cb): use
comp_editor_notify_client_changed() so that all pages get informed
of the client change.
* gui/dialogs/task-page.c (source_changed_cb): ditto.
svn path=/trunk/; revision=26255
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/comp-editor-page.c
(comp_editor_page_notify_client_changed): do not set the private
client here, it is set in comp-editor.c.
* gui/dialogs/event-page.c (sensitize_widgets): new function.
(source_changed_cb): call sensitize_buttons().
* gui/dialogs/recurrence-page.c (sensitize_buttons): new
function, to deal correctly with the sensitivity of all widgets
in the page.
(recurrence_page_fill_widgets, type_toggled_cb, client_changed_cb):
call sensitize_buttons() instead of sensitize_recur_widgets().
(recurrence_page_construct): g_signal_connect_after for
"client_changed", to get notifications after CompEditorPage
gets his.
* gui/dialogs/alarm-page.c (sensitize_buttons): sensitize the missing
widgets in the page.
(alarm_page_construct): g_signal_connect_after for "client_changed",
to get notifications after CompEditorPage gets his.
svn path=/trunk/; revision=26254
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
* gui/dialogs/recurrence-page.c (recurrence_page_construct): connect
to "client_changed" signal on the page.
(client_changed_cb): new callback.
* gui/dialogs/alarm-page.c (sensitize_buttons): fixed missing stuff
in last commit.
svn path=/trunk/; revision=26252
2004-06-08 Rodrigo Moya <rodrigo@novell.com>
Fixes#59650
* gui/dialogs/alarm-page.c (alarm_page_construct): connect to
"client_changed" signal on the page.
(client_changed_cb): new callback.
(sensitize_buttons): added code for dealing with read only calendars
and disable/enable buttons approppriately.
svn path=/trunk/; revision=26251
2004-06-04 JP Rosevear <jpr@novell.com>
* gui/dialogs/task-page.c (task_page_fill_widgets): guard
against the text value being NULL
* gui/dialogs/event-page.c (event_page_fill_widgets): add guards
here as well
svn path=/trunk/; revision=26211
2004-06-03 Rodrigo Moya <rodrigo@novell.com>
Fixes#56875
* gui/dialogs/event-editor.c (event_editor_construct): connect to
"client_changed" signal on the EventPage.
(client_changed_cb): set menu sensibility when the client changes.
* gui/dialogs/task-editor.c (task_editor_construct): connect to
"client_changed signal on the TaskPage.
(client_changed_cb): set menu sensibility when the client changes.
svn path=/trunk/; revision=26173