#NEWLINE# def updateSearchResults( self , search = None , result_list = None ) : #NEWLINE# #INDENT# if ( self is None ) : #NEWLINE# #INDENT# self . gotoSearch ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( not self . searchAction . searchMode ) : #NEWLINE# #INDENT# self . open_list . show_search_results ( ) #NEWLINE# self . searchAction . searchMode = True #NEWLINE# self . open_list . searchMode = True #NEWLINE# self . searchAction . setText ( 'Clear Search' ) #NEWLINE# #UNINDENT# #UNINDENT# self . open_list . update_search_results ( search , result_list )