[gnome-shell] main: register with session manager explicitly



commit 57eae1be4314caad4666bee52d0543f38da603b1
Author: Ray Strode <rstrode redhat com>
Date:   Thu Feb 28 10:43:39 2013 -0500

    main: register with session manager explicitly
    
    Mutter now makes session registration an explicit required
    step.  This is so we can tell the session manager when
    we're ready to move on to the next phase.
    
    This commit calls the new Meta.register_with_session() api after we're
    initialized.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694876

 js/ui/main.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 8b606cb..3a3f674 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -168,6 +168,9 @@ function startSession() {
     // initiate logouts.
     EndSessionDialog.init();
 
+    // We're ready for the session manager to move to the next phase
+    Meta.register_with_session();
+
     _startDate = new Date();
 
     log('GNOME Shell started at ' + _startDate);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]