File 0002-Don-t-tell-apperd-to-watch-a-transaction-when-it-s-j.patch of Package apper

From 7fb3d6dff1705e9a49953e775cadcf22c5bd2699 Mon Sep 17 00:00:00 2001
From: Daniel Nicoletti <dantti12@gmail.com>
Date: Wed, 9 Jan 2013 12:49:29 -0200
Subject: [PATCH 02/14] Don't tell apperd to watch a transaction when it's just
 simulating

---
 libapper/PkTransaction.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libapper/PkTransaction.cpp b/libapper/PkTransaction.cpp
index c81f8bf..9ab949b 100644
--- a/libapper/PkTransaction.cpp
+++ b/libapper/PkTransaction.cpp
@@ -395,7 +395,7 @@ void PkTransaction::slotChanged()
     }
 
     QDBusObjectPath _tid = tid();
-    if (d->tid != _tid) {
+    if (d->tid != _tid && !(d->flags & Transaction::TransactionFlagSimulate)) {
         // if the transaction changed and
         // the user wants the watcher send the tid
         QDBusMessage message;
-- 
1.8.1

openSUSE Build Service is sponsored by