[gnome-shell] legacyTray: Time to say goodbye ...



commit f1ee6c69d74884e294dd5872c73691d5fd2ba09a
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Aug 1 11:51:17 2017 +0100

    legacyTray: Time to say goodbye ...
    
    The legacy tray introduced as part of the notification redesign in
    3.16 was meant as a stop-gap solution to encourage applications to
    move away from the concept of status icons, but it hasn't really
    done anything except of getting in the way. Given that the large
    majority of apps that still make use of status icons work perfectly
    fine without them, we decided that it is time to drop this unloved
    bit of UI altogether. Users who still want them (or use one of the
    odd cases where an app really depends on the icon) can install one of
    various extensions that are available, either based on the XEmbed
    support that is still kept around or implementing the DBus-based
    StatusNotifier spec.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785956

 data/theme/gnome-shell-high-contrast.css |   32 ----
 data/theme/gnome-shell-sass              |    2 +-
 data/theme/gnome-shell.css               |   32 ----
 js/js-resources.gresource.xml            |    1 -
 js/ui/legacyTray.js                      |  272 ------------------------------
 js/ui/main.js                            |    3 -
 6 files changed, 1 insertions(+), 341 deletions(-)
---
diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css
index 442a7f3..6b4ea12 100644
--- a/data/theme/gnome-shell-high-contrast.css
+++ b/data/theme/gnome-shell-high-contrast.css
@@ -1479,38 +1479,6 @@ StScrollBar {
   color: pink; }
 
 /* Eeeky things */
-.legacy-tray {
-  background-color: #000;
-  border: 1px solid black;
-  border-bottom-width: 0; }
-  .legacy-tray:ltr {
-    border-radius: 0 6px 0 0;
-    border-left-width: 0; }
-  .legacy-tray:rtl {
-    border-radius: 6px 0 0 0;
-    border-right-width: 0; }
-
-.legacy-tray-handle,
-.legacy-tray-icon {
-  padding: 6px; }
-  .legacy-tray-handle StIcon,
-  .legacy-tray-icon StIcon {
-    icon-size: 24px; }
-  .legacy-tray-handle:hover, .legacy-tray-handle:focus,
-  .legacy-tray-icon:hover,
-  .legacy-tray-icon:focus {
-    background-color: rgba(255, 255, 255, 0.1); }
-
-.legacy-tray-icon-box {
-  spacing: 12px; }
-  .legacy-tray-icon-box:ltr {
-    padding-left: 12px; }
-  .legacy-tray-icon-box:rtl {
-    padding-right: 12px; }
-  .legacy-tray-icon-box StButton {
-    width: 24px;
-    height: 24px; }
-
 .magnifier-zoom-region {
   border: 2px solid #215d9c; }
   .magnifier-zoom-region.full-screen {
diff --git a/data/theme/gnome-shell-sass b/data/theme/gnome-shell-sass
index 3ce23ca..53cf147 160000
--- a/data/theme/gnome-shell-sass
+++ b/data/theme/gnome-shell-sass
@@ -1 +1 @@
-Subproject commit 3ce23ca9648c131a33b79f37b3e19001ff45450d
+Subproject commit 53cf147f95305d398b71443de2b5cb893fbcd166
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 3c753bf..34d3c88 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1479,38 +1479,6 @@ StScrollBar {
   color: pink; }
 
 /* Eeeky things */
-.legacy-tray {
-  background-color: #393f3f;
-  border: 1px solid #1c1f1f;
-  border-bottom-width: 0; }
-  .legacy-tray:ltr {
-    border-radius: 0 6px 0 0;
-    border-left-width: 0; }
-  .legacy-tray:rtl {
-    border-radius: 6px 0 0 0;
-    border-right-width: 0; }
-
-.legacy-tray-handle,
-.legacy-tray-icon {
-  padding: 6px; }
-  .legacy-tray-handle StIcon,
-  .legacy-tray-icon StIcon {
-    icon-size: 24px; }
-  .legacy-tray-handle:hover, .legacy-tray-handle:focus,
-  .legacy-tray-icon:hover,
-  .legacy-tray-icon:focus {
-    background-color: rgba(238, 238, 236, 0.1); }
-
-.legacy-tray-icon-box {
-  spacing: 12px; }
-  .legacy-tray-icon-box:ltr {
-    padding-left: 12px; }
-  .legacy-tray-icon-box:rtl {
-    padding-right: 12px; }
-  .legacy-tray-icon-box StButton {
-    width: 24px;
-    height: 24px; }
-
 .magnifier-zoom-region {
   border: 2px solid #215d9c; }
   .magnifier-zoom-region.full-screen {
diff --git a/js/js-resources.gresource.xml b/js/js-resources.gresource.xml
index b29c11a..79a200e 100644
--- a/js/js-resources.gresource.xml
+++ b/js/js-resources.gresource.xml
@@ -64,7 +64,6 @@
     <file>ui/layout.js</file>
     <file>ui/lightbox.js</file>
     <file>ui/lookingGlass.js</file>
-    <file>ui/legacyTray.js</file>
     <file>ui/magnifier.js</file>
     <file>ui/magnifierDBus.js</file>
     <file>ui/main.js</file>
diff --git a/js/ui/main.js b/js/ui/main.js
index 31f1b82..85dbe1f 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -20,7 +20,6 @@ const Environment = imports.ui.environment;
 const ExtensionSystem = imports.ui.extensionSystem;
 const ExtensionDownloader = imports.ui.extensionDownloader;
 const Keyboard = imports.ui.keyboard;
-const LegacyTray = imports.ui.legacyTray;
 const MessageTray = imports.ui.messageTray;
 const ModalDialog = imports.ui.modalDialog;
 const OsdWindow = imports.ui.osdWindow;
@@ -56,7 +55,6 @@ var overview = null;
 var runDialog = null;
 var lookingGlass = null;
 var wm = null;
-var legacyTray = null;
 var messageTray = null;
 var screenShield = null;
 var notificationDaemon = null;
@@ -169,7 +167,6 @@ function _initializeUI() {
     if (LoginManager.canLock())
         screenShield = new ScreenShield.ScreenShield();
 
-    legacyTray = new LegacyTray.LegacyTray();
     messageTray = new MessageTray.MessageTray();
     panel = new Panel.Panel();
     keyboard = new Keyboard.Keyboard();


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