diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kdedistutils.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py index ea79992..6b28b2b 100644 --- a/src/kdedistutils.py +++ b/src/kdedistutils.py @@ -692,7 +692,7 @@ class BuildKControlModule(Command): for line in fhandle.readlines(): parts = line.strip().split('=') try: - if parts[0]=="X-KDE-Library": + if parts[0]=="X-TDE-Library": libraryname = parts[1] elif parts[0]=="Exec": shellcmd = parts[1].split() @@ -701,7 +701,7 @@ class BuildKControlModule(Command): cmodulecategory = os.path.dirname(modulepath) else: cmodulecategory = "" - elif parts[0]=="X-KDE-FactoryName": + elif parts[0]=="X-TDE-FactoryName": factoryfunction = 'create_'+parts[1] except IndexError: pass @@ -711,9 +711,9 @@ class BuildKControlModule(Command): # Sanity check. if factoryfunction is None: - raise SystemExit, "Failed to find factory name (Was there a X-KDE-FactoryName entry in the desktop file?)" + raise SystemExit, "Failed to find factory name (Was there a X-TDE-FactoryName entry in the desktop file?)" if libraryname is None: - raise SystemExit, "Failed to find library name (Was there a X-KDE-Library entry in the desktop file?)" + raise SystemExit, "Failed to find library name (Was there a X-TDE-Library entry in the desktop file?)" if cmodulecategory is None: raise SystemExit, "Failed to find the kcontrol category name (Was there a Exec entry in the desktop file?)" @@ -1072,7 +1072,7 @@ class InstallKControlModule(Command): for line in fhandle.readlines(): parts = line.strip().split('=') try: - if parts[0]=="X-KDE-Library": + if parts[0]=="X-TDE-Library": libraryname = parts[1] elif parts[0]=="Exec": shellcmd = parts[1].split() @@ -1088,7 +1088,7 @@ class InstallKControlModule(Command): raise SystemExit, "Failed to find kcontrol desktop file: %s" % moduletuple[0] if libraryname is None: - raise SystemExit, "Failed to find library name (Was there a X-KDE-Library entry in the desktop file?)" + raise SystemExit, "Failed to find library name (Was there a X-TDE-Library entry in the desktop file?)" if cmodulecategory is None: raise SystemExit, "Failed to find the kcontrol category name (Was there a Exec entry in the desktop file?)" |