From aeaa1927d958ecfd3510ddedecb511a59fdbd111 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 17 Apr 2019 19:23:52 +0200 Subject: [PATCH] fix: add default_paths on init --- src/modules/sni/item.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/sni/item.cpp b/src/modules/sni/item.cpp index a61f0207..47b164d3 100644 --- a/src/modules/sni/item.cpp +++ b/src/modules/sni/item.cpp @@ -19,6 +19,7 @@ waybar::modules::SNI::Item::Item(std::string bn, std::string op, const Json::Val icon_size = config["icon-size"].asUInt(); } default_icon_path_ = Gtk::IconTheme::get_default()->get_search_path(); + icon_theme->set_search_path(default_icon_path_); event_box.add(image); event_box.add_events(Gdk::BUTTON_PRESS_MASK); event_box.signal_button_press_event().connect(sigc::mem_fun(*this, &Item::handleClick));