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?

Thanks,

        -Sean

--

Sean Dague                                       Mid-Hudson Valley
[email protected]                                   Linux Users Group
http://dague.net                                 http://mhvlug.org

--
Mailing list: https://launchpad.net/~unity-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~unity-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to