-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make icon set via rules take priority over raw icons
When a notification contains both a raw icon and an icon path according to the GNOME notification specification the raw icon should take priority over anything else. If, however, a user uses the new_icon rule to set a custom icon on a notification, that rule overwrote the icon path and not the raw icon and as a result the raw icon was displayed in place of the user specified one. As a simple fix, a new icon_overridden boolean was added to the notification struct indicating if a custom icon has been set. If so, the icon path should take priority over the raw icon. Fixes #339
- Loading branch information
1 parent
b06475b
commit 86cbc1d
Showing
4 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters