Re: git-gui blametool
- From
Jeff King <peff@peff.net>
- Date
- Feb 12, 2007, 17:54 UTC
- Message-ID
- <20070212175400.GB30669@coredump.intra.peff.net>
- In-Reply-To
- <45D095B1.9070308@gmail.com>
On Mon, Feb 12, 2007 at 09:58:33PM +0530, Aneesh Kumar K.V wrote:
> Sine i don't have a tcl/tk reference around i update blameview to show > the above. The patch is attached below in case you are interested.
It certainly looks better, though the whole thing is still horribly ugly. You might play with replacing the main List widget with something a bit more compact.
> NOTE: How do i resize the widgets in perl-gtk ? I wanted the commit > window to be a bit larger. Any help ?
Something like this?
-Peff
diff --git a/contrib/blameview/blameview.perl b/contrib/blameview/blameview.perl index 67a0714..fd174eb 100755 --- a/contrib/blameview/blameview.perl +++ b/contrib/blameview/blameview.perl @@ -51,6 +51,7 @@ $vbox->pack_start($commitwindow, 1, 1, 0); my $commit_text = Gtk2::TextView->new(); my $commit_buffer = Gtk2::TextBuffer->new(); $commit_text->set_buffer($commit_buffer); +$commit_text->set_size_request(1024, 200); $commitwindow->add($commit_text); $fileview->signal_connect (cursor_changed => sub {