Rename DesktopEffectsKDE => DesktopEffectsTDE

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 5 years ago
parent cc9252cf8c
commit 6d18930592
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -42,15 +42,15 @@ def utf8(str):
return str return str
return unicode(str, 'UTF-8') return unicode(str, 'UTF-8')
class DesktopEffectsKDE(DesktopEffectsDialog, DesktopEffectsCommon): class DesktopEffectsTDE(DesktopEffectsDialog, DesktopEffectsCommon):
def __init__(self): def __init__(self):
'''launches the app, draws the window ''' '''launches the app, draws the window '''
app = TDEApplication (sys.argv, "gd-test") app = TDEApplication (sys.argv, "gd-test")
DesktopEffectsCommon.__init__(self) DesktopEffectsCommon.__init__(self)
DesktopEffectsDialog.__init__(self) DesktopEffectsDialog.__init__(self)
# bind the locale # bind the locale
localesApp="desktop-effects" localesApp="desktop-effects-tde"
localesDir="/opt/trinity/share/locale" localesDir="/opt/trinity/share/locale"
gettext.bindtextdomain(localesApp, localesDir) gettext.bindtextdomain(localesApp, localesDir)
gettext.textdomain(localesApp) gettext.textdomain(localesApp)

@ -27,5 +27,5 @@ import sys
sys.path.append("/opt/trinity/share/pyshared") sys.path.append("/opt/trinity/share/pyshared")
if sys.argv[0].endswith("tde"): if sys.argv[0].endswith("tde"):
from DesktopEffects.DesktopEffectsKDE import DesktopEffectsKDE as DesktopEffects from DesktopEffects.DesktopEffectsTDE import DesktopEffectsTDE as DesktopEffects
de = DesktopEffects() de = DesktopEffects()

Loading…
Cancel
Save