From 16eb16b2732a87ce20ac60ba17f8c57a4b5e3e5f Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 13 Sep 2016 12:50:00 +0200 Subject: [PATCH] Now updates directory view text color when theme is changed outside of juCi++ --- src/window.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/window.cc b/src/window.cc index b335c4d..d7ec0b0 100644 --- a/src/window.cc +++ b/src/window.cc @@ -153,6 +153,10 @@ Window::Window() { return false; }); + Gtk::Settings::get_default()->connect_property_changed("gtk-theme-name", [this] { + Directories::get().update(); + }); + about.signal_response().connect([this](int d){ about.hide(); });