Blame SOURCES/0002-remoteAccess-Make-indicator-orange.patch

c7fac9
From 31da6717085567c044322d722df5b735925583ce Mon Sep 17 00:00:00 2001
c7fac9
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
c7fac9
Date: Fri, 27 Jul 2018 18:07:52 +0200
c7fac9
Subject: [PATCH 2/2] remoteAccess: Make indicator orange
c7fac9
c7fac9
Make the indicator for active remote access use the warning color, to
c7fac9
indicate the severity of allowing remote access.
c7fac9
c7fac9
This only makes the indicator icon orange; the icon in the system menu
c7fac9
is still white.
c7fac9
---
c7fac9
 data/theme/gnome-shell-sass/_common.scss | 2 ++
c7fac9
 js/ui/status/remoteAccess.js             | 1 +
c7fac9
 2 files changed, 3 insertions(+)
c7fac9
c7fac9
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
c7fac9
index 2f05098df..24ac2c974 100644
c7fac9
--- a/data/theme/gnome-shell-sass/_common.scss
c7fac9
+++ b/data/theme/gnome-shell-sass/_common.scss
c7fac9
@@ -824,6 +824,8 @@ StScrollBar {
c7fac9
 
c7fac9
   .screencast-indicator { color: $warning_color; }
c7fac9
 
c7fac9
+  .remote-access-indicator { color: $warning_color; }
c7fac9
+
c7fac9
   &.solid {
c7fac9
     background-color: black;
c7fac9
     /* transition from transparent to solid */
c7fac9
diff --git a/js/ui/status/remoteAccess.js b/js/ui/status/remoteAccess.js
c7fac9
index ffa334001..db94d130d 100644
c7fac9
--- a/js/ui/status/remoteAccess.js
c7fac9
+++ b/js/ui/status/remoteAccess.js
c7fac9
@@ -41,6 +41,7 @@ var RemoteAccessApplet = new Lang.Class({
c7fac9
 
c7fac9
         this._indicator = this._addIndicator();
c7fac9
         this._indicator.icon_name = 'screen-shared-symbolic';
c7fac9
+        this._indicator.add_style_class_name('remote-access-indicator');
c7fac9
         this._item =
c7fac9
             new PopupMenu.PopupSubMenuMenuItem(_("Screen is Being Shared"),
c7fac9
                                                true);
c7fac9
-- 
c7fac9
2.17.1
c7fac9