dom0/qvm-sync-appmenus: use qubes.GetAppmenus service

This commit is contained in:
Marek Marczykowski 2012-07-14 23:09:04 +02:00
parent 1c096ec65c
commit 1009b1a46d

View File

@ -62,7 +62,7 @@ def get_appmenus(xid):
raise QubesException("Line count limit exceeded")
else:
p = subprocess.Popen ([qrexec_client_path, '-d', str(xid),
'user:grep -H = /usr/share/applications/*.desktop'], stdout=subprocess.PIPE)
'user:QUBESRPC qubes.GetAppmenus dom0'], stdout=subprocess.PIPE)
while appmenus_line_count > 0:
line = p.stdout.readline(appmenus_line_size)
if line == "":