CVS commit by mornfall: Few small fixes with acqprogress: setResizeMode (LastColumn), make use of APT::Fetcher::Select-Timeout-Usec (needs patched apt-pkg to have some effect, wishlist with attached patch filed in debian bts). Plus some TODO.
M +8 -0 TODO 1.50 M +0 -1 libcapture/pkgcache.h 1.24 M +4 -1 libkapture/acqprogress.cpp 1.19 --- kdenonbeta/kdedebian/kapture/TODO #1.49:1.50 @@ -227,4 +227,10 @@ simple internal (libcapture) interface for defining/manipulating/cancelling pins. Default values shouldn't get written to /etc/apt/preferences. + WARNING: Use a private apt pin file. Synaptic got burns for using + /etc/apt/preferences, so we can as well avoid it ;). + + REINSTALL, PURGE SUPPORT [done: 0%] + - add reinstall & purge actions and appropriate states + - add rc-only state SIMPLE TREE [done: 0%] @@ -323,2 +329,4 @@ Hm, what good is this? Maybe just add a line to PkgDetailDetails showing the provides list? Investigate! + + FIX APT-PKG FETCHER PULSE INTERVAL [done: 0%] --- kdenonbeta/kdedebian/kapture/libcapture/pkgcache.h #1.23:1.24 @@ -181,5 +181,4 @@ namespace capture { /* }}} */ enum _PkgState { - // upgrade -> install | installed PkgInstall = 0x1, PkgUninstall = 0x2, --- kdenonbeta/kdedebian/kapture/libkapture/acqprogress.cpp #1.18:1.19 @@ -21,4 +21,5 @@ #include <apt-pkg/strutl.h> #include <apt-pkg/error.h> +#include <apt-pkg/configuration.h> // #include <apti18n.h> @@ -192,4 +193,5 @@ kapture::AcqStatus::AcqStatus(QWidget *p setColumnWidth (2, 100); setColumnWidth (3, 400); + setResizeMode (LastColumn); ID = 0; } @@ -216,4 +218,5 @@ void kapture::AcqStatus::Start() pkgAcquireStatus::Start(); cerr << "AcqStatus::Start ()" << endl; + _config -> Set ("APT::Fetcher::Select-Timeout-Usec", 100000); emit statusChanged (StWaiting); KApplication::kApplication () -> processEvents ();