Comment 7 for bug 536953

Revision history for this message
donquixote (lemon-head-bw) wrote :

Explanation:
If I understand correctly, hamster does a "_test_layout" to find ideal values for pixel widths for some display elements.
The above code provides fallback values in case that the _test_layout stuff doesn't work.

You can play around with the fallback values, and restart hamster-standalone after each change. You will see the difference (except for the place where I put 70, I have no idea what that does).

I think the concept of fallback values is a reasonable thing, and should be kept even if the real problem can finally be fixed. Who knows what else will break the _test_layout stuff in the future.