summaryrefslogtreecommitdiff
path: root/git-gui/lib/class.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-08-27 00:29:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-27 00:29:26 (GMT)
commite92ea62425fb89713bc47241af29a79f5f191cc6 (patch)
treea027f4d97331623b3a4d99eeea5e14557af990e3 /git-gui/lib/class.tcl
parent09b0d9dde03df1432df06dcfcc20d8abecccb860 (diff)
parentc80d25dbce759a8483ffc1f085fdf4cd63cf9f05 (diff)
downloadgit-e92ea62425fb89713bc47241af29a79f5f191cc6.zip
git-e92ea62425fb89713bc47241af29a79f5f191cc6.tar.gz
git-e92ea62425fb89713bc47241af29a79f5f191cc6.tar.bz2
Merge branch 'master' of git://repo.or.cz/git-gui
* 'master' of git://repo.or.cz/git-gui: git-gui: Correct 'git gui blame' in a subdirectory git-gui: Do not offer to stage three-way diff hunks into the index git-gui: Refactor diff pane popup support for future improvements git-gui: Fix "unoptimized loading" to not cause git-gui to crash git-gui: Paper bag fix "Stage Hunk For Commit" in diff context menu git-gui: Allow git-merge to use branch names in conflict markers git-gui: Fix window manager problems on ion3
Diffstat (limited to 'git-gui/lib/class.tcl')
-rw-r--r--git-gui/lib/class.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-gui/lib/class.tcl b/git-gui/lib/class.tcl
index 24e8cec..dc21411 100644
--- a/git-gui/lib/class.tcl
+++ b/git-gui/lib/class.tcl
@@ -148,11 +148,12 @@ proc make_toplevel {t w args} {
}
}
- if {[winfo ismapped .]} {
+ if {$::root_exists || [winfo ismapped .]} {
regsub -all {::} $this {__} w
set top .$w
set pfx $top
toplevel $top
+ set ::root_exists 1
} else {
set top .
set pfx {}