[tracker] Fixes GB#628872, tracker-control -t or -k shouldn't kill tracker-status-icon



commit fd278e359324ee0ae41974d3e9b7b3d92cd2fe79
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Sep 9 09:58:04 2010 +0100

    Fixes GB#628872, tracker-control -t or -k shouldn't kill tracker-status-icon

 src/tracker-control/tracker-control.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-control/tracker-control.c b/src/tracker-control/tracker-control.c
index f34084f..9292b45 100644
--- a/src/tracker-control/tracker-control.c
+++ b/src/tracker-control/tracker-control.c
@@ -341,7 +341,8 @@ main (int argc, char **argv)
 
 				if ((g_str_has_prefix (basename, "tracker") == TRUE ||
 				     g_str_has_prefix (basename, "lt-tracker") == TRUE) &&
-				    g_str_has_suffix (basename, "-control") == FALSE) {
+				    g_str_has_suffix (basename, "-control") == FALSE &&
+				    g_str_has_suffix (basename, "-status-icon") == FALSE) {
 					pid_t pid;
 
 					pid = atoi (l->data);



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