Logo Search packages:      
Sourcecode: gallery-uploader version File versions  Download package

def galleryuploader_lib::editor::Editor::monitor (   self )
This is ran as long as the thumbnailer is working.

Definition at line 76 of file editor.py.

                     :
        """
        This is ran as long as the thumbnailer is working.
        """
        # If we see the thumbnailer has finished working...
        finished = bool( self.thumbnailer.todo ) or self.thumbnailer.working
        # ... _and then_ we get all the "done" thumbnails...
        while self.thumbnailer.done:
            path, uri, thumbnail = self.thumbnailer.done.pop(0)
            self.list.append([path,
                              '',
                              '',
                              thumbnail,
                              os.path.basename( path )])
        # ... then we know we're missing none.
        return finished

Generated by  Doxygen 1.6.0   Back to index