From: jepler@unpythonic.net
To: Linus Torvalds <torvalds@osdl.org>
Cc: Paul Mackerras <paulus@samba.org>,
Kay Sievers <kay.sievers@vrfy.org>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: gitk "hyperlinks" (was Re: Display of merges in gitk)
Date: Sat, 6 Aug 2005 12:07:39 -0500 [thread overview]
Message-ID: <20050806170735.GA18063@unpythonic.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0508060919150.3258@g5.osdl.org>
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
On Sat, Aug 06, 2005 at 09:20:16AM -0700, Linus Torvalds wrote:
> Looks good also. I assume the mouse can't change when it hovers?
In gitk? This is be possible. My patch[1] does it. The way it's done stinks a
little bit, though. <Enter> and <Leave> are bound on a tag common to all the
"hyperlinks", and change the -cursor of the whole widget---either to hand2 or
the empty string.
+ $ctext tag bind Commit <Enter> { %W configure -cursor hand2 }
+ $ctext tag bind Commit <Leave> { %W configure -cursor {} }
My patch also underlines links, as requested in a different message in this thread.
+ $ctext tag configure Commit -underline yes -foreground blue
Jeff
[1] http://www.gelato.unsw.edu.au/archives/git/0508/7253.html
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-08-06 17:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-30 1:51 Display of merges in gitk Paul Mackerras
2005-07-30 4:25 ` Junio C Hamano
2005-07-30 21:36 ` Shipping gitk as part of core git Junio C Hamano
2005-07-31 12:00 ` Paul Mackerras
2005-07-31 18:48 ` Junio C Hamano
2005-07-30 14:32 ` gitk merge display bugs (was: Re: Display of merges in gitk) Sergey Vlasov
2005-08-05 14:10 ` Display of merges in gitk Linus Torvalds
2005-08-05 14:37 ` gitk "hyperlinks" (was Re: Display of merges in gitk) Linus Torvalds
2005-08-05 18:51 ` jepler
2005-08-06 3:36 ` Kay Sievers
2005-08-06 15:44 ` Linus Torvalds
2005-08-07 5:51 ` Kay Sievers
2005-08-06 18:27 ` gitweb "tag" display Junio C Hamano
2005-08-06 18:49 ` Junio C Hamano
2005-08-19 23:21 ` Paul Mackerras
2005-08-19 23:43 ` Johannes Schindelin
2005-08-20 19:09 ` Junio C Hamano
2005-08-07 5:50 ` Kay Sievers
2005-08-06 13:16 ` gitk "hyperlinks" (was Re: Display of merges in gitk) Paul Mackerras
2005-08-06 16:20 ` Linus Torvalds
2005-08-06 17:07 ` jepler [this message]
2005-08-06 17:59 ` gitk SHA link hovers Linus Torvalds
2005-08-07 12:04 ` Paul Mackerras
2005-08-06 16:31 ` gitk "hyperlinks" Junio C Hamano
2005-08-07 12:05 ` Paul Mackerras
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=20050806170735.GA18063@unpythonic.net \
--to=jepler@unpythonic.net \
--cc=git@vger.kernel.org \
--cc=kay.sievers@vrfy.org \
--cc=paulus@samba.org \
--cc=torvalds@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.