Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::rapid::SelectionTreeView::no_selected_rows_available_for_download (   self  ) 

Gets the number of rows the user has selected that can actually
be downloaded, and the threads they are found in

Definition at line 3777 of file rapid.py.

03777                                                      :
        """
        Gets the number of rows the user has selected that can actually
        be downloaded, and the threads they are found in
        """
        v = 0
        threads = []
        model, paths = self.get_selection().get_selected_rows()
        for path in paths:
            iter = self.liststore.get_iter(path)
            status = self.get_status(iter)
            if status in [STATUS_NOT_DOWNLOADED, STATUS_WARNING]:
                v += 1
                thread = self.get_thread(iter)
                if thread not in threads:
                    threads.append(thread)
        return v, threads
        
    def rows_available_for_download(self):


Generated by  Doxygen 1.6.0   Back to index