|
|
|
@ -2106,11 +2106,11 @@ def FindExeOnPath(exe_name,high_prio_dirs=None,low_prio_dirs=None):
|
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
|
|
def ask_kde_config(question):
|
|
|
|
|
# Look for the kde-config program
|
|
|
|
|
kdeconfig = find_executable("kde-config", os.environ['PATH'] + os.pathsep + \
|
|
|
|
|
# Look for the tde-config program
|
|
|
|
|
kdeconfig = find_executable("tde-config", os.environ['PATH'] + os.pathsep + \
|
|
|
|
|
os.pathsep.join(['/bin','/usr/bin','/opt/trinity/bin','/opt/kde/bin','/usr/local/bin']))
|
|
|
|
|
if kdeconfig!=None:
|
|
|
|
|
# Ask the kde-config program for the
|
|
|
|
|
# Ask the tde-config program for the
|
|
|
|
|
fhandle = os.popen(kdeconfig+' ' + question,'r')
|
|
|
|
|
result = fhandle.read()
|
|
|
|
|
fhandle.close()
|
|
|
|
|