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/e-meeting-model.c | |
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/e-meeting-model.c')
-rw-r--r-- | calendar/gui/e-meeting-model.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c index 35c50c153c..a545c0bbf9 100644 --- a/calendar/gui/e-meeting-model.c +++ b/calendar/gui/e-meeting-model.c @@ -378,9 +378,6 @@ append_row (ETableModel *etm, ETableModel *source, int row) e_meeting_attendee_set_language (ia, g_strdup (e_table_model_value_at (source, ITIP_LANGUAGE_COL, row))); e_meeting_model_add_attendee (E_MEETING_MODEL (etm), ia); - -// comp_editor_page_notify_needs_send (COMP_EDITOR_PAGE (im)); -// comp_editor_page_notify_changed (COMP_EDITOR_PAGE (im)); } static void * @@ -465,9 +462,6 @@ set_value_at (ETableModel *etm, int col, int row, const void *val) e_meeting_attendee_set_language (ia, g_strdup (val)); break; } - -// comp_editor_page_notify_needs_send (COMP_EDITOR_PAGE (im)); -// comp_editor_page_notify_changed (COMP_EDITOR_PAGE (im)); } static gboolean @@ -735,11 +729,13 @@ build_etable (ETableModel *model, const gchar *spec_file, const gchar *state_fil e_scroll_frame_set_scrollbar_spacing (E_SCROLL_FRAME (etable), 0); e_table_load_state (real_table, state_file); -// gtk_signal_connect (GTK_OBJECT (real_table), -// "right_click", GTK_SIGNAL_FUNC (right_click_cb), mpage); -// gtk_signal_connect (GTK_OBJECT (real_table->sort_info), -// "sort_info_changed", GTK_SIGNAL_FUNC (sort_info_changed_cb), mts); - +#if 0 + gtk_signal_connect (GTK_OBJECT (real_table), + "right_click", GTK_SIGNAL_FUNC (right_click_cb), mpage); + gtk_signal_connect (GTK_OBJECT (real_table->sort_info), + "sort_info_changed", GTK_SIGNAL_FUNC (sort_info_changed_cb), mts); +#endif + gtk_object_unref (GTK_OBJECT (extras)); return E_TABLE_SCROLLED (etable); |