status/remoteAccess: Don't override existing style classes
The indicator needs special styling for the color, but we still want it to pick shared 'system-status-icon' styling like the icon size. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6008 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2547>
This commit is contained in:
parent
a9e7dfe8fa
commit
d0740d605e
@ -23,10 +23,8 @@ class RemoteAccessApplet extends SystemIndicator {
|
|||||||
this._handles = new Set();
|
this._handles = new Set();
|
||||||
|
|
||||||
this._indicator = this._addIndicator();
|
this._indicator = this._addIndicator();
|
||||||
this._indicator.set({
|
this._indicator.icon_name = 'media-record-symbolic';
|
||||||
style_class: 'screencast-indicator',
|
this._indicator.add_style_class_name('screencast-indicator');
|
||||||
icon_name: 'media-record-symbolic',
|
|
||||||
});
|
|
||||||
|
|
||||||
controller.connect('new-handle', (o, handle) => {
|
controller.connect('new-handle', (o, handle) => {
|
||||||
this._onNewHandle(handle);
|
this._onNewHandle(handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user