We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 266f2cb commit 2c0ea0dCopy full SHA for 2c0ea0d
src/snitem.vala
@@ -391,7 +391,7 @@ namespace StatusNotifier
391
overlay_icon = new Emblem(overlay_icon);
392
var icon = new EmblemedIcon((attention_icon != null && item.status == Status.NEEDS_ATTENTION) ? attention_icon
393
: (main_icon ?? (image.gicon as EmblemedIcon).gicon),overlay_icon as Emblem);
394
- if (icon != null)
+ if ((attention_icon ?? main_icon ?? overlay_icon) != null)
395
{
396
image.set_from_gicon(icon,IconSize.INVALID);
397
image.show();
0 commit comments