[Sugar-devel] Getting the dbus name from activity.info

Lucian Branescu lucian.branescu at gmail.com
Tue Jun 23 10:28:14 EDT 2009


Heh, thanks. I was using a function that read activity.info and
returned the bundle_id. Silly me :)

2009/6/23 Benjamin M. Schwartz <bmschwar at fas.harvard.edu>:
> Benjamin M. Schwartz wrote:
>> Is there some easy sugar library call to get the dbus name specified in
>> activity.info?
>
> Oh, the perils of asking the list.
>
> The answer is: the Activity class already provides a self.get_bundle_id()
> method that returns the dbus name as a string.  Problem solved.
>
> --Ben
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


More information about the Sugar-devel mailing list