summaryrefslogtreecommitdiffstats
path: root/superkaramba/examples/taskBar/cleanbar/cleanbar.py
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit6335dc55802871b5a43492f217b6edbb420204c4 (patch)
tree50c6c8672a52687568edea475614dfe3d98e62e5 /superkaramba/examples/taskBar/cleanbar/cleanbar.py
parent9b8c9f1f9e974ff0176108cfbd8852cd99ea68c8 (diff)
downloadtdeutils-6335dc55802871b5a43492f217b6edbb420204c4.tar.gz
tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/examples/taskBar/cleanbar/cleanbar.py')
-rw-r--r--superkaramba/examples/taskBar/cleanbar/cleanbar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/superkaramba/examples/taskBar/cleanbar/cleanbar.py b/superkaramba/examples/taskBar/cleanbar/cleanbar.py
index 40478c0..c0da2a2 100644
--- a/superkaramba/examples/taskBar/cleanbar/cleanbar.py
+++ b/superkaramba/examples/taskBar/cleanbar/cleanbar.py
@@ -43,9 +43,9 @@ i = 0
for x in output:
param = x.split()
if (len(param) > 1):
- if param[0].tqfind("Width:") != -1:
+ if param[0].find("Width:") != -1:
resX = int(param[1])
- if param[0].tqfind("Height:") != -1:
+ if param[0].find("Height:") != -1:
resY = int(param[1])