[gnome-shell] main: Merge two different session-mode-updated handlers
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] main: Merge two different session-mode-updated handlers
- Date: Wed, 6 Mar 2013 19:35:15 +0000 (UTC)
commit 0ba1f29e40d910898c44a6857804af8827bff513
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Feb 18 05:23:08 2013 -0500
main: Merge two different session-mode-updated handlers
https://bugzilla.gnome.org/show_bug.cgi?id=694321
js/ui/main.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index c95be0a..015b4b6 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -71,6 +71,8 @@ let _cssStylesheet = null;
let _overridesSettings = null;
function _sessionUpdated() {
+ _loadDefaultStylesheet();
+
wm.setCustomKeybindingHandler('panel-main-menu',
Shell.KeyBindingMode.NORMAL |
Shell.KeyBindingMode.OVERVIEW,
@@ -106,8 +108,6 @@ function start() {
}
function startSession() {
- sessionMode.connect('updated', _loadDefaultStylesheet);
-
shellDBusService = new ShellDBus.GnomeShell();
shellMountOpDBusService = new ShellMountOperation.GnomeShellMountOpHandler();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]