search-model: Wait for results before returning
Dazzle is very sensitive to returning empty search results, and ends up flickering when we pass a search model that is not yet populated. Wait for a few results, or for 150ms, before returning the model. https://gitlab.gnome.org/GNOME/gnome-calendar/issues/468
This commit is contained in:
@@ -30,4 +30,7 @@ G_DECLARE_FINAL_TYPE (GcalSearchModel, gcal_search_model, GCAL, SEARCH_MODEL, GO
|
||||
GcalSearchModel* gcal_search_model_new (GCancellable *cancellable,
|
||||
gint max_results);
|
||||
|
||||
void gcal_search_model_wait_for_hits (GcalSearchModel *self,
|
||||
GCancellable *cancellable);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user