[sugar] Journal Object metadata

Benjamin M. Schwartz bmschwar
Sat Mar 1 00:44:09 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have read all the documents I could find, and also the Sugar source, and
I am still confused:

How can an activity get an object representing all the metadata for its
current datastore object?

I ask because I am writing a trivial "Distribute" Activity, whose purpose
is to copy journal entries from one XO to another by sharing.  This is
working, but since the copy does not have any metadata, like MIME type, it
cannot be opened from the Journal interface by any Activity except
Distribute, which created it.

Ideally, I would like to acquire the metadata as a dbus object, so that I
may simply shove it over a DBus Tube and then pass it on to the receiver's
datastore.

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHyO0pUJT6e6HFtqQRAvGlAJwNet7Wqhmr3b0iA32+LVO+e9KvxACghqLk
/zCSYJHaIC9CHjt9lHrC1EA=
=I3im
-----END PGP SIGNATURE-----



More information about the Sugar-devel mailing list