[gnome-shell] main: Move screenshotUI initialization earlier
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] main: Move screenshotUI initialization earlier
- Date: Sat, 12 Feb 2022 14:43:41 +0000 (UTC)
commit 33cf163f95de29c12a3a848d5e445397983eb63d
Author: Ivan Molodetskikh <yalterz gmail com>
Date: Tue Feb 8 19:13:25 2022 +0300
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>
js/ui/main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 908688c5a6..3d7a044c42 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -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();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]