Duncan Mac-Vicar P. napsal(a):
great!, so what do I need to do to fix the package selector? I guess for every item I lock on the UI I apply the lock in the pool. What should I call later to save them?
Duncan
quick: class Locks (no direct locking)- addLock/unlock method and saveLocks for save locks little more verbose: Lock items via Locks class (singleton so can be called where you want). Unlock also via Locks class. There is two method for locking. One use selectable and second is more flexible and use PoolQuery (same class as for searching - locked/unlocked is result of search). When you want save locks to file use method saveLocks (default use settings from ZConfig - but you can specify file...so if frontend want have separated file of locks it is possible). For more detail look at tests locks when they are used. Pepa -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org