[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    patch: ksysguard and kdeinit
From:       Malte.Starostik () t-online ! de (Malte Starostik)
Date:       2001-02-02 9:04:57
[Download RAW message or body]

Hi,

I'd like to suggest the following patch for 
kdebase/ksysguard/ksysguardd/Linux to show "kdeinit: Running..." as "kdeinit" 
instead of "Running..." :)
Any objections?
-Malte

["ksysguardd-linux.diff" (text/x-c)]

Index: ProcessList.c
===================================================================
RCS file: /home/kde/kdebase/ksysguard/ksysguardd/Linux/ProcessList.c,v
retrieving revision 1.27
diff -u -r1.27 ProcessList.c
--- ProcessList.c	2001/01/06 14:29:02	1.27
+++ ProcessList.c	2001/02/02 09:02:34
@@ -305,7 +305,8 @@
 
 	/* Ugly hack to "fix" program name for kdeinit launched programs. */
 	if (strcmp(ps->name, "kdeinit") == 0 &&
-		strncmp(ps->cmdline, "kdeinit: ", KDEINITLEN) == 0)
+		strncmp(ps->cmdline, "kdeinit: ", KDEINITLEN) == 0 &&
+		strcmp(ps->cmdline + KDEINITLEN, "Running...") != 0)
 	{
 		size_t len;
 		char* end = strchr(ps->cmdline + KDEINITLEN, ' ');

>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic