[sugar] Distribute activity
Benjamin M. Schwartz
bmschwar
Tue Feb 19 11:23:05 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tomeu Vizoso wrote:
| On Mon, 2008-02-18 at 22:37 -0500, Benjamin M. Schwartz wrote:
|> In light of the many requests for a way to distribute arbitrary Journal
entries,
|> I am writing an activity tentatively named "Distribute". This activity is
|> little more than the HTTP server code from the Read activity, made more
generic.
|
| Cool.
|
|> Distribute should be able to open _all_ journal entries. Therefore, I
would
|> like to associate it with all mime types. How can I do this, with
activity.info
|> or mimetypes.xml?
|
| What do you mean by "open"? You want Distribute to appear as an activity
| able to start with all journal entries?
Right.
| I don't see a way of doing this
| without hacking the journal (could be a simple hack, though).
|
| Another possibility would be for the user to start Distribute as a blank
| activity, and then choose the object to share with the ObjectChooser
| component.
Isn't the ObjectChooser also supposed to be filtered by mime type?
|
| Some other people were interested in working on something similar (me
| included), should we try to join our efforts? I remember SJ, Mako,
| Michael, Scott and Chris showed interest at some point.
I'm happy to work with others on this. Currently, my code is quite
literally Read, without Evince. I cannot test it, because all the jabber
servers are down and I'm missing one of my XOs, but I suspect it does not
yet work.
Ultimately, this is supposed to be a quick hack, to be replaced in future
versions by distribution functionality built into Sugar. That makes
design decisions (like ObjectChooser vs. launch from Journal) even more
difficult, since the "right" answer may not be the best choice.
- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHuwJpUJT6e6HFtqQRAuiFAJ9Ui1GMSw7elBxRMOWU3qR92jAA1QCcDENh
GeS7anGyxGo1fqAQboC3fKc=
=Fo0D
-----END PGP SIGNATURE-----
More information about the Sugar-devel
mailing list