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>

Pat Thoyts committed May 17, 2013 at 10:51 UTC ed05e9f6c027a23ce45bcdbac4196058ed5d0e07
1 file changed +3 -1
lib/choose_repository.tcl
+3 -1
@@ -286,7 +286,9 @@ method _next {action} {
286 destroy $w_body
287 if {![winfo exists $w_next]} {
288 ${NS}::button $w_next -default active
289 - pack $w_next -side right -padx 5 -before $w_quit
289 + set pos -before
290 + if {[tk windowingsystem] eq "win32"} { set pos -after }
291 + pack $w_next -side right -padx 5 $pos $w_quit
292 }
293 _do_$action $this
294 }