On 05/10/2012 02:29 AM, Sean Dague wrote:
On 05/07/2012 03:56 AM, Mikkel Kamstrup Erlandsen wrote:
This is definitely possible. You need to connect to the "activate-uri"
signal on your Unity.Scope object
(http://developer.ubuntu.com/api/ubuntu-12.04/python/Unity-5.0.html#Unity.Scope).
Then do what you must with the passed in URI and return
Unity.ActivationResponse.new (Unity.HandledType.HIDE_DASH, uri).
You can check unity-lens-bliss, which does something similar except it
uses SHOW_DASH, to create a browsing experience in the dash, where you
can browse into app categories. See
http://bazaar.launchpad.net/~unity-team/unity-lens-bliss/trunk/view/head:/bliss/apps.py#L91
Perfect, just what I needed.
I've got another question now, is there any infrastructure in place in
Unity to help in surfacing commonly selected items to the top? So if
through my pidgin lens I select the same person over and over again,
they always float to the top? or am I going to need to handle that myself?
There is nothing built into Unity to support this. What's used by both
the files- and apps lenses is Zeitgeist.
Cheers,
Mikkel
--
Mailing list: https://launchpad.net/~unity-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~unity-dev
More help : https://help.launchpad.net/ListHelp