[Aptitude-svn-commit] r3782 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Tue Aug 9 03:23:15 UTC 2005
Author: dburrows
Date: Tue Aug 9 03:23:12 2005
New Revision: 3782
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/download_list.cc
Log:
Hide the download list once it completes.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Aug 9 03:23:12 2005
@@ -1,5 +1,12 @@
2005-08-08 Daniel Burrows <dburrows at debian.org>
+ * src/download_list.cc:
+
+ *Do* destroy the download list when the download is complete, so
+ it disappears (it's safe: the only other way to destroy it is
+ from the 'q' handler, which can't trigger once the list is
+ destroyed).
+
* src/ui.cc:
Don't redundantly delete the preview tree; fixes a segfault.
Modified: branches/aptitude-0.3/aptitude/src/download_list.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/download_list.cc (original)
+++ branches/aptitude-0.3/aptitude/src/download_list.cc Tue Aug 9 03:23:12 2005
@@ -394,8 +394,8 @@
void download_list::Complete(download_manager &manager)
{
- // Really destroy ourselves.
- //vscreen_widget::destroy();
+ // Destroy ourselves.
+ destroy();
}
bool download_list::Pulse(pkgAcquire *Owner, download_manager &manager)
More information about the Aptitude-svn-commit
mailing list