summaryrefslogtreecommitdiffstats
path: root/desktop-effects-kde
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-11 08:10:59 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-11 08:10:59 +0000
commit19f9c3f434e0648b1952102c819ebee45de6e1e3 (patch)
treee913a90912ca3f51fa0db0c048df3595f4b6f1d7 /desktop-effects-kde
downloaddesktop-effects-tde-19f9c3f434e0648b1952102c819ebee45de6e1e3.tar.gz
desktop-effects-tde-19f9c3f434e0648b1952102c819ebee45de6e1e3.zip
Added KDE3 version of Desktop Effects
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/desktop-effects-kde@1101884 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'desktop-effects-kde')
-rwxr-xr-xdesktop-effects-kde33
1 files changed, 33 insertions, 0 deletions
diff --git a/desktop-effects-kde b/desktop-effects-kde
new file mode 100755
index 0000000..145cca7
--- /dev/null
+++ b/desktop-effects-kde
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+# -*- coding: UTF-8 -*-
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+"""Desktop Effects for KDE
+
+Without arguments, immediately loads the Desktop Effects Configuration
+window.
+"""
+
+__copyright__ = "Copyright © 2007 Martin Böhm and the Kubuntu Team"
+__author__ = "Kubuntu Team <kubuntu-devel@lists.ubuntu.com>"
+import sys
+sys.path.append("/opt/kde3/share/pyshared")
+
+if sys.argv[0].endswith("kde3"):
+ from DesktopEffects.DesktopEffectsKDE import DesktopEffectsKDE as DesktopEffects
+else:
+ from DesktopEffects.DesktopEffectsKDE4 import DesktopEffectsKDE4 as DesktopEffects
+de = DesktopEffects()