Rename KIcon to enhance compatibility with KDE4

pull/2/head
Timothy Pearson 12 years ago
parent e287343235
commit 7814c5cc88

@ -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()

Loading…
Cancel
Save