diff options
author | JP Rosevear <jpr@ximian.com> | 2001-09-20 02:46:34 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-09-20 02:46:34 +0800 |
commit | e5c7ee01fd8892709c7c6d7e925fdbaa37ff406e (patch) | |
tree | 052f060da4f34303224dddbda7fce90cedac66c9 /calendar/gui/dialogs/comp-editor.h | |
parent | 982c014bffdcf15207e8a778689d1156ffc5161e (diff) | |
download | gsoc2013-evolution-e5c7ee01fd8892709c7c6d7e925fdbaa37ff406e.tar.gz gsoc2013-evolution-e5c7ee01fd8892709c7c6d7e925fdbaa37ff406e.tar.zst gsoc2013-evolution-e5c7ee01fd8892709c7c6d7e925fdbaa37ff406e.zip |
listen for model changes (task_editor_edit_comp): add the attendees to the
2001-09-19 JP Rosevear <jpr@ximian.com>
* gui/dialogs/task-editor.c (init_widgets): listen for model
changes
(task_editor_edit_comp): add the attendees to the model and notify
of need send
(row_count_changed_cb): mark as changed when row added/deleted
(model_row_changed_cb): mark as changed when row changes
* gui/dialogs/event-editor.c (init_widgets): listen for model
changes
(event_editor_init): flip page order
(event_editor_edit_comp): set needs send value
(schedule_meeting_cmd): flip page order
(row_count_changed_cb): mark as changed when row added/deleted
(model_row_changed_cb): mark as changed when row changes
* gui/dialogs/schedule-page.c: remove model change notification
stuff
(schedule_page_fill_widgets): no need to do the needs_send here
because the editor handles this since it owns the model
* gui/dialogs/event-editor.c (init_widgets): listen for model
changes
(event_editor_init): flip page order
(event_editor_edit_comp): set needs send value
(schedule_meeting_cmd): flip page order
(row_count_changed_cb): mark as changed when row added/deleted
(model_row_changed_cb): mark as changed when row changes
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets): no need
to do the needs_send here because the editor handles this since it
owns the model
(invite_entry_changed): ditto
* gui/dialogs/comp-editor.c (comp_editor_set_changed): new
accessor
(comp_editor_get_changed): ditto
(comp_editor_set_needs_send): ditto
(comp_editor_get_needs_send): ditto
* gui/dialogs/comp-editor.h: new protos
* gui/itip-utils.c (itip_addresses_get): reflect configuration
path changes in the mailer
* gui/e-meeting-model.c: remove commented out code, ifdef one
section for later
svn path=/trunk/; revision=12983
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.h')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index 64920879cc..f19ac706b6 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -58,7 +58,12 @@ typedef struct { } CompEditorClass; GtkType comp_editor_get_type (void); -CompEditor *comp_editor_new (void); +void comp_editor_set_changed (CompEditor *editor, + gboolean changed); +gboolean comp_editor_get_changed (CompEditor *editor); +void comp_editor_set_needs_send (CompEditor *editor, + gboolean needs_send); +gboolean comp_editor_get_needs_send (CompEditor *editor); void comp_editor_append_page (CompEditor *editor, CompEditorPage *page, const char *label); @@ -85,6 +90,7 @@ void comp_editor_set_ui_prop (CompEditor *editor, const char *val); void comp_editor_focus (CompEditor *editor); + END_GNOME_DECLS |