mirror of
https://github.com/git/git.git
synced 2024-10-31 14:27:54 +01:00
git-gui: change dialog button positions for Windows to suit platform.
On windows it is more common to have cancel furthest on the right. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
This commit is contained in:
parent
1fcd24d043
commit
ed05e9f6c0
1 changed files with 3 additions and 1 deletions
|
@ -286,7 +286,9 @@ method _next {action} {
|
|||
destroy $w_body
|
||||
if {![winfo exists $w_next]} {
|
||||
${NS}::button $w_next -default active
|
||||
pack $w_next -side right -padx 5 -before $w_quit
|
||||
set pos -before
|
||||
if {[tk windowingsystem] eq "win32"} { set pos -after }
|
||||
pack $w_next -side right -padx 5 $pos $w_quit
|
||||
}
|
||||
_do_$action $this
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue