diff options
| author | Mark Levedahl <mlevedahl@gmail.com> | 2025-05-20 13:53:52 -0400 |
|---|---|---|
| committer | Mark Levedahl <mlevedahl@gmail.com> | 2025-07-21 11:59:21 -0400 |
| commit | 9b1c537fdbdf5bcad2f73bbad8eb06983889ff78 (patch) | |
| tree | 8f49e3073bd68f9769f055d6c5d05cf2d71875ea /lib/sshkey.tcl | |
| parent | fdc0e3a29020276de3d9344d2ab0caf4d086fd3a (diff) | |
| download | git-9b1c537fdbdf5bcad2f73bbad8eb06983889ff78.tar.xz | |
git-gui: remove non-ttk code
git-gui has code paths to support older non-ttk widgets, but this code
is no longer reachable as ttk is always used. Remove that code.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Diffstat (limited to 'lib/sshkey.tcl')
| -rw-r--r-- | lib/sshkey.tcl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sshkey.tcl b/lib/sshkey.tcl index 6caf1fd458..7a6526d3db 100644 --- a/lib/sshkey.tcl +++ b/lib/sshkey.tcl @@ -18,7 +18,7 @@ proc find_ssh_key {} { } proc do_ssh_key {} { - global sshkey_title sshkey_fd use_ttk + global sshkey_title sshkey_fd set w .sshkey_dialog if {[winfo exists $w]} { @@ -48,8 +48,7 @@ proc do_ssh_key {} { text $w.contents -width 60 -height 10 -wrap char -relief sunken pack $w.contents -fill both -expand 1 - set clr darkblue - if {$use_ttk} { set clr [ttk::style lookup . -selectbackground] } + set clr [ttk::style lookup . -selectbackground] $w.contents configure -inactiveselectbackground $clr ttk::frame $w.buttons |
