summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:00:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:00:43 -0600
commit7814c5cc88c0c4aed5f20b65e15a2e3e6ffd8503 (patch)
tree8209f90a1f3aebe1c5f69a248426b0cd97f342b0
parente28734323581341d9699808b5ff5c50ac2000335 (diff)
downloaddesktop-effects-tde-7814c5cc88c0c4aed5f20b65e15a2e3e6ffd8503.tar.gz
desktop-effects-tde-7814c5cc88c0c4aed5f20b65e15a2e3e6ffd8503.zip
Rename KIcon to enhance compatibility with KDE4
-rwxr-xr-xDesktopEffects/DesktopEffectsKDE.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/DesktopEffects/DesktopEffectsKDE.py b/DesktopEffects/DesktopEffectsKDE.py
index cc45b07..1a42fb3 100755
--- a/DesktopEffects/DesktopEffectsKDE.py
+++ b/DesktopEffects/DesktopEffectsKDE.py
@@ -73,12 +73,12 @@ class DesktopEffectsKDE(DesktopEffectsDialog, DesktopEffectsCommon):
# Apply
self.applyButton.setText(__("tdelibs","&Apply"))
self.applyButton.setIconSet(TDEGlobal.iconLoader().loadIconSet("apply",
- KIcon.NoGroup, KIcon.SizeSmall))
+ TDEIcon.NoGroup, TDEIcon.SizeSmall))
# Close
self.cancelButton.setText(__("tdelibs","&Cancel"))
self.cancelButton.setIconSet(TDEGlobal.iconLoader().loadIconSet("cancel",
- KIcon.NoGroup, KIcon.SizeSmall))
+ TDEIcon.NoGroup, TDEIcon.SizeSmall))
# check the state
self.check()
@@ -98,7 +98,7 @@ class DesktopEffectsKDE(DesktopEffectsDialog, DesktopEffectsCommon):
self.warningText.show()
self.warningIcon.show()
self.packageText.setText(_("The Compiz engine is installed in your system."))
- self.installButton.setIconSet(TDEGlobal.iconLoader().loadIconSet("remove",KIcon.NoGroup,KIcon.SizeSmall))
+ self.installButton.setIconSet(TDEGlobal.iconLoader().loadIconSet("remove",TDEIcon.NoGroup,TDEIcon.SizeSmall))
# remove, not install
self.rm = True
else:
@@ -110,7 +110,7 @@ class DesktopEffectsKDE(DesktopEffectsDialog, DesktopEffectsCommon):
# install, not remove
self.rm = False
#self.effectsBox.setDisabled(True)
- self.installButton.setIconSet(TDEGlobal.iconLoader().loadIconSet("add",KIcon.NoGroup,KIcon.SizeSmall))
+ self.installButton.setIconSet(TDEGlobal.iconLoader().loadIconSet("add",TDEIcon.NoGroup,TDEIcon.SizeSmall))
def checkInstalled(self):
progress = OpProgress()