void UpdateGlass ()
{
// If people cant see the timeline don't update it.
if (!display_timeline.Active)
return;
int cell_num = icon_view.TopLeftVisibleCell ();
if (cell_num == -1 /*|| cell_num == lastTopLeftCell*/)
return;
IPhoto photo = icon_view.Collection [cell_num];
/*
* FIXME this is a lame hack to get around a delegate chain. This should
* actually operate directly on the adaptor not on the selector but I don't have
* time to fix it right now.
*/
if (!group_selector.GlassUpdating) {
group_selector.SetPosition (group_selector.Adaptor.IndexFromPhoto (photo));
}
}