Skip to content

Commit

Permalink
fix: add default_paths on init
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Apr 17, 2019
1 parent 346ec68 commit aeaa192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/sni/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit aeaa192

Please sign in to comment.