summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-05-28 19:54:10 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-05-28 20:02:39 +0200
commit0228ab606b3ecefcca3ec52def58d09b55a0d6ed (patch)
treefc266df4382a7d317cde67dcb52bfd3131878953
parentd1b7b50cc2b5c1fea37074801c6fbf1379d14f00 (diff)
downloadcontrol-center-0228ab606b3ecefcca3ec52def58d09b55a0d6ed.tar
control-center-0228ab606b3ecefcca3ec52def58d09b55a0d6ed.tar.gz
control-center-0228ab606b3ecefcca3ec52def58d09b55a0d6ed.tar.bz2
control-center-0228ab606b3ecefcca3ec52def58d09b55a0d6ed.tar.xz
control-center-0228ab606b3ecefcca3ec52def58d09b55a0d6ed.zip
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.
-rw-r--r--NEWS1
-rwxr-xr-xcontrol-center2
-rw-r--r--pixmaps/icons/hicolor/128x128/apps/drakconf.pngbin0 -> 8775 bytes
-rw-r--r--pixmaps/icons/hicolor/20x20/apps/drakconf.pngbin1163 -> 0 bytes
-rw-r--r--pixmaps/icons/hicolor/32x32/apps/drakconf.pngbin1824 -> 0 bytes
-rw-r--r--pixmaps/icons/hicolor/scalable/apps/drakconf.svg14
6 files changed, 9 insertions, 8 deletions
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
--- /dev/null
+++ b/pixmaps/icons/hicolor/128x128/apps/drakconf.png
Binary files 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
--- a/pixmaps/icons/hicolor/20x20/apps/drakconf.png
+++ /dev/null
Binary files 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
--- a/pixmaps/icons/hicolor/32x32/apps/drakconf.png
+++ /dev/null
Binary files 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">
<defs
id="defs5455">
<linearGradient
@@ -154,8 +154,8 @@
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="11.313708"
- inkscape:cx="-12.73434"
- inkscape:cy="11.831045"
+ inkscape:cx="-6.193602"
+ inkscape:cy="12.803317"
inkscape:document-units="px"
inkscape:current-layer="g4171"
showgrid="true"
@@ -163,8 +163,8 @@
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
- inkscape:window-width="1878"
- inkscape:window-height="1051"
+ inkscape:window-width="1920"
+ inkscape:window-height="1013"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"