[prev in list] [next in list] [prev in thread] [next in thread]
List: klik-devel
Subject: [klik-devel] [klikclient commit] r959 -
From: codesite-noreply () google ! com
Date: 2008-01-29 22:51:12
Message-ID: 0016e649d3b80444e442e43cd110e5f8 () google ! com
[Download RAW message or body]
Author: KillerKiwi2005
Date: Tue Jan 29 14:50:56 2008
New Revision: 959
Modified:
trunk/client/trunk/klikclient/lib/klik/utils/xdg.py
Log:
Change kde detection to check for konsole
Modified: trunk/client/trunk/klikclient/lib/klik/utils/xdg.py
==============================================================================
--- trunk/client/trunk/klikclient/lib/klik/utils/xdg.py (original)
+++ trunk/client/trunk/klikclient/lib/klik/utils/xdg.py Tue Jan 29
14:50:56 2008
@@ -273,6 +273,12 @@
result = ["PYTHON"]
+ if len(Popen(["which", "gnome-about"], stdout=PIPE,
stderr=open(os.devnull, "w")).communicate()[0].strip().replace("\n", ", "))
> 0:
+ result.append("GNOME")
+
+ if len(Popen(["which", "konsole"], stdout=PIPE,
stderr=open(os.devnull, "w")).communicate()[0].strip().replace("\n", ", "))
> 0:
+ result.append("KDE")
+
if self.get_is_gtk_installed():
result.append("GTK")
@@ -282,8 +288,7 @@
if len(Popen(["ls","/usr/lib/libqt*.so.4"], shell=True, stdout=PIPE,
stderr=open(os.devnull, "w")).communicate()[0].strip()) > 0:
result.append("QT4")
- if len(Popen(["which", "gnome-about"], stdout=PIPE,
stderr=open(os.devnull, "w")).communicate()[0].strip().replace("\n", ", "))
> 0:
- result.append("GNOME")
+
if len(Popen(["which", "mono"], stdout=PIPE,
stderr=open(os.devnull, "w")).communicate()[0].strip().replace("\n", ", "))
> 0:
result.append("MONO")
_______________________________________________
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