Skip to content

Commit

Permalink
sound: Set symbolic icon names explicitly (#364)
Browse files Browse the repository at this point in the history
Only symbolic icons are provided, so specify them explicitly instead of relying on fallback.
  • Loading branch information
City-busz authored Aug 19, 2024
1 parent e61fefb commit 3826a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blanket/sound.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(
super().__init__()

resource = f'resource:{RES_PATH}/sounds/{name}.ogg'
icon = 'com.rafaelmardojai.Blanket-{}'
icon = 'com.rafaelmardojai.Blanket-{}-symbolic'

# Internal player
self._player = None
Expand Down
2 changes: 1 addition & 1 deletion blanket/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _create_sound_item(self, sound):
else:
# Add new sound item
item.title = _('Add…')
item.icon_name = 'com.rafaelmardojai.Blanket-add'
item.icon_name = 'com.rafaelmardojai.Blanket-add-symbolic'

return item

Expand Down

0 comments on commit 3826a92

Please sign in to comment.