main: Move screenshotUI initialization earlier
A new screen recording panel indicator will connect to its signal, so it needs to be initialized before the panel. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2163>
This commit is contained in:
parent
3a74fc2021
commit
33cf163f95
@ -221,6 +221,8 @@ function _initializeUI() {
|
||||
inputMethod = new InputMethod.InputMethod();
|
||||
Clutter.get_default_backend().set_input_method(inputMethod);
|
||||
|
||||
screenshotUI = new Screenshot.ScreenshotUI();
|
||||
|
||||
messageTray = new MessageTray.MessageTray();
|
||||
panel = new Panel.Panel();
|
||||
keyboard = new Keyboard.KeyboardManager();
|
||||
@ -228,8 +230,6 @@ function _initializeUI() {
|
||||
windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
|
||||
componentManager = new Components.ComponentManager();
|
||||
|
||||
screenshotUI = new Screenshot.ScreenshotUI();
|
||||
|
||||
introspectService = new Introspect.IntrospectService();
|
||||
|
||||
layoutManager.init();
|
||||
|
Loading…
Reference in New Issue
Block a user