Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Disable tearoff menus on Windows, Mac OS X
[gitweb.git]
/
git-gui.sh
diff --git
a/git-gui.sh
b/git-gui.sh
index a5f31dc3914bb4965b8722237657bf7ad8aff3ff..d640b143f31510f3a1de41444def5b71f0a47e4e 100755
(executable)
--- a/
git-gui.sh
+++ b/
git-gui.sh
@@
-1221,6
+1221,10
@@
foreach class {Button Checkbutton Entry Label
}
unset class
+if {[is_Windows] || [is_MacOSX]} {
+ option add *Menu.tearOff 0
+}
+
if {[is_MacOSX]} {
set M1B M1
set M1T Cmd