diff --git a/js/ui/main.js b/js/ui/main.js index eaefa0c78..3dff971eb 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 e69ce4f36..950bda2be 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'],