gnome-shell/js
Jasper St. Pierre 831bd07b0d layout: Fix several issues with the background management code
If monitor-changed fires at startup, it will destroy all of the
backgrounds, but since this._isStartup is true, won't recreate any
of them. Additionally, since _bgManagers is indexed by monitor index,
if the primary index is not 0, it could become a sparse array (e.g.
[undefined, undefined, primaryBackground]), and our for loop will
crash trying to access properties of undefined.

Fix both of these issues by always creating background managers for
every monitor, hiding them on startup but only showing them after
the startup animation is complete.

One thing we need to watch out for is that while LayoutManager is
constructing, Main.uiGroup / Main.layoutManager will be undefined,
so addBackgroundMenu will fail. Fix this by passing down the uiGroup
to the background menu code.

https://bugzilla.gnome.org/show_bug.cgi?id=709313
2013-11-14 14:28:51 -05:00
..
extensionPrefs Synchronize shell startup 2013-11-04 11:50:20 -05:00
gdm loginDialog: Use UserWidget 2013-10-30 13:19:02 -04:00
misc Synchronize shell startup 2013-11-04 11:50:20 -05:00
perf perf: Update to latest overlay changes 2012-08-20 20:40:01 +02:00
ui layout: Fix several issues with the background management code 2013-11-14 14:28:51 -05:00
js-resources.gresource.xml Load JS from GResource 2013-10-30 13:27:16 -04:00
Makefile.am build: Add built js-resources to CLEANFILES 2013-11-13 21:24:30 +01:00