aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-10-31 00:09:14 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-10-31 00:09:14 +0800
commitb57629aa8243f9123706c770843e99fefced824c (patch)
treec26157218acb1f18b79ce8a57c83b9adb6bfcbc6 /calendar/gui/e-meeting-time-sel.c
parent4ec29933d911ca99f4d762747224c89bffce9c1b (diff)
downloadgsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar
gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar.gz
gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar.bz2
gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar.lz
gsoc2013-evolution-b57629aa8243f9123706c770843e99fefced824c.tar.xz
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-time-sel.c')
-rw-r--r--calendar/gui/e-meeting-time-sel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index 2358ef2be8..25a2bbc22d 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -1511,7 +1511,7 @@ e_meeting_time_selector_autopick (EMeetingTimeSelector *mts,
/* Step through each attendee, checking if the meeting time
intersects one of the attendees busy periods. */
- for (row = 0; row < e_meeting_model_count_attendees (mts->model); row++) {
+ for (row = 0; row < e_meeting_model_count_actual_attendees (mts->model); row++) {
attendee = e_meeting_model_find_attendee_at_row (mts->model, row);
/* Skip optional people if they don't matter. */
@@ -2200,7 +2200,7 @@ e_meeting_time_selector_update_main_canvas_scroll_region (EMeetingTimeSelector *
{
gint height, canvas_height;
- height = mts->row_height * (e_meeting_model_count_attendees (mts->model) + 2);
+ height = mts->row_height * (e_meeting_model_count_actual_attendees (mts->model) + 2);
canvas_height = GTK_WIDGET (mts->display_main)->allocation.height;
height = MAX (height, canvas_height);