Ignore files with Type==Daemon.
Fallback in using the id as the name in case of entries without a name.
setup(
name='drlaunch',
- version="0.5",
+ version="0.6",
description="DrLaunch",
author="Stefanos Harhalakis",
author_email="v13@v13.gr",
'icon': None,
'iconpath': None,
'domain': None,
+ 'type': None,
}
fn2=appdir + '/' + fn
elif line.startswith('X-Text-Domain='):
l=line[14:]
ret['domain']=l
+ elif line.startswith('Type='):
+ l=line[5:]
+ ret['type']=l
if ret['domain']!=None:
try:
ret['name0']=ret['name']
ret['name']=c.gettext(ret['name0'])
+ if ret['name']==None:
+ ret['name']=ret['id']
+
return(ret)
def readOne(name):
continue
if f.startswith('catorise-'):
continue
+
dt=readOneFn(f)
+
+ if dt==None:
+ continue
+ if dt['type']=='Daemon' or dt['type']=='daemon':
+ continue
+
t=f[:-8]
ret[t]=dt
import os
import pickle
-version = "0.5"
+version = "0.6"
try:
from glib import get_user_config_dir