Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: change dialog button positions for Windows to suit platform.
author
Pat Thoyts
<patthoyts@users.sourceforge.net>
Fri, 17 May 2013 09:51:01 +0000
(10:51 +0100)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Fri, 17 May 2013 09:51:01 +0000
(10:51 +0100)
On windows it is more common to have cancel furthest on the right.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/choose_repository.tcl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
1fcd24d
)
diff --git
a/lib/choose_repository.tcl
b/lib/choose_repository.tcl
index 657f7d5dc19b13f36a31b833f04407b8ca0b2901..ee58981f539bfd27dbba99db47d6f85102b0e7a6 100644
(file)
--- a/
lib/choose_repository.tcl
+++ b/
lib/choose_repository.tcl
@@
-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
}