Mercurial > hg
changeset 18562:37010a55922a
merge with stable
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 06 Feb 2013 13:22:01 +0100 |
parents | acf4a405e440 (current diff) 7365d031d457 (diff) |
children | 2fefd1170bf2 |
files | |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/hgk Mon Feb 04 14:10:09 2013 -0800 +++ b/contrib/hgk Wed Feb 06 13:22:01 2013 +0100 @@ -109,7 +109,12 @@ # end of win32 section } else { -if {[ttk::style theme use] eq "default"} { +if {[catch { + set theme [ttk::style theme use] +}]} { + set theme $::ttk::currentTheme +} +if {$theme eq "default"} { ttk::style theme use clam }