[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/forms/src GFForm.py
From: |
Derek Neighbors |
Subject: |
gnue/forms/src GFForm.py |
Date: |
Fri, 06 Dec 2002 12:01:35 -0500 |
CVSROOT: /home/cvs
Module name: gnue
Branch: forms-0-4-1-branch
Changes by: Derek Neighbors <address@hidden> 02/12/06 12:01:35
Modified files:
forms/src : GFForm.py
Log message:
Fix so that runform trigger works again.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/forms/src/GFForm.py.diff?cvsroot=OldCVS&only_with_tag=forms-0-4-1-branch&tr1=1.202.2.1&tr2=1.202.2.2&r1=text&r2=text
Patches:
Index: gnue/forms/src/GFForm.py
diff -c gnue/forms/src/GFForm.py:1.216 gnue/forms/src/GFForm.py:1.217
*** gnue/forms/src/GFForm.py:1.216 Tue Dec 3 10:51:15 2002
--- gnue/forms/src/GFForm.py Tue Dec 3 13:06:32 2002
***************
*** 148,170 ****
}
! #
! # Modify the base phaseInit to only process
! #
! def phaseInit(self, iterations=5, dialogInit=0):
! if self.style != 'dialog' or dialogInit:
! for phase in range(iterations):
! self._phaseInit(phase, dialogInit=dialogInit)
! def _phaseInit(self,phase,dialogInit=0):
! if self.style != 'dialog' or dialogInit:
! if (len(self._inits) > phase) and self._inits[phase]:
! GDebug.printMesg(6,"%s: Init Phase %s" % (self._type, phase+1))
! self._inits[phase]()
! for child in self._children:
! if isinstance(child, GObj):
! child._phaseInit(phase)
#
# Convert some deprecated options to new style
--- 148,170 ----
}
! ## #
! ## # Modify the base phaseInit to only process
! ## #
! ## def phaseInit(self, iterations=5, dialogInit=0):
! ## if self.style != 'dialog' or dialogInit:
! ## for phase in range(iterations):
! ## self._phaseInit(phase, dialogInit=dialogInit)
! ## def _phaseInit(self,phase,dialogInit=0):
! ## if self.style != 'dialog' or dialogInit:
! ## if (len(self._inits) > phase) and self._inits[phase]:
! ## GDebug.printMesg(6,"%s: Init Phase %s" % (self._type, phase+1))
! ## self._inits[phase]()
! ## for child in self._children:
! ## if isinstance(child, GObj):
! ## child._phaseInit(phase)
#
# Convert some deprecated options to new style
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/forms/src GFForm.py,
Derek Neighbors <=