From d83bccb64d612034be471c0724edd129519c3584 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 16 Mar 2019 11:19:20 +0100 Subject: GEN png icons from hicolor_apps_scalable_mate.svg Update icon cache and avoid conflict with mate theme: PNG icons are created if they are not present in icon folder. To remove png icons: cd icons; make clean-png-icons $ cat test.py import gtk screen = gtk.gdk.screen_get_default() icon_theme = gtk.icon_theme_get_for_screen(screen) print icon_theme.lookup_icon("mate-desktop", 16, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 22, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 24, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 32, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 48, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 128, 0).get_filename() print icon_theme.lookup_icon("mate-desktop", 256, 0).get_filename() print icon_theme.lookup_icon("mate", 16, 0).get_filename() print icon_theme.lookup_icon("mate", 22, 0).get_filename() print icon_theme.lookup_icon("mate", 24, 0).get_filename() print icon_theme.lookup_icon("mate", 32, 0).get_filename() print icon_theme.lookup_icon("mate", 48, 0).get_filename() print icon_theme.lookup_icon("mate", 128, 0).get_filename() print icon_theme.lookup_icon("mate", 256, 0).get_filename() print icon_theme.lookup_icon("mate", 1000, 0).get_filename() $ python test.py /usr/share/icons/hicolor/16x16/apps/mate-desktop.png /usr/share/icons/hicolor/22x22/apps/mate-desktop.png /usr/share/icons/hicolor/24x24/apps/mate-desktop.png /usr/share/icons/hicolor/32x32/apps/mate-desktop.png /usr/share/icons/hicolor/48x48/apps/mate-desktop.png /usr/share/icons/hicolor/128x128/apps/mate-desktop.png /usr/share/icons/hicolor/scalable/apps/mate-desktop.svg /usr/share/icons/mate/16x16/apps/mate.png /usr/share/icons/mate/22x22/apps/mate.png /usr/share/icons/mate/24x24/apps/mate.png /usr/share/icons/mate/32x32/apps/mate.png /usr/share/icons/mate/48x48/apps/mate.png /usr/share/icons/mate/scalable/apps/mate.svg /usr/share/icons/mate/scalable/apps/mate.svg /usr/share/icons/mate/scalable/apps/mate.svgT --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 188b9a1..75954b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,6 +65,7 @@ requires: - gtk3 - intltool - iso-codes + - librsvg - make - mate-common - startup-notification @@ -86,6 +87,7 @@ requires: - libglib2.0-doc - libgtk-3-dev - libgtk-3-doc + - librsvg2-bin - libstartup-notification0-dev - libx11-dev - libxml2-dev @@ -105,6 +107,7 @@ requires: - gtk3-devel - iso-codes-devel - itstool + - librsvg2-tools - make - mate-common - redhat-rpm-config @@ -124,6 +127,7 @@ requires: - libglib2.0-doc - libgtk-3-dev - libgtk-3-doc + - librsvg2-bin - libstartup-notification0-dev - libx11-dev - libxml2-dev -- cgit v1.2.1