here you've a diff for enabling multiple package add/remove:
412c412 < if self.cache[pkg.split()[0]].isInstalled: --- > if self.cache[pkg].isInstalled: 414,415c414 < for tmp in pkg.split(): < self.cache[tmp].markDelete(autoFix=False) --- > self.cache[pkg].markDelete(autoFix=False) 429,430c428 < for tmp in pkg.split(): < self.cache[pkg].markKeep() --- > self.cache[pkg].markKeep() 434,435c432 < for tmp in pkg.split(): < self.cache[tmp].markKeep() --- > self.cache[pkg].markKeep() 445,446c442 < for tmp in pkg.split(): < self.cache[tmp].markInstall(autoFix=True) --- > self.cache[pkg].markInstall(autoFix=True) 603c599 < if self.cache.has_key(pkgname.split()[0]): --- > if self.cache.has_key(pkgname): 694c690 < installed = self.cache[name.split()[0]].isInstalled --- > installed = self.cache[name].isInstalled 712,714c708,709 < for tmp in name.split(): < selections.append(("%s\tuninstall" % tmp, path)) < packages.append(name) --- > selections.append(("%s\tuninstall" % name, path)) > packages.append(name) 716,718c711,712 < for tmp in name.split(): < selections.append(("%s\tinstall" % tmp, path)) < packages.append(name) --- > selections.append(("%s\tinstall" % name, path)) > packages.append(name) 830,832c824,825 < for tmp in name.split(): < if not self.cache[tmp].isInstalled: < to_remove.append(gtk.TreeRowReference(store, path)) --- > if not self.cache[name].isInstalled: > to_remove.append(gtk.TreeRowReference(store, path)) 1258c1251 < pkg = self.cache[package_name.split()[0]] --- > pkg = self.cache[package_name]
here you've a diff for enabling multiple package add/remove:
412c412 pkg.split( )[0]].isInstall ed: pkg].isInstalle d: tmp].markDelete (autoFix= False) pkg].markDelete (autoFix= False) pkg].markKeep( ) pkg].markKeep( ) tmp].markKeep( ) pkg].markKeep( ) tmp].markInstal l(autoFix= True) pkg].markInstal l(autoFix= True) has_key( pkgname. split() [0]): has_key( pkgname) : name.split( )[0]].isInstall ed name].isInstall ed append( ("%s\tuninstall " % tmp, path)) append( name) append( ("%s\tuninstall " % name, path)) append( name) append( ("%s\tinstall" % tmp, path)) append( name) append( ("%s\tinstall" % name, path)) append( name) tmp].isInstalle d: append( gtk.TreeRowRefe rence(store, path)) name].isInstall ed: append( gtk.TreeRowRefe rence(store, path)) package_ name.split( )[0]] package_ name]
< if self.cache[
---
> if self.cache[
414,415c414
< for tmp in pkg.split():
< self.cache[
---
> self.cache[
429,430c428
< for tmp in pkg.split():
< self.cache[
---
> self.cache[
434,435c432
< for tmp in pkg.split():
< self.cache[
---
> self.cache[
445,446c442
< for tmp in pkg.split():
< self.cache[
---
> self.cache[
603c599
< if self.cache.
---
> if self.cache.
694c690
< installed = self.cache[
---
> installed = self.cache[
712,714c708,709
< for tmp in name.split():
< selections.
< packages.
---
> selections.
> packages.
716,718c711,712
< for tmp in name.split():
< selections.
< packages.
---
> selections.
> packages.
830,832c824,825
< for tmp in name.split():
< if not self.cache[
< to_remove.
---
> if not self.cache[
> to_remove.
1258c1251
< pkg = self.cache[
---
> pkg = self.cache[