{"thread":{"id":"2274","subject":"[PATCH] gitk: Specify line hover font","startedAt":"2005-10-30T09:06:46Z","lastAt":"2005-10-30T09:06:46Z","messageCount":1,"participants":["Frank Sorenson"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"10809","messageId":"43648D26.90006@tuxrocks.com","threadId":"2274","inReplyTo":null,"subject":"[PATCH] gitk: Specify line hover font","fromName":"Frank Sorenson","fromEmail":"frank@tuxrocks.com","sentAt":"2005-10-30T09:06:46Z","receivedAt":"2005-10-30T09:06:46Z","isPatch":true,"sender":{"key":"frank@tuxrocks.com","avatar":null},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHovering over a line in gitk displays the commit one-liner in a\nbox, but the text usually overflows the box.  The box size is\ncomputed with a specified font, so this patch sets the text font\nas well.\n\nSigned-off-by: Frank Sorenson <frank@tuxrocks.com>\n\n- --- a/gitk\t2005-10-30 01:52:29.000000000 -0700\n+++ b/gitk\t2005-10-30 01:51:45.000000000 -0700\n@@ -3143,7 +3143,7 @@\n     set t [$canv create rectangle $x0 $y0 $x1 $y1 \\\n \t       -fill \\#ffff80 -outline black -width 1 -tags hover]\n     $canv raise $t\n- -    set t [$canv create text $x $y -anchor nw -text $text -tags hover]\n+    set t [$canv create text $x $y -anchor nw -text $text -tags hover -font $mainfont]\n     $canv raise $t\n }\n \n\nFrank\n- -- \nFrank Sorenson - KD7TZK\nSystems Manager, Computer Science Department\nBrigham Young University\nfrank@tuxrocks.com\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.1 (GNU/Linux)\nComment: Using GnuPG with Fedora - http://enigmail.mozdev.org\n\niD8DBQFDZIz1aI0dwg4A47wRAjgLAKDFMGTgTPnGI9zBv48p1emAvLg6GgCeNwz3\nOSrKWqnqGYpgMC89amkpUos=\n=dD0G\n-----END PGP SIGNATURE-----\n"}]}