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 3fb3b85e3e
commit 998fd1b015

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)) {