2007-11-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #380644
* gui/dialogs/task-page.h: (task_page_add_attendee):
* gui/dialogs/task-page.c: (task_page_add_attendee):
* gui/dialogs/event-page.h: (event_page_add_attendee):
* gui/dialogs/event-page.c: (event_page_add_attendee):
New function to add attendee to store and name selector.
* gui/dialogs/task-page.c: (remove_attendee): Remove attendee also
from name selector (keep consistent).
* gui/dialogs/task-editor.c: (task_editor_edit_comp):
Use task_page_add_attendee to add known attendees.
* gui/dialogs/event-editor.c: (event_editor_edit_comp):
Use event_page_add_attendee to add known attendees.
* gui/e-meeting-store.c: (e_meeting_store_remove_all_attendees),
(e_meeting_store_remove_attendee): Code cleanup by Matthew Barnes.
svn path=/trunk/; revision=34582
2006-02-08 Tor Lillqvist <tml@novell.com>
* gui/dialogs/task-editor.c (task_editor_init): Construct the
pathname to the xml file at run-time to avoid using compile-time
paths on Windows.
svn path=/trunk/; revision=31456
2005-10-06 Srinivasa Ragavan <sragavan@novell.com>
* calendar/: Several bug fixes under calendar.
* ui/: Use common shortcut for preview pane.
svn path=/trunk/; revision=30497
2005-03-31 Chenthill Palanisamy <pchenthill@novell.com>
Fixes#73879
* gui/dialogs/comp-editor.[ch]:
(comp_editor_sensitize_attachment_bar): Added a function
to sensitize/desensitize the attachment bar.
(comp_editor_notify_client_changed): When client changes
sensitize the attachment bar.
* gui/dialogs/event-editor.c: (event_editor_construct):
* gui/dialogs/task-editor.c: (task_editor_construct): Sensitize
the attachment bar.
svn path=/trunk/; revision=29146
2005-03-21 Chenthill Palanisamy <pchenthill@novell.com>
Fixes#73031
* gui/dialogs/event-editor.c: (event_editor_finalize):
* gui/dialogs/task-editor.c: (task_editor_finalize): Added
a check for the presence of the object before unreffing it.
svn path=/trunk/; revision=29076
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
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
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
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
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
2003-09-30 Mike Kestner <mkestner@ximian.com>
* cal-util/cal-util-marshal.list : new VOID:STRING,STRING,STRING
* gui/Makefile.am : build the new view/store/renderer/editable
* gui/e-select-names-renderer.* : new completion cell renderer
* gui/e-select-names-editable.* : new completion cell editable
* gui/e-meeting-model.* : killed. code reused in list-view/store
* gui/e-meeting-store.* : port of EMeetingModel to GtkTreeModel
* gui/e-meeting-list-view.* : GtkTreeView subclass for attendee lists
* gui/e-meeting-time-sel.c : Use the new store/view
* gui/e-meeting-time-sel-item.c : Use the new store/view
* gui/dialogs/Makefile.am : don't install the etspec anymore.
* gui/dialogs/event-editor.c : Use the new store/view.
* gui/dialogs/meeting-page.c : Use the new store/view.
* gui/dialogs/shedule-page.c : Use the new store/view.
* gui/dialogs/task-editor.c : Use the new store/view.
svn path=/trunk/; revision=22774
2003-07-07 Rodrigo Moya <rodrigo@ximian.com>
Fixes#45910
* gui/dialogs/task-editor.c (task_editor_class_init): set up the
handler for the set_cal_client virtual method.
(task_editor_set_cal_client): added missing virtual method.
2003-07-07 Jack Jia <jack.jia@sun.com>
* cal-client/cal-client.c (cal_client_get_static_capability): add
g_return_val_if_fail to check the input param.
svn path=/trunk/; revision=21743
* cal-client/cal-client.c (real_open_calendar): Don't leak
exceptions
(load_static_capabilities): free the capability string
* gui/dialogs/task-page.c (task_page_fill_component): Free the
description text if it *was* set, rather than if it wasn't.
* gui/dialogs/task-editor.c (task_editor_finalize): Free the priv
struct.
svn path=/trunk/; revision=21722
2003-05-01 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): unref the
model again
(task_editor_edit_comp): don't allow editing if the assignee has
delegated
* gui/dialogs/meeting-page.c (popup_delete_cb): set the new
non-delegator to be editable
* gui/dialogs/event-editor.c (event_editor_edit_comp): don't allow
editing if the attendee has delegated
(event_editor_finalize): unref the model again
* gui/e-meeting-model.c: remove e-table-without related functions
(finalize): don't create without table
(e_meeting_model_etable_from_model): build the table with this as
model
(e_meeting_model_etable_model_to_view_row): directly use the
model_to_view call
(e_meeting_model_etable_view_to_model_row): as above
(attendee_changed_cb): make sure pre change is alwasy called
* gui/e-meeting-model.h: use DECLS, remove protos for long dead
functions, don't include config.h
svn path=/trunk/; revision=21045
2003-04-29 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (task_editor_finalize): ditto
* gui/dialogs/event-editor.c (event_editor_finalize): don't unref
the model here
* gui/e-meeting-time-sel.c (e_meeting_time_selector_destroy): null
up the display_top and display_main for re-entrancy purposes
svn path=/trunk/; revision=21018