[tracker/pushplugin] Implemented miner_stop properly (squashme)



commit d778efd37696269c6037d58df6c4a26b0ca692c4
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Sep 23 12:17:15 2009 +0200

    Implemented miner_stop properly (squashme)

 src/plugins/evolution/tracker-evolution-plugin.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index 5d68a61..4cfe129 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -2268,12 +2268,8 @@ static void
 miner_stopped (TrackerMiner *miner)
 {
 	TrackerEvolutionPluginPrivate *priv = TRACKER_EVOLUTION_PLUGIN_GET_PRIVATE (miner);
-
-	g_object_set (miner,  "progress", 1.0,  "status", _("Idle"), NULL);
-
-	dbus_g_proxy_disconnect_signal (priv->dbus_proxy, "NameOwnerChanged",
-	                                G_CALLBACK (name_owner_changed_cb),
-	                                miner);
+	miner_paused (miner);
+	priv->paused = FALSE;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]