From: Paul Mackerras Date: Fri, 17 Apr 2009 13:01:32 GMT Subject: Re: [PATCH] gitk: use themed tk widgets Message-ID: <18920.32172.162401.593355@cargo.ozlabs.ibm.com> In-Reply-To: <873ac8m8jg.fsf@users.sourceforge.net> Pat Thoyts writes: > With Tk 8.5+ use the themed widgets to improve the appearence > on Windows and MacOSX. On X11 less difference is apparent but > users can select alternate themes by setting *TkTheme in the > resource database (eg: *TkTheme: clam) Looks nice, but the geometry restoration code doesn't seem to work when using the themed widgets. I normally have gitk set so that the top pane is about half the height of the bottom pane, but when I start gitk with this patch both panes always come up about the same height, no matter what sizes they had last time gitk ran. I notice that the code that restores the height and width of the top pane is now inside if {!$use_ttk}. Is there no way to restore the pane layout with the themed widgets? Paul.