[tracker/gdbus: 83/101] tracker-control: on -rs, ensure the 1s wait between stop and start
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus: 83/101] tracker-control: on -rs, ensure the 1s wait between stop and start
- Date: Tue, 18 Jan 2011 08:53:12 +0000 (UTC)
commit d0319b277d6b22ba0f61cda5c4044ed22f4173f0
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Jan 12 16:25:52 2011 +0100
tracker-control: on -rs, ensure the 1s wait between stop and start
src/tracker-control/tracker-control.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-control/tracker-control.c b/src/tracker-control/tracker-control.c
index c3714bc..24b574a 100644
--- a/src/tracker-control/tracker-control.c
+++ b/src/tracker-control/tracker-control.c
@@ -511,9 +511,6 @@ main (int argc, char **argv)
TrackerMinerManager *manager;
GSList *miners, *l;
- manager = tracker_miner_manager_new ();
- miners = tracker_miner_manager_get_available (manager);
-
if (hard_reset || soft_reset) {
g_print ("%s\n", _("Waiting one second before starting minersâ?¦"));
@@ -523,6 +520,9 @@ main (int argc, char **argv)
g_print ("%s\n", _("Starting minersâ?¦"));
+ manager = tracker_miner_manager_new ();
+ miners = tracker_miner_manager_get_available (manager);
+
/* Get the status of all miners, this will start all
* miners not already running.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]