mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: add default_paths on init
This commit is contained in:
parent
346ec68578
commit
aeaa1927d9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user