aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-14 08:12:47 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-14 03:35:10 +0100
commite74c433847e7f731ab536845f0b9a5cb4761d17e (patch)
tree040237dce87afa91c8086b0197b3ff0e2fd89ef5
parentb03992195e908054f1815f23452dfd4f910468cd (diff)
downloadpaludis-e74c433847e7f731ab536845f0b9a5cb4761d17e.tar.gz
paludis-e74c433847e7f731ab536845f0b9a5cb4761d17e.tar.xz
Trigger DepList notifier callbacks
-rw-r--r--paludis/dep_list.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/dep_list.cc b/paludis/dep_list.cc
index 170f8e0..22cc741 100644
--- a/paludis/dep_list.cc
+++ b/paludis/dep_list.cc
@@ -39,6 +39,7 @@
#include <paludis/filtered_generator.hh>
#include <paludis/choice.hh>
#include <paludis/package_dep_spec_properties.hh>
+#include <paludis/notifier_callback.hh>
#include <paludis/util/join.hh>
#include <paludis/util/log.hh>
@@ -1086,6 +1087,7 @@ DepList::add_package(const std::tr1::shared_ptr<const PackageID> & p, const std:
const PackageDepSpec & pds, const std::tr1::shared_ptr<const DestinationsSet> & destinations)
{
Context context("When adding package '" + stringify(*p) + "':");
+ _imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
Save<MergeList::iterator> save_merge_list_insert_position(&_imp->merge_list_insert_position);
@@ -1364,6 +1366,7 @@ DepList::add_already_installed_package(const std::tr1::shared_ptr<const PackageI
const PackageDepSpec & pds, const std::tr1::shared_ptr<const DestinationsSet> & destinations)
{
Context context("When adding installed package '" + stringify(*p) + "':");
+ _imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
Save<MergeList::iterator> save_merge_list_insert_position(&_imp->merge_list_insert_position);