Unity lens: small unity 5.0 fix
This commit is contained in:
parent
aa19a9f5b9
commit
ba65253f8d
@ -210,9 +210,10 @@ class Scope (Unity.Scope):
|
|||||||
# Pass all uri without fragments to the desktop handler
|
# Pass all uri without fragments to the desktop handler
|
||||||
if uri.find("#") == -1:
|
if uri.find("#") == -1:
|
||||||
# Reset browsing state when an app is launched
|
# Reset browsing state when an app is launched
|
||||||
self.reset ()
|
if Unity._version == "4.0":
|
||||||
|
self.reset ()
|
||||||
return Unity.ActivationResponse.new(Unity.HandledType.NOT_HANDLED,
|
return Unity.ActivationResponse.new(Unity.HandledType.NOT_HANDLED,
|
||||||
uri)
|
uri)
|
||||||
|
|
||||||
# Pass all others to recoll
|
# Pass all others to recoll
|
||||||
proc = subprocess.Popen(["recoll", uri])
|
proc = subprocess.Popen(["recoll", uri])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user