From ebf17154687411d1adeb6f70009548259ad950bf Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Fri, 6 Nov 2020 19:02:48 +0000 Subject: [PATCH] Install MIME type icons into the hicolor theme The gnome theme is defunct. Remove gnome-mime- prefix from icon filenames. --- ...cation-x-gedcom.png => application-x-gedcom.png} | Bin ...cation-x-gedcom.svg => application-x-gedcom.svg} | 0 ...tion-x-geneweb.png => application-x-geneweb.png} | Bin ...tion-x-geneweb.svg => application-x-geneweb.svg} | 0 ...package.png => application-x-gramps-package.png} | Bin ...package.svg => application-x-gramps-package.svg} | 0 ...-gramps-xml.png => application-x-gramps-xml.png} | Bin ...-gramps-xml.svg => application-x-gramps-xml.svg} | 0 ...cation-x-gramps.png => application-x-gramps.png} | Bin ...cation-x-gramps.svg => application-x-gramps.svg} | 0 setup.py | 4 ++-- 11 files changed, 2 insertions(+), 2 deletions(-) rename data/{gnome-mime-application-x-gedcom.png => application-x-gedcom.png} (100%) rename data/{gnome-mime-application-x-gedcom.svg => application-x-gedcom.svg} (100%) rename data/{gnome-mime-application-x-geneweb.png => application-x-geneweb.png} (100%) rename data/{gnome-mime-application-x-geneweb.svg => application-x-geneweb.svg} (100%) rename data/{gnome-mime-application-x-gramps-package.png => application-x-gramps-package.png} (100%) rename data/{gnome-mime-application-x-gramps-package.svg => application-x-gramps-package.svg} (100%) rename data/{gnome-mime-application-x-gramps-xml.png => application-x-gramps-xml.png} (100%) rename data/{gnome-mime-application-x-gramps-xml.svg => application-x-gramps-xml.svg} (100%) rename data/{gnome-mime-application-x-gramps.png => application-x-gramps.png} (100%) rename data/{gnome-mime-application-x-gramps.svg => application-x-gramps.svg} (100%) diff --git a/data/gnome-mime-application-x-gedcom.png b/data/application-x-gedcom.png similarity index 100% rename from data/gnome-mime-application-x-gedcom.png rename to data/application-x-gedcom.png diff --git a/data/gnome-mime-application-x-gedcom.svg b/data/application-x-gedcom.svg similarity index 100% rename from data/gnome-mime-application-x-gedcom.svg rename to data/application-x-gedcom.svg diff --git a/data/gnome-mime-application-x-geneweb.png b/data/application-x-geneweb.png similarity index 100% rename from data/gnome-mime-application-x-geneweb.png rename to data/application-x-geneweb.png diff --git a/data/gnome-mime-application-x-geneweb.svg b/data/application-x-geneweb.svg similarity index 100% rename from data/gnome-mime-application-x-geneweb.svg rename to data/application-x-geneweb.svg diff --git a/data/gnome-mime-application-x-gramps-package.png b/data/application-x-gramps-package.png similarity index 100% rename from data/gnome-mime-application-x-gramps-package.png rename to data/application-x-gramps-package.png diff --git a/data/gnome-mime-application-x-gramps-package.svg b/data/application-x-gramps-package.svg similarity index 100% rename from data/gnome-mime-application-x-gramps-package.svg rename to data/application-x-gramps-package.svg diff --git a/data/gnome-mime-application-x-gramps-xml.png b/data/application-x-gramps-xml.png similarity index 100% rename from data/gnome-mime-application-x-gramps-xml.png rename to data/application-x-gramps-xml.png diff --git a/data/gnome-mime-application-x-gramps-xml.svg b/data/application-x-gramps-xml.svg similarity index 100% rename from data/gnome-mime-application-x-gramps-xml.svg rename to data/application-x-gramps-xml.svg diff --git a/data/gnome-mime-application-x-gramps.png b/data/application-x-gramps.png similarity index 100% rename from data/gnome-mime-application-x-gramps.png rename to data/application-x-gramps.png diff --git a/data/gnome-mime-application-x-gramps.svg b/data/application-x-gramps.svg similarity index 100% rename from data/gnome-mime-application-x-gramps.svg rename to data/application-x-gramps.svg diff --git a/setup.py b/setup.py index 5e7134fcc..a2a7984ea 100755 --- a/setup.py +++ b/setup.py @@ -440,8 +440,8 @@ data_files_core.append(('share/gramps/css/swanky-purse/images', SWANKY_IMG)) PNG_FILES = glob.glob(os.path.join('data', '*.png')) SVG_FILES = glob.glob(os.path.join('data', '*.svg')) -data_files_core.append(('share/icons/gnome/48x48/mimetypes', PNG_FILES)) -data_files_core.append(('share/icons/gnome/scalable/mimetypes', SVG_FILES)) +data_files_core.append(('share/icons/hicolor/48x48/mimetypes', PNG_FILES)) +data_files_core.append(('share/icons/hicolor/scalable/mimetypes', SVG_FILES)) DTD_FILES = glob.glob(os.path.join('data', '*.dtd')) RNG_FILES = glob.glob(os.path.join('data', '*.rng'))