network: Fix icon_size parameter
We forgot to update this to NOTIFICATION_ICON_SIZE https://bugzilla.gnome.org/show_bug.cgi?id=682412
This commit is contained in:
parent
47ce72e011
commit
712623946f
@ -1780,8 +1780,7 @@ const NMApplet = new Lang.Class({
|
|||||||
|
|
||||||
let icon = new St.Icon({ icon_name: iconName,
|
let icon = new St.Icon({ icon_name: iconName,
|
||||||
icon_type: St.IconType.SYMBOLIC,
|
icon_type: St.IconType.SYMBOLIC,
|
||||||
icon_size: this._source.ICON_SIZE
|
icon_size: MessageTray.NOTIFICATION_ICON_SIZE });
|
||||||
});
|
|
||||||
device._notification = new MessageTray.Notification(this._source, title, text,
|
device._notification = new MessageTray.Notification(this._source, title, text,
|
||||||
{ icon: icon });
|
{ icon: icon });
|
||||||
device._notification.setUrgency(urgency);
|
device._notification.setUrgency(urgency);
|
||||||
|
Loading…
Reference in New Issue
Block a user