[RFC/PATCH] gitk: add current directory to main window title

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From fe613c56b0079871e6b862077a9d673ca064cc16 Mon Sep 17 00:00:00 2001
From: Doug Maxey <dwm@xxxxxxxxxxxxxxxx>
Date: Sun, 10 Dec 2006 14:02:50 -0600

Signed-off-by: Doug Maxey <dwm@xxxxxxxxxxx>
---
Based off gitk#master.

It helps me, being greyware challenged, keep track of which gitk is active 
for a given directory. 
---
 gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gitk b/gitk
index 3dabc69..b8fd6ca 100755
--- 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 {}} {
-- 
1.4.4.2



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]