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:
Florian Müllner 2017-06-30 01:11:53 +02:00
parent d1c71fd00d
commit 326d5c7fb8

View File

@ -128,10 +128,10 @@ const FdoNotificationDaemon = new Lang.Class({
switch (hints.urgency) {
case Urgency.LOW:
case Urgency.NORMAL:
stockIcon = 'gtk-dialog-info';
stockIcon = 'dialog-information';
break;
case Urgency.CRITICAL:
stockIcon = 'gtk-dialog-error';
stockIcon = 'dialog-error';
break;
}
return new Gio.ThemedIcon({ name: stockIcon });