Fix some more icon names
Message tray sources should never have symbolic icons. The VPN secondary icon in the panel instead should.
This commit is contained in:
parent
5e46abfa03
commit
a3d8b5e526
@ -306,7 +306,7 @@ const Indicator = new Lang.Class({
|
|||||||
|
|
||||||
_ensureSource: function() {
|
_ensureSource: function() {
|
||||||
if (!this._source) {
|
if (!this._source) {
|
||||||
this._source = new MessageTray.Source(_("Bluetooth"), 'bluetooth-active-symbolic');
|
this._source = new MessageTray.Source(_("Bluetooth"), 'bluetooth-active');
|
||||||
Main.messageTray.add(this._source);
|
Main.messageTray.add(this._source);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1683,7 +1683,7 @@ const NMApplet = new Lang.Class({
|
|||||||
_ensureSource: function() {
|
_ensureSource: function() {
|
||||||
if (!this._source) {
|
if (!this._source) {
|
||||||
this._source = new MessageTray.Source(_("Network Manager"),
|
this._source = new MessageTray.Source(_("Network Manager"),
|
||||||
'network-transmit-receive-symbolic');
|
'network-transmit-receive');
|
||||||
|
|
||||||
this._source.connect('destroy', Lang.bind(this, function() {
|
this._source.connect('destroy', Lang.bind(this, function() {
|
||||||
this._source = null;
|
this._source = null;
|
||||||
@ -2170,7 +2170,7 @@ const NMApplet = new Lang.Class({
|
|||||||
if (this._vpnConnection) {
|
if (this._vpnConnection) {
|
||||||
let vpnIconName = 'network-vpn-symbolic';
|
let vpnIconName = 'network-vpn-symbolic';
|
||||||
if (this._vpnConnection.state == NetworkManager.ActiveConnectionState.ACTIVATING)
|
if (this._vpnConnection.state == NetworkManager.ActiveConnectionState.ACTIVATING)
|
||||||
vpnIconName = 'network-vpn-acquiring';
|
vpnIconName = 'network-vpn-acquiring-symbolic';
|
||||||
|
|
||||||
// only show a separate icon when we're using a wireless/3g connection
|
// only show a separate icon when we're using a wireless/3g connection
|
||||||
if (mc._section == NMConnectionCategory.WIRELESS ||
|
if (mc._section == NMConnectionCategory.WIRELESS ||
|
||||||
|
Loading…
Reference in New Issue
Block a user