From 0228ab606b3ecefcca3ec52def58d09b55a0d6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 28 May 2016 19:54:10 +0200 Subject: Pack a 128px icon for the GTK+3 window (mga#18066) Use the SVG was tried but did not seem to work out of the box (icons were very pixelated). Thus adding a 128px icon as window icon, since it is used at least by Plasma for high-res previews. Also dropping the smaller 20x20 and 32x32 icons that nothing uses. --- NEWS | 1 + control-center | 2 +- pixmaps/icons/hicolor/128x128/apps/drakconf.png | Bin 0 -> 8775 bytes pixmaps/icons/hicolor/20x20/apps/drakconf.png | Bin 1163 -> 0 bytes pixmaps/icons/hicolor/32x32/apps/drakconf.png | Bin 1824 -> 0 bytes pixmaps/icons/hicolor/scalable/apps/drakconf.svg | 14 +++++++------- 6 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 pixmaps/icons/hicolor/128x128/apps/drakconf.png delete mode 100644 pixmaps/icons/hicolor/20x20/apps/drakconf.png delete mode 100644 pixmaps/icons/hicolor/32x32/apps/drakconf.png diff --git a/NEWS b/NEWS index f04f54d0..9fa73f85 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- pack a 128px icon for the GTK+3 window (mga#18226) - update copyright year - install drakconf icon to icons/hicolor (with SVG) instead of icons/{,large,mini} (mga#18066) diff --git a/control-center b/control-center index 4ba56ab4..7dfe76f2 100755 --- a/control-center +++ b/control-center @@ -595,7 +595,7 @@ if ($geometry) { } $window_global->resize(max($default_width, $h{WIDTH}, $min_width), max($h{HEIGTH}, $default_height, $min_height)); -$window_global->set_icon(gtkcreate_pixbuf("/usr/share/icons/hicolor/32x32/apps/drakconf.png")); +$window_global->set_icon(gtkcreate_pixbuf("/usr/share/icons/hicolor/128x128/apps/drakconf.png")); my $pending_app = 0; diff --git a/pixmaps/icons/hicolor/128x128/apps/drakconf.png b/pixmaps/icons/hicolor/128x128/apps/drakconf.png new file mode 100644 index 00000000..70c39a2a Binary files /dev/null and b/pixmaps/icons/hicolor/128x128/apps/drakconf.png differ diff --git a/pixmaps/icons/hicolor/20x20/apps/drakconf.png b/pixmaps/icons/hicolor/20x20/apps/drakconf.png deleted file mode 100644 index a18fde5e..00000000 Binary files a/pixmaps/icons/hicolor/20x20/apps/drakconf.png and /dev/null differ diff --git a/pixmaps/icons/hicolor/32x32/apps/drakconf.png b/pixmaps/icons/hicolor/32x32/apps/drakconf.png deleted file mode 100644 index f033fba3..00000000 Binary files a/pixmaps/icons/hicolor/32x32/apps/drakconf.png and /dev/null differ diff --git a/pixmaps/icons/hicolor/scalable/apps/drakconf.svg b/pixmaps/icons/hicolor/scalable/apps/drakconf.svg index 1e2bacdf..78bb2ad1 100644 --- a/pixmaps/icons/hicolor/scalable/apps/drakconf.svg +++ b/pixmaps/icons/hicolor/scalable/apps/drakconf.svg @@ -16,9 +16,9 @@ version="1.1" inkscape:version="0.91 r13725" sodipodi:docname="drakconf.svg" - inkscape:export-filename="../mini/drakconf.png" - inkscape:export-xdpi="56.25" - inkscape:export-ydpi="56.25"> + inkscape:export-filename="drakconf.png" + inkscape:export-xdpi="360" + inkscape:export-ydpi="360">