diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-31 00:09:14 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-31 00:09:14 +0800 |
commit | b57629aa8243f9123706c770843e99fefced824c (patch) | |
tree | c26157218acb1f18b79ce8a57c83b9adb6bfcbc6 /calendar/gui/e-meeting-model.h | |
parent | 4ec29933d911ca99f4d762747224c89bffce9c1b (diff) | |
download | gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar.gz gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar.zst gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.zip |
count the actual attendees (doesn't include people delegating
2001-10-30 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.c (e_meeting_model_count_actual_attendees):
count the actual attendees (doesn't include people delegating
* gui/e-meeting-time-sel.c: use
e_meeting_model_count_actual_attendees (renamed)
* gui/e-meeting-time-sel-item.c: use
e_meeting_model_etable_view_to_model_row calls instead of calling
on the model directly, use e_meeting_model_count_actual_attendees
* gui/e-meeting-model.c
(e_meeting_model_etable_model_to_view_row): get the real mapping
(e_meeting_model_etable_view_to_model_row): ditto
(get_key): e-table-without callback
(duplicate_key): ditto
(free_gotten_key): ditto
(free_duplicated_key): ditto
(init): create without model
(e_meeting_model_etable_from_model): build etable from without
model
* gui/e-meeting-model.h: update protos
* gui/dialogs/meeting-page.c (right_click_cb): convert row from
view to model row
svn path=/trunk/; revision=14462
Diffstat (limited to 'calendar/gui/e-meeting-model.h')
-rw-r--r-- | calendar/gui/e-meeting-model.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-meeting-model.h b/calendar/gui/e-meeting-model.h index 3e8e39b25e..562ddd82af 100644 --- a/calendar/gui/e-meeting-model.h +++ b/calendar/gui/e-meeting-model.h @@ -77,12 +77,14 @@ void e_meeting_model_remove_all_attendees (EMeetingModel *im); EMeetingAttendee *e_meeting_model_find_attendee (EMeetingModel *im, const gchar *address, gint *row); EMeetingAttendee *e_meeting_model_find_attendee_at_row (EMeetingModel *im, gint row); -gint e_meeting_model_count_attendees (EMeetingModel *im); +gint e_meeting_model_count_actual_attendees (EMeetingModel *im); const GPtrArray *e_meeting_model_get_attendees (EMeetingModel *im); void e_meeting_model_refresh_busy_periods (EMeetingModel *im, EMeetingModelRefreshCallback call_back, gpointer data); /* Helpful functions */ ETableScrolled *e_meeting_model_etable_from_model (EMeetingModel *im, const gchar *spec_file, const gchar *state_file); +int e_meeting_model_etable_model_to_view_row (EMeetingModel *im, int model_row); +int e_meeting_model_etable_view_to_model_row (EMeetingModel *im, int view_row); void e_meeting_model_invite_others_dialog (EMeetingModel *im); |