From 3826a92ad5fb694dedc7901d76443ce2af021654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Mon, 19 Aug 2024 23:57:16 +0200 Subject: [PATCH] sound: Set symbolic icon names explicitly (#364) Only symbolic icons are provided, so specify them explicitly instead of relying on fallback. --- blanket/sound.py | 2 +- blanket/window.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blanket/sound.py b/blanket/sound.py index 2f1c9a2..2777ad5 100644 --- a/blanket/sound.py +++ b/blanket/sound.py @@ -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 diff --git a/blanket/window.py b/blanket/window.py index 7859dc9..74456af 100644 --- a/blanket/window.py +++ b/blanket/window.py @@ -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