gnome-shell/js
Colin Walters 84716bccd4 Create ShellGlobal later to avoid connecting to X during build
The ShellGlobal initialization performs several actions like connecting
to the X server, ensuring directories exist, etc., that are problematic
because we were creating the object even when running the binary for
introspection scanning.  During compilation we may not even have X11
available in e.g. autobuilder type environments, and it's just a
bad idea to connect even if we do.

Avoid this by deferring creation of the ShellGlobal object
until the plugin is actually started.

Now that we're initializing things later, remove the connection to
screen changes, and initialize cached ShellGlobal state at the point
when the plugin is set.  The root pixmap actor is now sized initially
on creation too.  Instead of relying on screen-size-changed being
emitted on startup, explicitly invoke _relayout().

https://bugzilla.gnome.org/show_bug.cgi?id=618371
2010-05-17 13:04:38 -04:00
..
misc TelepathyClient: show notifications for presence changes 2010-05-17 09:58:36 -04:00
prefs Add a simple preference dialog for the clock 2010-05-09 01:07:47 +02:00
ui Create ShellGlobal later to avoid connecting to X during build 2010-05-17 13:04:38 -04:00
Makefile.am Add a simple preference dialog for the clock 2010-05-09 01:07:47 +02:00