diff options
author | rbuj <[email protected]> | 2019-03-16 11:19:20 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-23 16:00:59 +0100 |
commit | c9f41754796048e010e93db118429854e5464bad (patch) | |
tree | 8bc79e05cfe9eb012f9c6b27d2f027d9087dd593 /mate-about | |
parent | 8d47176ba548879b66b6fe7a6a4440b537ae81fd (diff) | |
download | mate-desktop-c9f41754796048e010e93db118429854e5464bad.tar.bz2 mate-desktop-c9f41754796048e010e93db118429854e5464bad.tar.xz |
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
Diffstat (limited to 'mate-about')
-rw-r--r-- | mate-about/mate-about.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-about/mate-about.h b/mate-about/mate-about.h index 142c362..e2d14c2 100644 --- a/mate-about/mate-about.h +++ b/mate-about/mate-about.h @@ -28,7 +28,7 @@ const char* program_name = N_("MATE Desktop Environment"); const char* version = PACKAGE_VERSION; -const char* icon = "mate"; +const char* icon = "mate-desktop"; const char* website = "http://www.mate-desktop.org/"; const char* copyright = N_("Copyright © 1997-2011 GNOME developers\n" |