From c312bc831268360976792bbfb4cbbe03b4760b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 5 Sep 2024 09:57:39 -0700 Subject: [PATCH] FolderManager: use git emblem icons (#1463) * FolderManager: use git emblem icons * Use symbolic version * Gresource git emblems * Fix typo * Twice typo --------- Co-authored-by: Ryan Kornheisl --- data/icons/emblem-git-modified-symbolic.svg | 186 ++++++++++++++++++++ data/icons/emblem-git-new-symbolic.svg | 186 ++++++++++++++++++++ data/io.elementary.code.gresource.xml | 2 + src/FolderManager/ProjectFolderItem.vala | 4 +- 4 files changed, 376 insertions(+), 2 deletions(-) create mode 100644 data/icons/emblem-git-modified-symbolic.svg create mode 100644 data/icons/emblem-git-new-symbolic.svg diff --git a/data/icons/emblem-git-modified-symbolic.svg b/data/icons/emblem-git-modified-symbolic.svg new file mode 100644 index 0000000000..2bf8ed4ae8 --- /dev/null +++ b/data/icons/emblem-git-modified-symbolic.svg @@ -0,0 +1,186 @@ + +image/svg+xml + + diff --git a/data/icons/emblem-git-new-symbolic.svg b/data/icons/emblem-git-new-symbolic.svg new file mode 100644 index 0000000000..6347d13d14 --- /dev/null +++ b/data/icons/emblem-git-new-symbolic.svg @@ -0,0 +1,186 @@ + +image/svg+xml + + diff --git a/data/io.elementary.code.gresource.xml b/data/io.elementary.code.gresource.xml index 0167807d9f..36858a0c49 100644 --- a/data/io.elementary.code.gresource.xml +++ b/data/io.elementary.code.gresource.xml @@ -31,5 +31,7 @@ icons/filter-symbolic.svg + icons/emblem-git-modified-symbolic.svg + icons/emblem-git-new-symbolic.svg diff --git a/src/FolderManager/ProjectFolderItem.vala b/src/FolderManager/ProjectFolderItem.vala index 24945d67cb..9998db6be3 100644 --- a/src/FolderManager/ProjectFolderItem.vala +++ b/src/FolderManager/ProjectFolderItem.vala @@ -51,8 +51,8 @@ namespace Scratch.FolderManager { } static construct { - added_icon = new ThemedIcon ("user-available"); - modified_icon = new ThemedIcon ("user-away"); + added_icon = new ThemedIcon ("emblem-git-new-symbolic"); + modified_icon = new ThemedIcon ("emblem-git-modified-symbolic"); } private void branch_or_name_changed () {