From 7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 02:28:57 -0600 Subject: Additional kde to tde renaming --- ksysguard/ksysguardd/Linux/ProcessList.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksysguard/ksysguardd/Linux/ProcessList.c') diff --git a/ksysguard/ksysguardd/Linux/ProcessList.c b/ksysguard/ksysguardd/Linux/ProcessList.c index b267c7005..1eba1f6cc 100644 --- a/ksysguard/ksysguardd/Linux/ProcessList.c +++ b/ksysguard/ksysguardd/Linux/ProcessList.c @@ -40,7 +40,7 @@ #define BUFSIZE 1024 #define TAGSIZE 32 -#define KDEINITLEN strlen( "kdeinit: " ) +#define KDEINITLEN strlen( "tdeinit: " ) static CONTAINER ProcessList = 0; @@ -287,9 +287,9 @@ static int updateProcess( int pid ) if ( fclose( fd ) ) return -1; - /* Ugly hack to "fix" program name for kdeinit launched programs. */ - if ( strcmp( ps->name, "kdeinit" ) == 0 && - strncmp( ps->cmdline, "kdeinit: ", KDEINITLEN ) == 0 && + /* Ugly hack to "fix" program name for tdeinit launched programs. */ + if ( strcmp( ps->name, "tdeinit" ) == 0 && + strncmp( ps->cmdline, "tdeinit: ", KDEINITLEN ) == 0 && strcmp( ps->cmdline + KDEINITLEN, "Running..." ) != 0 ) { size_t len; char* end = strchr( ps->cmdline + KDEINITLEN, ' ' ); -- cgit v1.2.1