Restored size of mixer list pane is at least 36 px. Revert default to 75.

This commit is contained in:
nick_m 2015-10-16 03:22:11 +11:00
parent c1f3f79454
commit 8767a4343f

View File

@ -1734,12 +1734,11 @@ Mixer_UI::pane_allocation_handler (Allocation&, Gtk::Paned* which)
return;
}
if (!geometry) {
pos = 0;
if (!geometry || (prop = geometry->property("mixer-list-hpane-pos")) == 0) {
pos = 75;
snprintf (buf, sizeof(buf), "%d", pos);
} else {
prop = geometry->property("mixer-list-hpane-pos");
pos = atoi (prop->value());
pos = max (36, atoi (prop->value ()));
}
if ((done[2] = GTK_WIDGET(list_hpane.gobj())->allocation.width > pos)) {