Add more size of the app. icon, and remove all of them for Windows
to fix issue #4425
This commit is contained in:
@@ -93,14 +93,19 @@ RTWindow::RTWindow ()
|
|||||||
WhiteBalance::init();
|
WhiteBalance::init();
|
||||||
ProfilePanel::init (this);
|
ProfilePanel::init (this);
|
||||||
|
|
||||||
Glib::ustring fName = "rt-logo-small.png";
|
#ifndef WIN32
|
||||||
Glib::ustring fullPath = rtengine::findIconAbsolutePath (fName);
|
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 {
|
try {
|
||||||
set_default_icon_from_file (fullPath);
|
set_default_icon_list(appIcons);
|
||||||
} catch (Glib::Exception& ex) {
|
} catch (Glib::Exception& ex) {
|
||||||
printf ("%s\n", ex.what().c_str());
|
printf ("%s\n", ex.what().c_str());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user