[gnome-music/wip/jfelder/artsize-cleanup: 3/3] utils: Rename xsmall artsize to small
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/artsize-cleanup: 3/3] utils: Rename xsmall artsize to small
- Date: Fri, 20 Nov 2020 19:05:34 +0000 (UTC)
commit 3e68473608505dae696e325630029b4b76579695
Author: Jean Felder <jfelder src gnome org>
Date: Fri Nov 20 20:02:05 2020 +0100
utils: Rename xsmall artsize to small
With the previous SMALL removed, there is no need to keep a XSMALL
name.
gnomemusic/utils.py | 2 +-
gnomemusic/widgets/playertoolbar.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/utils.py b/gnomemusic/utils.py
index b9ed29da0..e4fbed815 100644
--- a/gnomemusic/utils.py
+++ b/gnomemusic/utils.py
@@ -35,7 +35,7 @@ from gnomemusic.musiclogger import MusicLogger
class ArtSize(Enum):
"""Enum for icon sizes"""
- XSMALL = (34, 34)
+ SMALL = (34, 34)
MEDIUM = (128, 128)
LARGE = (256, 256)
diff --git a/gnomemusic/widgets/playertoolbar.py b/gnomemusic/widgets/playertoolbar.py
index 16f7ac319..87d7106a4 100644
--- a/gnomemusic/widgets/playertoolbar.py
+++ b/gnomemusic/widgets/playertoolbar.py
@@ -68,7 +68,7 @@ class PlayerToolbar(Gtk.ActionBar):
self._player = None
- self._art_stack.props.size = ArtSize.XSMALL
+ self._art_stack.props.size = ArtSize.SMALL
self._tooltip = TwoLineTip()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]