[gnome-music/wip/snwh/icon-cleanup] Update symbolic icons
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/snwh/icon-cleanup] Update symbolic icons
- Date: Thu, 3 Feb 2022 14:51:34 +0000 (UTC)
commit dec3c1b69095aadf9e70929ef38d839c2dea349e
Author: Sam Hewitt <sam snwh org>
Date: Thu Feb 3 11:19:07 2022 -0330
Update symbolic icons
- rename playlist icon
- remove use of system-users for music-artist-symbolic
- update references to icons
data/icons/music-artist-symbolic.svg | 1 +
data/icons/music-playlist-symbolic.svg | 1 +
data/icons/playlist2-symbolic.svg | 6 ------
data/org.gnome.Music.gresource.xml | 3 ++-
gnomemusic/grilowrappers/grltrackerplaylists.py | 2 +-
gnomemusic/views/artistsview.py | 2 +-
6 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/data/icons/music-artist-symbolic.svg b/data/icons/music-artist-symbolic.svg
new file mode 100644
index 000000000..e42973f17
--- /dev/null
+++ b/data/icons/music-artist-symbolic.svg
@@ -0,0 +1 @@
+<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M8 2a3 3 0 1 0 0 6 3 3 0 0 0
0-6zM6.5 9A4.49 4.49 0 0 0 2 13.5v.5c0 1 1 1 1 1h6.188A2.935 2.935 0 0 1 9 14c0-1.645 1.355-3 3-3V9.756A4.485
4.485 0 0 0 9.5 9h-3zM13 9v3.27a2 2 0 0 0-1-.27 2 2 0 0 0-2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2v-3h2V9h-3z"
style="fill:#3d3846"/></svg>
\ No newline at end of file
diff --git a/data/icons/music-playlist-symbolic.svg b/data/icons/music-playlist-symbolic.svg
new file mode 100644
index 000000000..7f80d5fb2
--- /dev/null
+++ b/data/icons/music-playlist-symbolic.svg
@@ -0,0 +1 @@
+<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path style="fill:#241f31" d="M3
3v2h10V3H3zm0 4v2h7.979V7H3zm9 0v3.27a2 2 0 0 0-1-.27 2 2 0 0 0-2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2V9h2V7h-3zm-9
4v2h5.01L8 11H3z"/></svg>
\ No newline at end of file
diff --git a/data/org.gnome.Music.gresource.xml b/data/org.gnome.Music.gresource.xml
index b551b2fa4..2f6e8b5be 100644
--- a/data/org.gnome.Music.gresource.xml
+++ b/data/org.gnome.Music.gresource.xml
@@ -3,7 +3,8 @@
<gresource prefix="/org/gnome/Music">
<file alias="gtk/help-overlay.ui" preprocess="xml-stripblanks">ui/help-overlay.ui</file>
<file>org.gnome.Music.css</file>
- <file>icons/playlist2-symbolic.svg</file>
+ <file>icons/music-playlist-symbolic.svg</file>
+ <file>icons/music-artist-symbolic.svg</file>
<file>icons/welcome-music.svg</file>
<file preprocess="xml-stripblanks">ui/AboutDialog.ui</file>
<file preprocess="xml-stripblanks">ui/AlbumCover.ui</file>
diff --git a/gnomemusic/grilowrappers/grltrackerplaylists.py b/gnomemusic/grilowrappers/grltrackerplaylists.py
index 695ee7e14..9e8f26344 100644
--- a/gnomemusic/grilowrappers/grltrackerplaylists.py
+++ b/gnomemusic/grilowrappers/grltrackerplaylists.py
@@ -282,7 +282,7 @@ class Playlist(GObject.GObject):
count = GObject.Property(type=int, default=0)
creation_date = GObject.Property(type=GLib.DateTime, default=None)
- icon_name = GObject.Property(type=str, default="playlist2-symbolic")
+ icon_name = GObject.Property(type=str, default="music-playlist-symbolic")
is_smart = GObject.Property(type=bool, default=False)
pl_id = GObject.Property(type=str, default=None)
query = GObject.Property(type=str, default=None)
diff --git a/gnomemusic/views/artistsview.py b/gnomemusic/views/artistsview.py
index f3e1d0640..d3bf6dd8b 100644
--- a/gnomemusic/views/artistsview.py
+++ b/gnomemusic/views/artistsview.py
@@ -40,7 +40,7 @@ class ArtistsView(Gtk.Paned):
__gtype_name__ = "ArtistsView"
icon_name = GObject.Property(
- type=str, default="system-users-symbolic",
+ type=str, default="music-artist-symbolic",
flags=GObject.ParamFlags.READABLE)
title = GObject.Property(
type=str, default=_("Artists"), flags=GObject.ParamFlags.READABLE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]