From 0907ec8130c5f2dc90f6d03e9575425aa8010f45 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 10 May 2010 15:55:15 +0100 Subject: don't setup the watch cursor if we have no attendees. --- calendar/gui/e-meeting-time-sel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index 72f531bc0f..dd3f49df75 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -1420,6 +1420,10 @@ e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, gint row, GdkCursor *cursor; GdkWindow *window; + /* nothing to refresh, lets not leak a busy cursor */ + if (e_meeting_store_count_actual_attendees (mts->model) <= 0) + return; + start = mts->meeting_start_time; g_date_subtract_days (&start.date, E_MEETING_TIME_SELECTOR_FB_DAYS_BEFORE); start.hour = 0; -- cgit v1.2.3