Logo Search packages:      
Sourcecode: catfish version File versions  Download package

def catfish::catfish::on_button_find_clicked (   self,
  widget 
)
Initiate the search thread.

Definition at line 765 of file catfish.py.

                                            :
        """Initiate the search thread."""

        # Add search term to the completion list
        keywords = self.entry_find_text.get_text()
        completion = self.entry_find_text.get_completion()
        listmodel = completion.get_model()
        listmodel.append([keywords])

        if self.button_find.get_label() == gtk.STOCK_FIND and keywords <> '':
            self.abort_find = 0
            task = self.find()
            gobject.idle_add(task.next)
        else:
            self.abort_find = 1


Generated by  Doxygen 1.6.0   Back to index