[Aptitude-svn-commit] r4338 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Thu Sep 29 22:54:28 UTC 2005
Author: dburrows
Date: Thu Sep 29 22:54:26 2005
New Revision: 4338
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Implement ui_stop_download (whoops)
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Sep 29 22:54:26 2005
@@ -1,5 +1,9 @@
2005-09-29 Daniel Burrows <dburrows at debian.org>
+ * src/ui.cc:
+
+ Implement ui_stop_download.
+
* po/POTFILES.in, src/Makefile.am, src/ui.cc, src/ui.h, src/ui_download_manager.cc, src/ui_download_manager.h:
Split the wrapper class into another file. Added some public UI
Modified: branches/aptitude-0.3/aptitude/src/ui.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/ui.cc (original)
+++ branches/aptitude-0.3/aptitude/src/ui.cc Thu Sep 29 22:54:26 2005
@@ -198,6 +198,14 @@
active_preview->destroy();
}
+void ui_stop_download()
+{
+ active_download = false;
+
+ if(apt_ache_file != NULL)
+ (*apt_cache_file)->set_read_only(false);
+}
+
static fragment *apt_error_fragment()
{
vector<fragment *> frags;
More information about the Aptitude-svn-commit
mailing list