You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this don't work as intended i assume:
src/modules/sni/tray.cpp
/tray.cpp
auto Tray::update() -> void {
// Show tray only when items are available
event_box_.set_visible(!box_.get_children().empty());
// Call parent update
AModule::update();
}
for example if you have passive elements option as "show-passive-items": false and you don't wish to show empty block get_children() length will be more then zero and block always will be visible and empty.
With regards,
Dadolyn
The text was updated successfully, but these errors were encountered:
Hello, this don't work as intended i assume:
src/modules/sni/tray.cpp
/tray.cpp
auto Tray::update() -> void {
// Show tray only when items are available
event_box_.set_visible(!box_.get_children().empty());
// Call parent update
AModule::update();
}
for example if you have passive elements option as "show-passive-items": false and you don't wish to show empty block get_children() length will be more then zero and block always will be visible and empty.
With regards,
Dadolyn
The text was updated successfully, but these errors were encountered: