Git development
 help / color / mirror / Atom feed
From: Doug Maxey <dwm@enoyolf.org>
To: Paul Mackerras <paulus@samba.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: [RFC/PATCH] gitk: add current directory to main window title
Date: Sun, 10 Dec 2006 14:31:46 -0600	[thread overview]
Message-ID: <24010.1165782706@bebe.enoyolf.org> (raw)

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

Signed-off-by: Doug Maxey <dwm@enoyolf.org>
---
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



                 reply	other threads:[~2006-12-10 20:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24010.1165782706@bebe.enoyolf.org \
    --to=dwm@enoyolf.org \
    --cc=git@vger.kernel.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox