Resizing the thgconfig dialog vertically leaves an empty area at below
the notebook widget. The attached patch fixes it.

TK
# HG changeset patch
# User TK Soh <[email protected]>
# Date 1237949004 0
# Node ID 723014e6984315120e814386b28ad2e9a07d7c8c
# Parent  36df07ce1400cf063f65da64be01a30c0fd30a45
thgconfig: expand notebook to fill dialog when resized

diff -r 36df07ce1400 -r 723014e69843 hggtk/thgconfig.py
--- a/hggtk/thgconfig.py        Wed Mar 25 02:28:11 2009 +0000
+++ b/hggtk/thgconfig.py        Wed Mar 25 02:43:24 2009 +0000
@@ -234,7 +234,7 @@
         # Create a new notebook, place the position of the tabs
         self.notebook = notebook = gtk.Notebook()
         notebook.set_tab_pos(gtk.POS_TOP)
-        self.vbox.pack_start(notebook, False, False)
+        self.vbox.pack_start(notebook, True, True)
         notebook.show()
         self.show_tabs = True
         self.show_border = True
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to