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

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Mon Jun 22 22:15:40 EDT 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090622/dd48fb86/attachment.pgp 


More information about the Sugar-devel mailing list