notificationDaemon: Fix fallback icon names
The gtk-dialog-* names are old and non-standard, and haven't been provided by the default icon theme for quite a while ... https://bugzilla.gnome.org/show_bug.cgi?id=784245
This commit is contained in:
parent
95dba93046
commit
180a897588
@ -128,10 +128,10 @@ const FdoNotificationDaemon = new Lang.Class({
|
|||||||
switch (hints.urgency) {
|
switch (hints.urgency) {
|
||||||
case Urgency.LOW:
|
case Urgency.LOW:
|
||||||
case Urgency.NORMAL:
|
case Urgency.NORMAL:
|
||||||
stockIcon = 'gtk-dialog-info';
|
stockIcon = 'dialog-information';
|
||||||
break;
|
break;
|
||||||
case Urgency.CRITICAL:
|
case Urgency.CRITICAL:
|
||||||
stockIcon = 'gtk-dialog-error';
|
stockIcon = 'dialog-error';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return new Gio.ThemedIcon({ name: stockIcon });
|
return new Gio.ThemedIcon({ name: stockIcon });
|
||||||
|
Loading…
Reference in New Issue
Block a user