[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-common/src GObjects.py
From: |
Jason Cater |
Subject: |
gnue/gnue-common/src GObjects.py |
Date: |
Sat, 28 Jul 2001 20:21:41 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 01/07/28 20:21:41
Modified files:
gnue-common/src: GObjects.py
Log message:
Fixed bug in GObj.findParentOfType()
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/src/GObjects.py.diff?cvsroot=OldCVS&tr1=1.15&tr2=1.16&r1=text&r2=text
Patches:
Index: gnue/gnue-common/src/GObjects.py
diff -u gnue/gnue-common/src/GObjects.py:1.15
gnue/gnue-common/src/GObjects.py:1.16
--- gnue/gnue-common/src/GObjects.py:1.15 Thu Jul 5 10:52:42 2001
+++ gnue/gnue-common/src/GObjects.py Sat Jul 28 20:21:41 2001
@@ -207,7 +207,10 @@
while (parentObject._parent != None and parentObject.getObjectType() !=
type):
parentObject = parentObject._parent
- return parentObject
+ if parentObject.getObjectType() == type:
+ return parentObject
+ else:
+ return None
#
# getDescription