Hi, On Wed, 31 Jan 2007, Mike Nefari wrote:This was noted before. I tried to argue with Paulus (now Cc'ed, as per SubmittingPatches) that he should include it in gitk. Somehow this did not have the effect intended be me. I also verified that with my Tcl/Tk installation on MacOSX, a patch like this was needed. IIRC Paulus argued that I should get a native TclTk, which is supposed to work (though not with the paths on Cygwin, oh well). Oh, and it is also needed for MinGW. But I guess it will remain unfixed. FWIW my patch is less intrusive: gitk | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/gitk b/gitk index 31d0aad..d3dc8f1 100755 --- a/gitk +++ b/gitk @@ -451,7 +451,10 @@ proc makewindow {} { set geometry(ctexth) [expr {($texth - 8) / [font metrics $textfont -linespace]}] } - frame .ctop.top + if {![info exists geometry(ctoptoph)]} { + set geometry(ctoptoph) [expr $geometry(canvh)+34] + } + frame .ctop.top -height $geometry(ctoptoph) frame .ctop.top.bar frame .ctop.top.lbar pack .ctop.top.lbar -side bottom -fill x @@ -459,7 +462,7 @@ proc makewindow {} { set cscroll .ctop.top.csb scrollbar $cscroll -command {allcanvs yview} -highlightthickness 0 pack $cscroll -side right -fill y - panedwindow .ctop.top.clist -orient horizontal -sashpad 0 -handlesize 4 + panedwindow .ctop.top.clist -orient horizontal -sashpad 0 -handlesize 4 -height $geometry(canvh) pack .ctop.top.clist -side top -fill both -expand 1 .ctop add .ctop.top set canv .ctop.top.clist.canv @@ -568,9 +571,17 @@ proc makewindow {} { trace add variable highlight_related write vrel_change pack .ctop.top.lbar.relm -side left -fill y - panedwindow .ctop.cdet -orient horizontal + if {![info exists geometry(cdeth)]} { + set geometry(cdeth) \ + [expr $geometry(ctexth)*[font metrics $textfont -linespace]+4] + } + panedwindow .ctop.cdet -orient horizontal -height $geometry(cdeth) .ctop add .ctop.cdet - frame .ctop.cdet.left + if {![info exists geometry(cdetleftw)]} { + set geometry(cdetleftw) \ + [expr $geometry(ctextw)*[font measure $textfont "0"]+8] + } + frame .ctop.cdet.left -width $geometry(cdetleftw) frame .ctop.cdet.left.bot pack .ctop.cdet.left.bot -side bottom -fill x button .ctop.cdet.left.bot.search -text "Search" -command dosearch \ @@ -814,6 +825,9 @@ proc savestuff {w} { set wid [expr {([winfo width $cflist] - 11) \ / [font measure [$cflist cget -font] "0"]}] puts $f "set geometry(cflistw) $wid" + puts $f "set geometry(ctoptoph) [winfo height .ctop.top]" + puts $f "set geometry(cdeth) [winfo height .ctop.cdet]" + puts $f "set geometry(cdetleftw) [winfo width .ctop.cdet.left]" puts -nonewline $f "set permviews {" for {set v 0} {$v < $nextviewnum} {incr v} { if {$viewperm($v)} { - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Arjan van de Ven | Re: [GIT]: Networking |
| Auke Kok | [PATCH] e1000e: test MSI interrupts |
git: | |
