84716bccd4
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 |
||
---|---|---|
.. | ||
gdmuser | ||
st | ||
tray | ||
gnome-shell-clock-preferences.in | ||
gnome-shell-plugin.c | ||
gnome-shell.in | ||
gtk-compat.h | ||
Makefile-gdmuser.am | ||
Makefile-st.am | ||
Makefile-tray.am | ||
Makefile.am | ||
shell-app-private.h | ||
shell-app-system.c | ||
shell-app-system.h | ||
shell-app-usage.c | ||
shell-app-usage.h | ||
shell-app.c | ||
shell-app.h | ||
shell-arrow.c | ||
shell-arrow.h | ||
shell-doc-system.c | ||
shell-doc-system.h | ||
shell-drawing.c | ||
shell-drawing.h | ||
shell-embedded-window-private.h | ||
shell-embedded-window.c | ||
shell-embedded-window.h | ||
shell-enum-types.c.in | ||
shell-enum-types.h.in | ||
shell-gconf.c | ||
shell-gconf.h | ||
shell-generic-container.c | ||
shell-generic-container.h | ||
shell-global-private.h | ||
shell-global.c | ||
shell-global.h | ||
shell-gtk-embed.c | ||
shell-gtk-embed.h | ||
shell-marshal.list | ||
shell-menu.c | ||
shell-menu.h | ||
shell-overflow-list.c | ||
shell-overflow-list.h | ||
shell-process.c | ||
shell-process.h | ||
shell-recorder-src.c | ||
shell-recorder-src.h | ||
shell-recorder.c | ||
shell-recorder.h | ||
shell-slicer.c | ||
shell-slicer.h | ||
shell-stack.c | ||
shell-stack.h | ||
shell-tray-manager.c | ||
shell-tray-manager.h | ||
shell-uri-util.c | ||
shell-uri-util.h | ||
shell-window-tracker.c | ||
shell-window-tracker.h | ||
shell-wm.c | ||
shell-wm.h | ||
shell-xfixes-cursor.c | ||
shell-xfixes-cursor.h | ||
test-recorder.c |