# HG changeset patch
# User Adrian Buehlmann <adr...@cadifra.com>
# Date 1255907368 -7200
# Branch stable
# Node ID 293e1f3d55006b32d5760e7350f51c33dfde3704
# Parent  5d6dc81f1aaa7e0f0b1d5fa6cde166edf8859c44
changeset: don't scroll the csetinfo

Otherwise this looks especially ridiculous if the expander is collapsed.

diff --git a/tortoisehg/hgtk/changeset.py b/tortoisehg/hgtk/changeset.py
--- a/tortoisehg/hgtk/changeset.py
+++ b/tortoisehg/hgtk/changeset.py
@@ -510,7 +510,6 @@ class ChangeSet(gdialog.GDialog):
                            'dateage', 'parents', 'children', 'tags',
                            'transplant'), selectable=True)
         self.csetinfo = csinfo.create(style=csetstyle, **args)
-        details_box.pack_start(self.csetinfo, False, False)
 
         patchstyle = csinfo.panelstyle(contents=('patch', 'branch', 'user',
                             'dateage', 'parents'), selectable=True)
@@ -582,9 +581,13 @@ class ChangeSet(gdialog.GDialog):
         # don't pack btn yet to keep it initially invisible
         self.other_parent_checkbutton = btn
 
+        rightbox = gtk.VBox()
+        rightbox.pack_start(self.csetinfo, False, False)
+        rightbox.pack_start(details_frame, True, True)
+
         self._hpaned = gtk.HPaned()
         self._hpaned.pack1(list_frame, True, True)
-        self._hpaned.pack2(details_frame, True, True)
+        self._hpaned.pack2(rightbox, True, True)
         self._hpaned.set_position(self._setting_hpos)
 
         if self.stbar:

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to