[gnome-shell/wip/texture-purge-on-nvidia: 3/4] remoteAccess: Make indicator orange
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/texture-purge-on-nvidia: 3/4] remoteAccess: Make indicator orange
- Date: Tue, 8 Jan 2019 22:00:36 +0000 (UTC)
commit b098930e6d46547eab32b217fca13f454e922ecf
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Jul 27 18:07:52 2018 +0200
remoteAccess: Make indicator orange
Make the indicator for active remote access use the warning color, to
indicate the severity of allowing remote access.
This only makes the indicator icon orange; the icon in the system menu
is still white.
data/theme/gnome-shell-sass/_common.scss | 2 ++
js/ui/status/remoteAccess.js | 1 +
2 files changed, 3 insertions(+)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 2f05098df..24ac2c974 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -824,6 +824,8 @@ StScrollBar {
.screencast-indicator { color: $warning_color; }
+ .remote-access-indicator { color: $warning_color; }
+
&.solid {
background-color: black;
/* transition from transparent to solid */
diff --git a/js/ui/status/remoteAccess.js b/js/ui/status/remoteAccess.js
index ffa334001..db94d130d 100644
--- a/js/ui/status/remoteAccess.js
+++ b/js/ui/status/remoteAccess.js
@@ -41,6 +41,7 @@ var RemoteAccessApplet = new Lang.Class({
this._indicator = this._addIndicator();
this._indicator.icon_name = 'screen-shared-symbolic';
+ this._indicator.add_style_class_name('remote-access-indicator');
this._item =
new PopupMenu.PopupSubMenuMenuItem(_("Screen is Being Shared"),
true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]