git-gui: Disable tearoff menus on Windows, Mac OS X
[gitweb.git] / git-gui.sh
index a5f31dc3914bb4965b8722237657bf7ad8aff3ff..d640b143f31510f3a1de41444def5b71f0a47e4e 100755 (executable)
@@ -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