Changeset 4
- Timestamp:
- 11-09-2008 17:19:08 (5 years ago)
- Files:
-
- 1 modified
-
trunk/src/CreateKit.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CreateKit.py
r3 r4 71 71 self.treeStore = gtk.TreeStore(gobject.TYPE_BOOLEAN, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING) 72 72 73 time.sleep(1)74 73 cache = apt_pkg.GetCache(progress.TextProgress()) 75 74 records = apt_pkg.GetPkgRecords(cache) … … 88 87 continue 89 88 pkgList.append((None,(None, pkg.Name, pkgInfo.VerStr, records.ShortDesc))) 90 91 #self.pbar.set_fraction(util.pbarFraction(count, cache.PackageCount)) 92 #print self.pbar.get_fraction() 93 94 #print (None, pkg.Name, pkgInfo.VerStr, records.ShortDesc, packFile.IndexType) 89 #self.pbar.set_fraction(util.pbarFraction(count, cache.PackageCount)) 95 90 96 91 pkgList.sort() 97 92 for elm in pkgList: 98 93 self.treeStore.append(elm[0], (elm[1][0], elm[1][1], elm[1][2], elm[1][3])) 99 100 time.sleep(1)101 94 102 95 self.rendererText = gtk.CellRendererText()