Changeset 170

Show
Ignore:
Timestamp:
Mon May 21 13:07:53 2007
Author:
manatlan
Message:

- no case sensitive anymore in "tag keyboard feature"

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/commongtk.py

    r164 r170  
    50 50     def feed(self,l,s): # filter with begginning of 't'  
    51 51         l.clear()  
      52         s=s.lower()  
    52 53         for t,c in self.liste:  
    53               if t.startswith(s):  
      54             if t.lower().startswith(s):  
    53 54                 l.append( (t,"(%s)"%c) )  
    54 55  
     
    316 317  
    317 318 if __name__ == "__main__":  
    318       l=[('ana', 'potes'),('anna', 'voisin'),('beer', 'drinks')]  
      319     l=[('ana', 'potes'),('Anna', 'voisin'),('beer', 'drinks')]  
    318 319     w=WinKeyTag("apply this tag","",l)  
    319 320     #