From 478e1c05b65bc5683dcdbf11caa7a8758d1f0af8 Mon Sep 17 00:00:00 2001 From: Hombre Date: Wed, 7 Mar 2018 20:10:00 +0100 Subject: [PATCH] Add more size of the app. icon, and remove all of them for Windows to fix issue #4425 --- rtgui/rtwindow.cc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/rtgui/rtwindow.cc b/rtgui/rtwindow.cc index 860221e02..0a8140955 100644 --- a/rtgui/rtwindow.cc +++ b/rtgui/rtwindow.cc @@ -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> 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__) {