Add more size of the app. icon, and remove all of them for Windows

to fix issue #4425
This commit is contained in:
Hombre
2018-03-07 20:10:00 +01:00
parent 835ca352cf
commit 478e1c05b6

View File

@@ -93,14 +93,19 @@ RTWindow::RTWindow ()
WhiteBalance::init();
ProfilePanel::init (this);
Glib::ustring fName = "rt-logo-small.png";
Glib::ustring fullPath = rtengine::findIconAbsolutePath (fName);
#ifndef WIN32
const std::vector<Glib::RefPtr<Gdk::Pixbuf>> appIcons = {
RTImage::createFromFile("rt-logo-tiny.png"),
RTImage::createFromFile("rt-logo-small.png"),
RTImage::createFromFile("rt-logo-medium.png"),
RTImage::createFromFile("rt-logo-large.png")
};
try {
set_default_icon_from_file (fullPath);
set_default_icon_list(appIcons);
} catch (Glib::Exception& ex) {
printf ("%s\n", ex.what().c_str());
}
#endif
#if defined(__APPLE__)
{