roundabout,
created on Saturday, 1 March 2025, 09:24:39 (1740821079),
received on Saturday, 1 March 2025, 09:24:42 (1740821082)
Author identity: vlad <vlad.muntoiu@gmail.com>
afd8df387ef4114e28df968bb164abbeeada85e1
gpanthera.cc
@@ -149,6 +149,7 @@ namespace gPanthera {
remove_handler = this->stack->signal_remove().connect([this](Gtk::Widget *child) {
this->update_buttons();
});
this->set_layout(Gtk::BUTTONBOX_START);
}
DockStackSwitcher::~DockStackSwitcher() {
@@ -161,6 +162,7 @@ namespace gPanthera {
this->set_image(*pane->get_icon());
}
this->set_tooltip_text(pane->get_label()->get_text());
this->set_halign(Gtk::ALIGN_CENTER);
}
void DockStackSwitcher::update_buttons() {
@@ -181,7 +183,8 @@ namespace gPanthera {
}
});
if(pane->get_identifier() != Glib::ustring("empty")) {
pack_start(*button);
pack_start(*button, Gtk::PACK_SHRINK, 0);
set_child_non_homogeneous(*button, true);
}
}
}