[PATCH] 657021 Wrong behaviour enlarging var inspector



Hello,

In the master branch, when I vertically enlarge the window of the
variable inspector, the text entry widget where I type the variable
expression to be evaluated grows vertically as well.  This is wrong
and very annoying.

The patchlet below, tested and committed to master, fixes that.

commit 0fba28a4691b55d81088ab704ce159275fa75b9a
Author: Dodji Seketeli <dodji gnome org>
Date:   Sun Aug 21 19:48:49 2011 +0200

    657021 Wrong behaviour enlarging var inspector
    
    	* src/persp/dbgperspective/ui/varinspectordialog.ui: Don't expand
    	variablenameentry ComboBox when its parent expands.  Likewise for
    	the vbox1 ancestor containing widget.

diff --git a/src/persp/dbgperspective/ui/varinspectordialog.ui b/src/persp/dbgperspective/ui/varinspectordialog.ui
index 807ab02..7f4be8b 100644
--- a/src/persp/dbgperspective/ui/varinspectordialog.ui
+++ b/src/persp/dbgperspective/ui/varinspectordialog.ui
@@ -69,6 +69,7 @@
                   <packing>
                     <property name="left_attach">1</property>
                     <property name="right_attach">2</property>
+                    <property name="y_options">GTK_SHRINK</property>
                   </packing>
                 </child>
                 <child>
@@ -117,7 +118,7 @@
                 </child>
               </object>
               <packing>
-                <property name="expand">True</property>
+                <property name="expand">False</property>
                 <property name="fill">True</property>
                 <property name="position">1</property>
               </packing>
-- 
		Dodji


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]