tracker r2037 - in branches/indexer-split: . src/trackerd
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2037 - in branches/indexer-split: . src/trackerd
- Date: Fri, 8 Aug 2008 10:26:19 +0000 (UTC)
Author: mr
Date: Fri Aug 8 10:26:19 2008
New Revision: 2037
URL: http://svn.gnome.org/viewvc/tracker?rev=2037&view=rev
Log:
* src/trackerd/tracker-crawler.c: (process_func): Make sure we
pause the crawling too when the user manually pauses.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/trackerd/tracker-crawler.c
Modified: branches/indexer-split/src/trackerd/tracker-crawler.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-crawler.c (original)
+++ branches/indexer-split/src/trackerd/tracker-crawler.c Fri Aug 8 10:26:19 2008
@@ -32,6 +32,7 @@
#include "tracker-crawler.h"
#include "tracker-dbus.h"
#include "tracker-indexer-client.h"
+#include "tracker-main.h"
#include "tracker-monitor.h"
#include "tracker-marshal.h"
@@ -416,6 +417,11 @@
crawler = TRACKER_CRAWLER (data);
priv = crawler->private;
+ /* If manually paused, we hold off until unpaused */
+ if (tracker_get_is_paused_manually ()) {
+ return TRUE;
+ }
+
/* Crawler files */
file = g_queue_pop_head (priv->files);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]