commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms src/GFObjects/GFContainer.py samples...


From: Jan Ischebeck
Subject: gnue/forms src/GFObjects/GFContainer.py samples...
Date: Thu, 19 Sep 2002 05:58:20 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jan Ischebeck <address@hidden>  02/09/19 05:58:20

Modified files:
        forms/src/GFObjects: GFContainer.py 
        forms/samples/configfile: connection.gfd 

Log message:
        fix connection.gfd to work with "box as container" patch

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFObjects/GFContainer.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/samples/configfile/connection.gfd.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue/forms/samples/configfile/connection.gfd
diff -c gnue/forms/samples/configfile/connection.gfd:1.1 
gnue/forms/samples/configfile/connection.gfd:1.2
*** gnue/forms/samples/configfile/connection.gfd:1.1    Sat Sep 14 10:19:15 2002
--- gnue/forms/samples/configfile/connection.gfd        Thu Sep 19 05:58:20 2002
***************
*** 10,35 ****
    <page name="Connection.conf">
      <block datasource="connection_dtsrc" name="Block_1">
        <entry field="_section_name" name="SecE" width="17" x="19" y="3"/>
!       <entry field="provider" name="provE" width="17" x="19" y="6"/>
!       <entry field="comment" name="descrE" width="17" x="19" y="7"/>
!       <entry field="host" name="hostE" width="17" x="19" y="8"/>
!       <entry field="port" name="portE" width="17" x="19" y="9"/>
!       <entry field="dbname" name="dbE" width="17" x="19" y="10"/>
!       <entry field="encoding" name="encE" width="17" x="19" y="11"/>
!       <entry field="rpctype" name="rpctE" width="17" x="19" y="12"/>
!       <entry field="transport" name="tranE" width="17" x="19" y="13"/>
      </block>
      <label name="SecL" text="Connection name:" width="16" x="2" y="3"/>
!     <label name="provL" text="Provider (req.):" width="16" x="2" y="6"/>
!     <label name="descrL" text="Comment:" width="12" x="2" y="7"/>
!     <label name="hostL" text="Host:" width="5" x="2" y="8"/>
!     <label name="portL" text="Port:" width="9" x="2" y="9"/>
!     <label name="dbL" text="Database:" width="9" x="2" y="10"/>
!     <label name="encL" text="Encoding:" width="9" x="2" y="11"/>
!     <label name="rpctL" text="RPC type (appsrv.):" width="9" x="2" y="12"/>
!     <label name="transL" text="Transport (appsrv.):" width="10" x="2" y="13"/>
! 
!     <box height="11" label="Settings" name="setbox" width="37" x="1" y="4"/>
      <label name="titel" text="Editor for Connection Settings" width="30"
             x="5" y="1"/>
    </page>
--- 10,36 ----
    <page name="Connection.conf">
      <block datasource="connection_dtsrc" name="Block_1">
        <entry field="_section_name" name="SecE" width="17" x="19" y="3"/>
!       <box height="11" label="Settings" name="setbox" width="37" x="1" y="4">
!         <entry field="provider" name="provE" width="17" x="18" y="1"/>
!         <entry field="comment" name="descrE" width="17" x="18" y="2"/>
!         <entry field="host" name="hostE" width="17" x="18" y="3"/>
!         <entry field="port" name="portE" width="17" x="18" y="4"/>
!         <entry field="dbname" name="dbE" width="17" x="18" y="5"/>
!         <entry field="encoding" name="encE" width="17" x="18" y="6"/>
!         <entry field="rpctype" name="rpctE" width="17" x="18" y="7"/>
!         <entry field="transport" name="tranE" width="17" x="18" y="8"/>
!         <label name="provL" text="Provider (req.):" width="16" x="1" y="1"/>
!         <label name="descrL" text="Comment:" width="12" x="1" y="2"/>
!         <label name="hostL" text="Host:" width="5" x="1" y="3"/>
!         <label name="portL" text="Port:" width="9" x="1" y="4"/>
!         <label name="dbL" text="Database:" width="9" x="1" y="5"/>
!         <label name="encL" text="Encoding:" width="9" x="1" y="6"/>
!         <label name="rpctL" text="RPC type (appsrv.):" width="9" x="1" y="7"/>
!         <label name="transL" text="Transport (appsrv.):" width="10" x="1" 
y="8"/>
!       </box>
      </block>
      <label name="SecL" text="Connection name:" width="16" x="2" y="3"/>
!   
      <label name="titel" text="Editor for Connection Settings" width="30"
             x="5" y="1"/>
    </page>
Index: gnue/forms/src/GFObjects/GFContainer.py
diff -c gnue/forms/src/GFObjects/GFContainer.py:1.1 
gnue/forms/src/GFObjects/GFContainer.py:1.2
*** gnue/forms/src/GFObjects/GFContainer.py:1.1 Tue Sep 17 20:27:50 2002
--- gnue/forms/src/GFObjects/GFContainer.py     Thu Sep 19 05:58:20 2002
***************
*** 40,46 ****
      allFocusStops = []
      for child in self._children:
        if isinstance(child,GFContainer):
!         tabStops = child._getFocusOrder()
          if len(tabStops):
            allFocusStops.append(tabStops)
            try:
--- 40,46 ----
      allFocusStops = []
      for child in self._children:
        if isinstance(child,GFContainer):
!         tabStops = child.getFocusOrder()          
          if len(tabStops):
            allFocusStops.append(tabStops)
            try:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]