[gnome-shell] sessionMode: Remove extraStylesheet
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] sessionMode: Remove extraStylesheet
- Date: Mon, 3 Sep 2012 21:20:08 +0000 (UTC)
commit 3a1f623ea35e14be201c657da904d2ac3d080ffe
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Sep 2 18:49:32 2012 -0300
sessionMode: Remove extraStylesheet
It's been unused ever since the gdm merge.
https://bugzilla.gnome.org/show_bug.cgi?id=683156
js/ui/main.js | 3 ---
js/ui/sessionMode.js | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index eaefa0c..3dff971 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -507,9 +507,6 @@ function loadTheme() {
let theme = new St.Theme ({ application_stylesheet: cssStylesheet });
- if (sessionMode.extraStylesheet)
- theme.load_stylesheet(sessionMode.extraStylesheet);
-
if (previousTheme) {
let customStylesheets = previousTheme.get_custom_stylesheets();
diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js
index e69ce4f..950bda2 100644
--- a/js/ui/sessionMode.js
+++ b/js/ui/sessionMode.js
@@ -17,7 +17,6 @@ const _modes = {
hasWorkspaces: false,
createSession: Main.createGDMSession,
createUnlockDialog: Main.createGDMLoginDialog,
- extraStylesheet: null,
panel: {
left: [],
center: ['dateMenu'],
@@ -34,7 +33,6 @@ const _modes = {
hasRunDialog: false,
hasWorkspaces: false,
createSession: Main.createInitialSetupSession,
- extraStylesheet: null,
panel: {
left: [],
center: ['dateMenu'],
@@ -51,7 +49,6 @@ const _modes = {
hasWorkspaces: true,
createSession: Main.createUserSession,
createUnlockDialog: Main.createSessionUnlockDialog,
- extraStylesheet: null,
panel: {
left: ['activities', 'appMenu'],
center: ['dateMenu'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]