From 82dce5fd47960324eca6a1367dd37c7d1b753b54 Mon Sep 17 00:00:00 2001
From: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
Date: Sat, 9 Mar 2024 12:47:52 -0800
Subject: [PATCH] Adapt to real hi-DPI update
Change recursive folder browsing button icon color and size.
---
.../icons/rawtherapee/scalable/apps/folder-subfolder.svg | 8 ++++----
rtgui/filecatalog.cc | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/rtdata/icons/rawtherapee/scalable/apps/folder-subfolder.svg b/rtdata/icons/rawtherapee/scalable/apps/folder-subfolder.svg
index f22d0da0f..eb858b543 100644
--- a/rtdata/icons/rawtherapee/scalable/apps/folder-subfolder.svg
+++ b/rtdata/icons/rawtherapee/scalable/apps/folder-subfolder.svg
@@ -71,13 +71,13 @@
inkscape:groupmode="layer"
inkscape:label="Layer 1">
diff --git a/rtgui/filecatalog.cc b/rtgui/filecatalog.cc
index 2bd16edf5..69b9e6dc9 100644
--- a/rtgui/filecatalog.cc
+++ b/rtgui/filecatalog.cc
@@ -350,7 +350,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
bOriginal->signal_button_press_event().connect (sigc::mem_fun(*this, &FileCatalog::capture_event), false);
bRecursive = Gtk::manage(new Gtk::ToggleButton());
- bRecursive->set_image(*Gtk::manage(new RTImage("folder-subfolder.png")));
+ bRecursive->set_image(*Gtk::manage(new RTImage("folder-subfolder", Gtk::ICON_SIZE_LARGE_TOOLBAR)));
bRecursive->set_tooltip_text(M("FILEBROWSER_SHOWRECURSIVE"));
bRecursive->set_relief(Gtk::RELIEF_NONE);
bRecursive->set_active(options.browseRecursive);