[Aptitude-svn-commit] r4254 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Sun Sep 25 17:18:08 UTC 2005
Author: dburrows
Date: Sun Sep 25 17:18:05 2005
New Revision: 4254
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/ui.cc
Log:
Don't drop the first signal from the resolver on the floor; always try
to search for a solution when a new resolver is created.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sun Sep 25 17:18:05 2005
@@ -1,5 +1,11 @@
2005-09-25 Daniel Burrows <dburrows at debian.org>
+ * src/ui.cc:
+
+ Try to start a background solution calculation when connecting
+ up the signal (it's possible that we missed a signal that gets
+ emitted when the resolver is created).
+
* src/cmdline/cmdline_upgrade.cc:
When we have to abort an upgrade, display any broken packages
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 Sun Sep 25 17:18:05 2005
@@ -1531,6 +1531,8 @@
static void do_connect_resolver_callback()
{
resman->state_changed.connect(sigc::ptr_fun(&start_solution_calculation));
+ // We may have missed a signal before making the connection:
+ start_solution_calculation();
resman->state_changed.connect(sigc::ptr_fun(&vscreen_update));
}
More information about the Aptitude-svn-commit
mailing list