Logo Search packages:      
Sourcecode: activity-log-manager version File versions  Download package

def window::FileTab::populate_view (   self,
  other_dir_list 
)
Populates the "Other files" treeview.

Every items in other_dir_list parameter should be in the form:
file://*

Definition at line 600 of file window.py.

                                           :
        """Populates the "Other files" treeview.
        
        Every items in other_dir_list parameter should be in the form:
        file://*
        """
        #other directories population
        for dir_ in other_dir_list:
            if not dir_.startswith("file://"):
                log.warning(_("%s should be in form file://*") % dir_)
                continue
            else:
                dir_ = dir_[7:]
            if not os.path.exists(dir_):
                log.warning(_("%s doesn't exists.") % dir_)
                continue
            self.dirs_blacklist_dict[dir_] = True
            self.store.append([dir_,])
    

Generated by  Doxygen 1.6.0   Back to index