[evolution] I#1976 - Mail: Change Template folder icon to 'folder-templates'



commit 635f6e9fae26fe25d2a17d451a059b37d24e2033
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 1 17:15:35 2022 +0200

    I#1976 - Mail: Change Template folder icon to 'folder-templates'
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1976

 data/icons/CMakeLists.txt                              |   6 ++++++
 data/icons/hicolor_places_16x16_folder-templates.png   | Bin 0 -> 552 bytes
 data/icons/hicolor_places_22x22_folder-templates.png   | Bin 0 -> 676 bytes
 data/icons/hicolor_places_24x24_folder-templates.png   | Bin 0 -> 614 bytes
 data/icons/hicolor_places_32x32_folder-templates.png   | Bin 0 -> 648 bytes
 data/icons/hicolor_places_48x48_folder-templates.png   | Bin 0 -> 766 bytes
 data/icons/hicolor_places_512x512_folder-templates.png | Bin 0 -> 8349 bytes
 src/mail/em-folder-tree-model.c                        |   2 +-
 8 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/data/icons/CMakeLists.txt b/data/icons/CMakeLists.txt
index 9aaaf4d37d..716ed3b8b8 100644
--- a/data/icons/CMakeLists.txt
+++ b/data/icons/CMakeLists.txt
@@ -272,6 +272,12 @@ set(stock_private_icons
 # these are removed from the adwaita-icon-theme
 set(legacy_private_icons
        hicolor_emblems_scalable_emblem-new.svg
+       hicolor_places_16x16_folder-templates.png
+       hicolor_places_22x22_folder-templates.png
+       hicolor_places_24x24_folder-templates.png
+       hicolor_places_32x32_folder-templates.png
+       hicolor_places_48x48_folder-templates.png
+       hicolor_places_512x512_folder-templates.png
        hicolor_status_8x8_emblem-default.png
        hicolor_status_8x8_emblem-new.png
        hicolor_status_16x16_accessories-text-editor.png
diff --git a/data/icons/hicolor_places_16x16_folder-templates.png 
b/data/icons/hicolor_places_16x16_folder-templates.png
new file mode 100644
index 0000000000..519e649fa6
Binary files /dev/null and b/data/icons/hicolor_places_16x16_folder-templates.png differ
diff --git a/data/icons/hicolor_places_22x22_folder-templates.png 
b/data/icons/hicolor_places_22x22_folder-templates.png
new file mode 100644
index 0000000000..4c7d335e23
Binary files /dev/null and b/data/icons/hicolor_places_22x22_folder-templates.png differ
diff --git a/data/icons/hicolor_places_24x24_folder-templates.png 
b/data/icons/hicolor_places_24x24_folder-templates.png
new file mode 100644
index 0000000000..5cac44f096
Binary files /dev/null and b/data/icons/hicolor_places_24x24_folder-templates.png differ
diff --git a/data/icons/hicolor_places_32x32_folder-templates.png 
b/data/icons/hicolor_places_32x32_folder-templates.png
new file mode 100644
index 0000000000..b50869a4d0
Binary files /dev/null and b/data/icons/hicolor_places_32x32_folder-templates.png differ
diff --git a/data/icons/hicolor_places_48x48_folder-templates.png 
b/data/icons/hicolor_places_48x48_folder-templates.png
new file mode 100644
index 0000000000..36db12a39c
Binary files /dev/null and b/data/icons/hicolor_places_48x48_folder-templates.png differ
diff --git a/data/icons/hicolor_places_512x512_folder-templates.png 
b/data/icons/hicolor_places_512x512_folder-templates.png
new file mode 100644
index 0000000000..42e68c89ae
Binary files /dev/null and b/data/icons/hicolor_places_512x512_folder-templates.png differ
diff --git a/src/mail/em-folder-tree-model.c b/src/mail/em-folder-tree-model.c
index 26641870e8..81947a7ba9 100644
--- a/src/mail/em-folder-tree-model.c
+++ b/src/mail/em-folder-tree-model.c
@@ -787,7 +787,7 @@ em_folder_tree_model_get_icon_name_for_folder_uri (EMFolderTreeModel *model,
                if (folder_is_drafts)
                        icon_name = "accessories-text-editor";
                else if (folder_is_templates)
-                       icon_name = "text-x-generic-template";
+                       icon_name = "folder-templates";
                else if (folder_is_archive)
                        icon_name = "mail-archive";
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]