Fix orca.desktop + update launchers

parent 1a60cb53
......@@ -43,16 +43,13 @@ def add_to_handymenu(user, cmd, category):
lastId = max(app['id'], lastId)
if(app['name'] == category):
for launcher in app['apps']:
if(launcher['cmd'] == cmd['cmd']):
if(launcher['name'] == cmd['name']):
alreadyIn = True
launcher['cmd'] = cmd['cmd']
launcher['generic'] = cmd['generic']
launcher['icon'] = cmd['icon']
if(not alreadyIn):
app['apps'] += [cmd]
else:
print("The command '{cmd}' is already in {category} under the name : '{name}'".format(
cmd=cmd['cmd'],
category=category,
name=cmd['name']
))
found = True
if(not found):
......
[Desktop Entry]
Name=Orca
Name[fr]=Firefox
Name[fr]=Orca
GenericName[fr]=Lecteur d'écran
Exec=/usr/bin/orca -s -r
Icon=orca
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment