Subversion Repositories basico

Rev

Rev 363 | Rev 389 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 363 Rev 374
Line 676... Line 676...
676
    def populate_by_collection(self, sapnotes):
676
    def populate_by_collection(self, sapnotes):
677
        treepids = {}
677
        treepids = {}
678
        scomp = set()
678
        scomp = set()
679
        dcomp = {}
679
        dcomp = {}
680
        self.model.clear()
680
        self.model.clear()
681
       
-
 
-
 
681
682
        # Add Downloaded collection
682
        # Add Downloaded collection
683
        cid = self.srvclt.get_cid_by_name('Downloaded')
683
        cid = self.srvclt.get_cid_by_name('Downloaded')
684
        count = len(self.srvdtb.get_notes_by_node('collection', cid))
684
        count = len(self.srvdtb.get_notes_by_node('collection', cid))
685
        node = self.get_node_collection(cid, "<span color='black'><b>Downloaded</b></span>", str(count))
685
        node = self.get_node_collection(cid, "<span color='black'><b>Downloaded</b></span>", str(count))
686
        treepids['Downloaded'] = self.model.append(None, node)
686
        treepids['Downloaded'] = self.model.append(None, node)