[Aptitude-devel] Using views::download_progress

Piotr Galiszewski piotr at galiszewski.pl
Wed Jul 21 23:35:26 UTC 2010


Hello Daniel.

I am implementing package list. I tried to use
views::download_progress and views::download_progress and
controllers::acquire_download_progress. What is the proper way of
using it?
I wrote new download_progress which implements
views::download_progress. To start download I created
download_update_manager. download_signal_log and controller onject. In
commandline code there are only to more lines  m.prepare and
m.do_download(). Such code crashes for me with sigsegv in
pkgAcquire::Run(int). Probably I forgot about something important.
Other gui frontends use ui_download_manager instead of this
controller.

Could you give me an example how should it be used in gui code? Or
maybe it will be better to use old code?

-- 
Regards
Piotr Galiszewski



More information about the Aptitude-devel mailing list