summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7f7457)
raw | patch | inline | side by side (parent: c7f7457)
author | Alexander Gavrilov <angavrilov@gmail.com> | |
Sun, 27 Jul 2008 06:34:21 +0000 (10:34 +0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 27 Jul 2008 15:08:09 +0000 (08:08 -0700) |
It was positioned incorrectly (offset by one position)
if the menu had a tear-off handle.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
if the menu had a tear-off handle.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 7c27a43a5de5394d2d1a482c456c1123798b64fc..ce941adf8d910743bd7112daaed382dc105342e8 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
populate_fetch_menu
set n [expr {[.mbar.remote index end] - $n}]
if {$n > 0} {
+ if {[.mbar.remote type 0] eq "tearoff"} { incr n }
.mbar.remote insert $n separator
}
unset n