Author: reinhard
Date: 2006-12-04 07:22:28 -0600 (Mon, 04 Dec 2006)
New Revision: 9099
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
trunk/gnue-forms/src/GFObjects/GFField.py
Log:
Removed unused function GFField.isQueryable() (always returned True).
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-12-04 12:42:06 UTC (rev
9098)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-12-04 13:22:28 UTC (rev
9099)
@@ -1465,7 +1465,7 @@
conditions = []
# Get all the user-supplied parameters from the entry widgets
for entry, val in self.__query_values.items():
- if entry._bound and entry.isQueryable() and len(("%s" % val)):
+ if entry._bound and len(("%s" % val)):
# New : operator support
match = False
Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py 2006-12-04 12:42:06 UTC (rev
9098)
+++ trunk/gnue-forms/src/GFObjects/GFField.py 2006-12-04 13:22:28 UTC (rev
9099)
@@ -88,7 +88,6 @@
self._uppercase = False
self._lowercase = False
self._numeric = False
- self._queryable = True
self.__is_lookup = False
self._allowedValues = None
@@ -224,15 +223,6 @@
# -------------------------------------------------------------------------
- # Determine wether a field is queryable or not
- # -------------------------------------------------------------------------
-
- def isQueryable(self):
-
- return self._queryable
-
-
- # -------------------------------------------------------------------------
# Determine wether a field is editable or not
# -------------------------------------------------------------------------
@@ -241,7 +231,7 @@
mode = self._form.getCurrentMode()
if mode == 'query':
- return self.isQueryable () and self._block.queryable
+ return self._block.queryable
elif self._form.readonly:
return False
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue