unity scope: use directly nautilus instead of xdg-open for "show in directory"
This commit is contained in:
parent
c63e1c9167
commit
31cdde1b3c
@ -256,9 +256,7 @@ class RecollScope(Unity.AbstractScope):
|
||||
print("RecollScope: do_activate. id [%s] uri [%s]" % (id, result.uri),
|
||||
file=sys.stderr)
|
||||
if id == 'show':
|
||||
filename = result.uri
|
||||
dirname = os.path.dirname(filename)
|
||||
os.system("xdg-open '%s'" % str(dirname))
|
||||
os.system("nautilus '%s'" % str(result.uri))
|
||||
return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH,
|
||||
goto_uri=None)
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user