commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnuef/src GFConfig.py UIwxpython.py GFObje...


From: James Thompson
Subject: gnue/gnuef/src GFConfig.py UIwxpython.py GFObje...
Date: Tue, 09 Oct 2001 09:35:12 -0400

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 01/10/09 09:35:12

Modified files:
        gnuef/src      : GFConfig.py UIwxpython.py 
        gnuef/src/GFObjects: GFBlock.py GFEntry.py 

Log message:
        Fixed gnuef install bug
        Fixed query bug wrt clearing fields with query defaults

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFConfig.py.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/UIwxpython.py.diff?cvsroot=OldCVS&tr1=1.111&tr2=1.112&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFBlock.py.diff?cvsroot=OldCVS&tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFObjects/GFEntry.py.diff?cvsroot=OldCVS&tr1=1.20&tr2=1.21&r1=text&r2=text

Patches:
Index: gnue/gnuef/src/GFConfig.py
diff -u gnue/gnuef/src/GFConfig.py:1.2 gnue/gnuef/src/GFConfig.py:1.3
--- gnue/gnuef/src/GFConfig.py:1.2      Thu Sep 27 00:32:52 2001
+++ gnue/gnuef/src/GFConfig.py  Tue Oct  9 09:35:12 2001
@@ -167,15 +167,15 @@
 
   { 'Name'       : 'widgetHeight',
     'Type'       : 'Setting',
-    'Comment'    : 'The default height of widgets for widgets that don't 
specify height in .gfd file',
-    'Description': 'The default height of widgets for widgets that don't 
specify height in .gfd file',
+    'Comment'    : "The default height of widgets for widgets that don't 
specify height in .gfd file",
+    'Description': "The default height of widgets for widgets that don't 
specify height in .gfd file",
     'Typecast'   : whole,
     'Default'    : 1 },
 
   { 'Name'       : 'widgetWidth',
     'Type'       : 'Setting',
-    'Comment'    : 'The default width of widgets for widgets that don't 
specify width in .gfd file',
-    'Description': 'The default width of widgets for widgets that don't 
specify width in .gfd file',
+    'Comment'    : "The default width of widgets for widgets that don't 
specify width in .gfd file",
+    'Description': "The default width of widgets for widgets that don't 
specify width in .gfd file",
     'Typecast'   : whole,
     'Default'    : 10 },
 
@@ -216,7 +216,7 @@
     'Comment'    : 'Message to display when detail data has not been saved',
     'Description': 'Message to display when detail data has not been saved',
     'Typecast'   : text,
-    'Default'    : 'This record's detail information is not saved.' },
+    'Default'    : "This record's detail information is not saved." },
 
   { 'Name'       : 'BorderPercentage',
     'Type'       : 'Setting',
Index: gnue/gnuef/src/GFObjects/GFBlock.py
diff -u gnue/gnuef/src/GFObjects/GFBlock.py:1.18 
gnue/gnuef/src/GFObjects/GFBlock.py:1.19
--- gnue/gnuef/src/GFObjects/GFBlock.py:1.18    Mon Oct  8 08:38:14 2001
+++ gnue/gnuef/src/GFObjects/GFBlock.py Tue Oct  9 09:35:12 2001
@@ -267,7 +267,7 @@
 
       # Get all the user-supplied parameters from the entry widgets
       for entry in self._queryValues.keys():
-        if entry._bound and entry.isQueryable(): 
+        if entry._bound and len(str(self._queryValues[entry])) and 
entry.isQueryable(): 
           if entry.typecast == 'text': 
             GDebug.printMesg(5,'Adding conditional LIKE (%s like %s)' % 
(entry.field, self._queryValues[entry]))
             conditionLike[entry.field] = self._queryValues[entry]
Index: gnue/gnuef/src/GFObjects/GFEntry.py
diff -u gnue/gnuef/src/GFObjects/GFEntry.py:1.20 
gnue/gnuef/src/GFObjects/GFEntry.py:1.21
--- gnue/gnuef/src/GFObjects/GFEntry.py:1.20    Mon Oct  8 08:38:14 2001
+++ gnue/gnuef/src/GFObjects/GFEntry.py Tue Oct  9 09:35:12 2001
@@ -127,7 +127,7 @@
       default = None
 
   def isQueryable(self):
-    if self._queryable: # and len(self._oldval): #TODO: Why was this here?
+    if self._queryable:
       return 1
 
   #
Index: gnue/gnuef/src/UIwxpython.py
diff -u gnue/gnuef/src/UIwxpython.py:1.111 gnue/gnuef/src/UIwxpython.py:1.112
--- gnue/gnuef/src/UIwxpython.py:1.111  Sun Sep 16 17:16:24 2001
+++ gnue/gnuef/src/UIwxpython.py        Tue Oct  9 09:35:12 2001
@@ -53,6 +53,7 @@
   def OnInit(self): 
     GDebug.printMesg(7,"WxApp initializing")
     wxInitAllImageHandlers()
+    GDebug.printMesg(7,"WxApp initializing2")
     return true
 
 __wxApp = None



reply via email to

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