[totem/wip/hadess/old-channel-icon: 2/2] main: Ressurect old "channel" icon
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/old-channel-icon: 2/2] main: Ressurect old "channel" icon
- Date: Fri, 1 Apr 2022 14:20:16 +0000 (UTC)
commit 33e89c41070bf4545d7c0f413ecfa8499ccaf820
Author: Bastien Nocera <hadess hadess net>
Date: Fri Apr 1 16:19:37 2022 +0200
main: Ressurect old "channel" icon
Prior to GNOME 42, the unknown channel icon looked like a TV (eg. a
screen with an aerial). While that's not how TV look now, that's
currently our best way to represent a "channel".
data/icons/meson.build | 6 ++++++
data/icons/symbolic/tv-symbolic.svg | 1 +
src/icon-helpers.c | 2 +-
3 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 1d61003c2..c0e8eb587 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -8,3 +8,9 @@ install_data(
rename : [application_id + '-symbolic.svg'],
install_dir: join_paths(totem_datadir, 'icons', 'hicolor', 'symbolic', 'apps')
)
+
+install_data(
+ join_paths('symbolic', 'tv-symbolic.svg'),
+ rename : ['totem-tv-symbolic.svg'],
+ install_dir: join_paths(totem_datadir, 'icons', 'hicolor', 'symbolic', 'apps')
+)
diff --git a/data/icons/symbolic/tv-symbolic.svg b/data/icons/symbolic/tv-symbolic.svg
new file mode 100644
index 000000000..e30f8b0ff
--- /dev/null
+++ b/data/icons/symbolic/tv-symbolic.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><g fill="#2e3436"><path d="M4 3C2.338 3 1
4.338 1 6v7c0 1.662 1.338 3 3 3h8c1.662 0 3-1.338 3-3V6c0-1.662-1.338-3-3-3zm.5 1h7S13 5 13 8s-1.5 4-1.5
4h-7S3 11 3 8s1.5-4 1.5-4zM11 14h1v1h-1z"/><path d="M6 1a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011
1zm5.988 0a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1z" style="marker:none" color="#000"
overflow="visible"/><path d="M5.355.648l-.71.704 2.618 2.654 1.508-.024 2.586-2.632-.713-.7-2.299
2.34-.67.01z"
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none"
color="#000" font-weight="400" font-family="sans-serif"
overflow="visible"/></g></svg>
\ No newline at end of file
diff --git a/src/icon-helpers.c b/src/icon-helpers.c
index bdeb0fa32..f797b207e 100644
--- a/src/icon-helpers.c
+++ b/src/icon-helpers.c
@@ -519,7 +519,7 @@ void
totem_grilo_setup_icons (void)
{
icons[ICON_BOX] = load_named_icon ("folder-symbolic", VIDEO_ICON_SIZE, FILL_DEFAULT);
- icons[ICON_CHANNEL] = load_named_icon ("tv-symbolic", VIDEO_ICON_SIZE, FILL_DEFAULT);
+ icons[ICON_CHANNEL] = load_named_icon ("totem-tv-symbolic", VIDEO_ICON_SIZE, FILL_DEFAULT);
icons[ICON_VIDEO] = load_named_icon ("folder-videos-symbolic", VIDEO_ICON_SIZE, FILL_DEFAULT);
icons[ICON_VIDEO_THUMBNAILING] = load_named_icon ("content-loading-symbolic", VIDEO_ICON_SIZE,
FILL_TRANSPARENT);
icons[ICON_OPTICAL] = load_named_icon ("media-optical-dvd-symbolic", VIDEO_ICON_SIZE, FILL_DEFAULT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]