Skip to content

Commit

Permalink
git-gui: change dialog button positions for Windows to suit platform.
Browse files Browse the repository at this point in the history
On windows it is more common to have cancel furthest on the right.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  • Loading branch information
Pat Thoyts committed May 17, 2013
1 parent 1fcd24d commit ed05e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/choose_repository.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ed05e9f

Please sign in to comment.