On Thu, 4 Nov 2010, Ales Kozumplik wrote:
The first patch is obvious.
The second one, the one liner, took me all afternoon: the problem is that
whenever the screen was entered the correct city was selected but not visible
in the treeview, kindof like a one-off error in GTK:
I later found out this doesn't happen if TZ is the very first screen
displayed, or more specifically whenever self.window.show() is called in
gui.py before loading and creating the TZ widget. I am also able to reproduce
this with different window.show() combinations (window being the containing
window) locally, outside of Anaconda.
Therefore, assuming this is another GTK synchronicity/sizing-estimation
weirdness, I propose a patch that sets the selection upon the first rendering
(Nils, you are CCed just FYI in case you encounter a similar problem too.)
Ack to both.
David Cantrell <email@example.com>
Red Hat / Honolulu, HI
Anaconda-devel-list mailing list