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

List:       klik-devel
Subject:    [klik-devel] [klikclient commit] r1429 -
From:       codesite-noreply () google ! com
Date:       2008-03-24 0:55:53
Message-ID: 0016e64135bc0449244c3a4e17de2b87 () google ! com
[Download RAW message or body]

Author: KillerKiwi2005
Date: Sun Mar 23 17:55:02 2008
New Revision: 1429

Modified:
   trunk/client/trunk/klikclient/lib/klik/execute.py

Log:
Check for start_kdeinit_wrapper as well as start_kdeinit

Modified: trunk/client/trunk/klikclient/lib/klik/execute.py
==============================================================================
--- trunk/client/trunk/klikclient/lib/klik/execute.py	(original)
+++ trunk/client/trunk/klikclient/lib/klik/execute.py	Sun Mar 23 
17:55:02 2008
@@ -182,9 +182,14 @@
 		# KDE - kdeinit
 		# if starting a kde app make sure kdeinit is running first
 		if "KDE" in cmg.recipe.needs and self.klik.xdg.get_desktop_enviroment != "KDE":
+			
+			if Popen(["start_kdeinit_wrapper", command], stdout=PIPE, stderr=open(os.devnull, \
"w")).communicate()[0].strip(): +				if not Popen(["pidof", "-x", "kdeinit"], \
stdout=PIPE, stderr=open(os.devnull, "w")).communicate()[0].strip(): \
+					call(["start_kdeinit_wrapper"]) +					
 			if not Popen(["pidof", "-x", "kdeinit"], stdout=PIPE, stderr=open(os.devnull, \
"w")).communicate()[0].strip():  call(["start_kdeinit"])
-
+			
 		# HACKS END HERE - we need to remove these if at all possible !!!

 		return command
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel


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

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