diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-05-10 22:55:15 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-05-10 22:55:15 +0800 |
commit | 0907ec8130c5f2dc90f6d03e9575425aa8010f45 (patch) | |
tree | 6d665671d074cccd00314bfbbdf5e310d4fbce4a /calendar/gui/e-meeting-time-sel.c | |
parent | 8be2a0df7dfa830f9bfeeecfdf5551f1bbe1bd0a (diff) | |
download | gsoc2013-evolution-0907ec8130c5f2dc90f6d03e9575425aa8010f45.tar.gz gsoc2013-evolution-0907ec8130c5f2dc90f6d03e9575425aa8010f45.tar.zst gsoc2013-evolution-0907ec8130c5f2dc90f6d03e9575425aa8010f45.zip |
don't setup the watch cursor if we have no attendees.
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |