aboutsummaryrefslogtreecommitdiffstats
path: root/git-gui.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 2b5d84a56e..d395634caf 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -916,13 +916,11 @@ proc apply_config {} {
set use_ttk 0
set NS {}
if {$repo_config(gui.usettk)} {
- set use_ttk [package vsatisfies [package provide Tk] 8.5]
- if {$use_ttk} {
- set NS ttk
- bind [winfo class .] <<ThemeChanged>> [list InitTheme]
- pave_toplevel .
- color::sync_with_theme
- }
+ set use_ttk 1
+ set NS ttk
+ bind [winfo class .] <<ThemeChanged>> [list InitTheme]
+ pave_toplevel .
+ color::sync_with_theme
}
global comment_string