[gnome-builder] vcs-ui: Use a tag icon for git tags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vcs-ui: Use a tag icon for git tags
- Date: Thu, 31 Dec 2020 18:11:58 +0000 (UTC)
commit 29e482ae22490cc4848441699c261894dd847b82
Author: vanadiae <vanadiae35 gmail com>
Date: Wed Dec 23 18:06:47 2020 +0100
vcs-ui: Use a tag icon for git tags
Currently the symbolic icon used to prefix the name of a tag is git's
logo.
But this icon could use of an icon representing better what it is.
So this commits changes this git icon to a more appropriate tag icon.
.../16x16/actions/builder-vcs-tag-symbolic.symbolic.png | Bin 0 -> 189 bytes
.../32x32/actions/builder-vcs-tag-symbolic.symbolic.png | Bin 0 -> 294 bytes
.../48x48/actions/builder-vcs-tag-symbolic.symbolic.png | Bin 0 -> 413 bytes
.../64x64/actions/builder-vcs-tag-symbolic.symbolic.png | Bin 0 -> 561 bytes
.../hicolor/scalable/actions/builder-vcs-tag-symbolic.svg | 3 +++
src/plugins/vcsui/gbp-vcsui-tree-addin.c | 2 +-
6 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/data/icons/hicolor/16x16/actions/builder-vcs-tag-symbolic.symbolic.png
b/data/icons/hicolor/16x16/actions/builder-vcs-tag-symbolic.symbolic.png
new file mode 100644
index 000000000..095d1df3b
Binary files /dev/null and b/data/icons/hicolor/16x16/actions/builder-vcs-tag-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/32x32/actions/builder-vcs-tag-symbolic.symbolic.png
b/data/icons/hicolor/32x32/actions/builder-vcs-tag-symbolic.symbolic.png
new file mode 100644
index 000000000..52046800a
Binary files /dev/null and b/data/icons/hicolor/32x32/actions/builder-vcs-tag-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/48x48/actions/builder-vcs-tag-symbolic.symbolic.png
b/data/icons/hicolor/48x48/actions/builder-vcs-tag-symbolic.symbolic.png
new file mode 100644
index 000000000..10470df83
Binary files /dev/null and b/data/icons/hicolor/48x48/actions/builder-vcs-tag-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/64x64/actions/builder-vcs-tag-symbolic.symbolic.png
b/data/icons/hicolor/64x64/actions/builder-vcs-tag-symbolic.symbolic.png
new file mode 100644
index 000000000..f594bc273
Binary files /dev/null and b/data/icons/hicolor/64x64/actions/builder-vcs-tag-symbolic.symbolic.png differ
diff --git a/data/icons/hicolor/scalable/actions/builder-vcs-tag-symbolic.svg
b/data/icons/hicolor/scalable/actions/builder-vcs-tag-symbolic.svg
new file mode 100644
index 000000000..00e272b81
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/builder-vcs-tag-symbolic.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
+ <path d="M1 2v6l6.691 6.691c.188.188.413.205.598.02l6.383-6.383c.221-.221.207-.45.02-.636L8 1H2c-.464
0-1 .491-1 1zm3 .962A1.07 1.07 0 1 1 4 5.1a1.07 1.07 0 0 1 0-2.138z" style="marker:none" fill="#2e3436"/>
+</svg>
diff --git a/src/plugins/vcsui/gbp-vcsui-tree-addin.c b/src/plugins/vcsui/gbp-vcsui-tree-addin.c
index 66f0d28d5..3e813b733 100644
--- a/src/plugins/vcsui/gbp-vcsui-tree-addin.c
+++ b/src/plugins/vcsui/gbp-vcsui-tree-addin.c
@@ -381,7 +381,7 @@ gbp_vcsui_tree_addin_list_tags_cb (GObject *object,
child = g_object_new (IDE_TYPE_TREE_NODE,
"display-name", name,
- "icon-name", "builder-vcs-git-symbolic",
+ "icon-name", "builder-vcs-tag-symbolic",
"item", tag,
"tag", "vcs-tag",
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]