filechooser: Use same priority everywhere

I managed to stall recent files today while trying to save a GTK
testcase in glade that contained enough spinning spinners that the CPU
was saturated just redrawing things.

I had to navigate the filesystem!
This commit is contained in:
Benjamin Otte
2015-03-25 04:27:33 +01:00
committed by Matthias Clasen
parent 06a952c55d
commit c8c007a49e

View File

@@ -6456,7 +6456,7 @@ recent_start_loading (GtkFileChooserWidget *impl)
load_data->items = NULL;
/* begin lazy loading the recent files into the model */
priv->load_recent_id = gdk_threads_add_idle_full (G_PRIORITY_HIGH_IDLE + 30,
priv->load_recent_id = gdk_threads_add_idle_full (G_PRIORITY_DEFAULT,
recent_idle_load,
load_data,
recent_idle_cleanup);