summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-05-28 18:15:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-05-28 18:38:15 +0200
commit9d4e41ec40f97ba21f7737191f83156384404020 (patch)
tree0a102a1042001048224bde519ad51e9f711a00a1
parent99201be1aecae611417004b9c6a5be39b16be304 (diff)
downloadcontrol-center-9d4e41ec40f97ba21f7737191f83156384404020.tar
control-center-9d4e41ec40f97ba21f7737191f83156384404020.tar.gz
control-center-9d4e41ec40f97ba21f7737191f83156384404020.tar.bz2
control-center-9d4e41ec40f97ba21f7737191f83156384404020.tar.xz
control-center-9d4e41ec40f97ba21f7737191f83156384404020.zip
Install drakconf icon to hicolor (with SVG)
Allows to use scalable graphics unlike icons/{,large,mini} (mga#18066)
-rw-r--r--NEWS2
-rwxr-xr-xcontrol-center6
-rw-r--r--pixmaps/Makefile6
-rw-r--r--pixmaps/default/splash_screen_about.pngbin2357 -> 0 bytes
-rw-r--r--pixmaps/icons/hicolor/20x20/apps/drakconf.png (renamed from pixmaps/icons/mini/drakconf.png)bin1163 -> 1163 bytes
-rw-r--r--pixmaps/icons/hicolor/32x32/apps/drakconf.png (renamed from pixmaps/icons/drakconf.png)bin1824 -> 1824 bytes
-rw-r--r--pixmaps/icons/hicolor/48x48/apps/drakconf.png (renamed from pixmaps/icons/large/drakconf.png)bin3079 -> 3079 bytes
-rw-r--r--pixmaps/icons/hicolor/scalable/apps/drakconf.svg (renamed from pixmaps/icons/svg/drakconf.svg)0
8 files changed, 9 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 718cfaeb..ee42e9d2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- install drakconf icon to icons/hicolor (with SVG) instead of
+ icons/{,large,mini} (mga#18066)
- drop obsolete drakconf icons (mga#18066)
- use new icon for update frequency applet (mga#18226)
diff --git a/control-center b/control-center
index b45974d7..caf48ff1 100755
--- a/control-center
+++ b/control-center
@@ -594,7 +594,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/drakconf.png"));
+$window_global->set_icon(gtkcreate_pixbuf("/usr/share/icons/hicolor/32x32/apps/drakconf.png"));
my $pending_app = 0;
@@ -755,7 +755,7 @@ foreach my $notebook ($banner_notebook) {
# banner :
-#add2notebook($banner_notebook, "", Gtk3::Banner->new("/usr/share/icons/large/drakconf.png",
+#add2notebook($banner_notebook, "", Gtk3::Banner->new("/usr/share/icons/hicolor/48x48/apps/drakconf.png",
# N("Welcome to the %s Control Center", $branding)));
@@ -1462,7 +1462,7 @@ sub about_mga_cc() {
$list->get_selection->set_mode('none');
gtkpack_($window_about->get_child,
- (0, Gtk3::Banner->new('/usr/share/icons/large/drakconf.png',
+ (0, Gtk3::Banner->new('/usr/share/icons/hicolor/48x48/apps/drakconf.png',
#-PO: Here, first %s will be replaced by 'Mageia'
#-PO: second %s will be replaced by the version (eg: "Mageia 1 (Free) Control Center")
N("%s %s (%s) Control Center",
diff --git a/pixmaps/Makefile b/pixmaps/Makefile
index 6df1cf21..a7c487db 100644
--- a/pixmaps/Makefile
+++ b/pixmaps/Makefile
@@ -1,9 +1,11 @@
THEMES = default kde gnome
-mcc_dir = $(DESTDIR)/usr/share/mcc/themes
+SHAREDIR = $(DESTDIR)/usr/share
+THEMEDIR = $(SHAREDIR)/mcc/themes
all:
clean:
install:
- for d in $(THEMES); do ( install -d $(mcc_dir)/$$d ; install -m644 $$d/*.png $(mcc_dir)/$$d ; if [ -e $$d/*.rc ]; then install -m644 $$d/*.rc $(mcc_dir)/$$d; fi; ) ; done
+ install -d $(SHAREDIR); cp -a icons $(SHAREDIR); \
+ for d in $(THEMES); do ( install -d $(THEMEDIR)/$$d ; install -m644 $$d/*.png $(THEMEDIR)/$$d ; if [ -e $$d/*.rc ]; then install -m644 $$d/*.rc $(THEMEDIR)/$$d; fi; ) ; done
diff --git a/pixmaps/default/splash_screen_about.png b/pixmaps/default/splash_screen_about.png
deleted file mode 100644
index 01a425a6..00000000
--- a/pixmaps/default/splash_screen_about.png
+++ /dev/null
Binary files differ
diff --git a/pixmaps/icons/mini/drakconf.png b/pixmaps/icons/hicolor/20x20/apps/drakconf.png
index a18fde5e..a18fde5e 100644
--- a/pixmaps/icons/mini/drakconf.png
+++ b/pixmaps/icons/hicolor/20x20/apps/drakconf.png
Binary files differ
diff --git a/pixmaps/icons/drakconf.png b/pixmaps/icons/hicolor/32x32/apps/drakconf.png
index f033fba3..f033fba3 100644
--- a/pixmaps/icons/drakconf.png
+++ b/pixmaps/icons/hicolor/32x32/apps/drakconf.png
Binary files differ
diff --git a/pixmaps/icons/large/drakconf.png b/pixmaps/icons/hicolor/48x48/apps/drakconf.png
index f7602232..f7602232 100644
--- a/pixmaps/icons/large/drakconf.png
+++ b/pixmaps/icons/hicolor/48x48/apps/drakconf.png
Binary files differ
diff --git a/pixmaps/icons/svg/drakconf.svg b/pixmaps/icons/hicolor/scalable/apps/drakconf.svg
index 1e2bacdf..1e2bacdf 100644
--- a/pixmaps/icons/svg/drakconf.svg
+++ b/pixmaps/icons/hicolor/scalable/apps/drakconf.svg