GNOME Bugzilla – Bug 635601
background panel loads synchronously
Last modified: 2010-12-13 16:21:02 UTC
The background panel should load the wallpapers asynchronously and should not delay showing the main UI. Currently there are at least two serious problems: * data models are loaded in the constructor * images are loaded in a synchronous loop For example: http://git.gnome.org/browse/gnome-control-center/tree/panels/background/bg-pictures-source.c#n150
commit 44fbef70a292b7ae049554ffd6949d53e3b66d64 Author: Bastien Nocera <hadess@hadess.net> Date: Mon Dec 13 16:19:58 2010 +0000 background: Load ~/Pictures asynchronously Using the new gdk-pixbuf helper functions in 2.23.0. https://bugzilla.gnome.org/show_bug.cgi?id=635601 commit 9580be8d17d6902632ce1785c25dfb69f60d48ea Author: Bastien Nocera <hadess@hadess.net> Date: Mon Dec 13 15:30:22 2010 +0000 background: Avoid re-querying the GFileInfo If we already have it from enumerating the Pictures directory. Saves us from doing sync queries in certain cases.