filechooser: Use same priority everywhere
authorBenjamin Otte <otte@redhat.com>
Wed, 25 Mar 2015 03:27:33 +0000 (04:27 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 25 Mar 2015 03:31:33 +0000 (04:31 +0100)
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!

gtk/gtkfilechooserwidget.c

index 6e4375cd9bdc8430cd6649874d37c2667488518e..f995cb1b57609d62cf5d634fa9dc056022354678 100644 (file)
@@ -6541,7 +6541,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);