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.
This commit is contained in:
Jonas Ådahl 2018-07-27 18:07:52 +02:00 committed by Ray Strode
parent 45da60516c
commit b098930e6d
2 changed files with 3 additions and 0 deletions

View File

@ -824,6 +824,8 @@ StScrollBar {
.screencast-indicator { color: $warning_color; } .screencast-indicator { color: $warning_color; }
.remote-access-indicator { color: $warning_color; }
&.solid { &.solid {
background-color: black; background-color: black;
/* transition from transparent to solid */ /* transition from transparent to solid */

View File

@ -41,6 +41,7 @@ var RemoteAccessApplet = new Lang.Class({
this._indicator = this._addIndicator(); this._indicator = this._addIndicator();
this._indicator.icon_name = 'screen-shared-symbolic'; this._indicator.icon_name = 'screen-shared-symbolic';
this._indicator.add_style_class_name('remote-access-indicator');
this._item = this._item =
new PopupMenu.PopupSubMenuMenuItem(_("Screen is Being Shared"), new PopupMenu.PopupSubMenuMenuItem(_("Screen is Being Shared"),
true); true);