tracker r2997 - trunk/src/tracker-applet



Author: mbiebl
Date: Mon Mar  2 21:28:50 2009
New Revision: 2997
URL: http://svn.gnome.org/viewvc/tracker?rev=2997&view=rev

Log:
When restarting trackerd from within the tracker-applet context menu, use the
correct path to the binary (which is in libexecdir nowadays). Fixes bgo#571328


Modified:
   trunk/src/tracker-applet/Makefile.am
   trunk/src/tracker-applet/tracker-applet.c

Modified: trunk/src/tracker-applet/Makefile.am
==============================================================================
--- trunk/src/tracker-applet/Makefile.am	(original)
+++ trunk/src/tracker-applet/Makefile.am	Mon Mar  2 21:28:50 2009
@@ -3,6 +3,7 @@
 INCLUDES =								\
 	-DSHAREDIR=\""$(datadir)"\"					\
 	-DLOCALEDIR=\""$(localedir)"\" 					\
+	-DTRACKER_LIBEXECDIR=\""$(libexecdir)"\" 			\
 	-DTRACKER_COMPILATION						\
 	-I$(top_srcdir)/src						\
 	$(WARN_CFLAGS)							\

Modified: trunk/src/tracker-applet/tracker-applet.c
==============================================================================
--- trunk/src/tracker-applet/tracker-applet.c	(original)
+++ trunk/src/tracker-applet/tracker-applet.c	Mon Mar  2 21:28:50 2009
@@ -1800,7 +1800,9 @@
 
 		if (priv->reindex) {
 			GError *error = NULL;
-			const gchar *command = "trackerd";
+			const gchar *command;
+
+			command = g_build_filename (TRACKER_LIBEXECDIR, "trackerd", NULL);
 
 			priv->reindex = FALSE;
 



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