Skip to content

Commit

Permalink
Fix #117: Show icons for daemons (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
marbetschar committed May 14, 2021
1 parent 1a91b81 commit a6d20d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Notification.vala
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public class Notifications.Notification : GLib.Object {
app_id.replace (".desktop", "");

app_info = new DesktopAppInfo ("%s.desktop".printf (app_id));
if (app_info == null) {
app_info = new DesktopAppInfo.from_filename ("/etc/xdg/autostart/%s.desktop".printf (app_id));
}
}

if ((variant = hints.lookup ("image-path")) != null || (variant = hints.lookup ("image_path")) != null) {
Expand Down

0 comments on commit a6d20d5

Please sign in to comment.