OSDN Git Service

[PATCH] gitk: add current directory to main window title
authorDoug Maxey <dwm@bebe.enoyolf.org>
Sun, 10 Dec 2006 20:31:46 +0000 (14:31 -0600)
committerPaul Mackerras <paulus@samba.org>
Sat, 13 Jan 2007 05:15:09 +0000 (16:15 +1100)
This can help people keep track of which gitk is which, when they
have several on the screen.

Signed-off-by: Doug Maxey <dwm@enoyolf.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk

diff --git a/gitk b/gitk
index 3dabc69..33bac1f 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -6293,6 +6293,7 @@ set stuffsaved 0
 set patchnum 0
 setcoords
 makewindow
+wm title . "[file tail $argv0]: [file tail [pwd]]"
 readrefs
 
 if {$cmdline_files ne {} || $revtreeargs ne {}} {