Changeset 67 for conseil.py

Show
Ignore:
Timestamp:
03/28/07 06:13:52 (22 months ago)
Author:
ploum
Message:

#24 : bug #XXX must be recognised

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • conseil.py

    r65 r67  
    265265        def simpleSearch_clicked(self, widget): 
    266266                searchString = self.full_glade.get_widget("simple_search_entry").get_text().strip() 
     267                if searchString.startswith("#") : 
     268                        tmp = searchString.lstrip("#") 
     269                        if self.__isint(tmp) : 
     270                                searchString = tmp 
    267271                if searchString != '' : 
    268272                        dic = makedict()