Hi Zucchi, I have have to look at x-uid-list. There is no other way I would be able to generate an email: uri to pass to evolution to get the message displayed on click.
If that target-type is internal, then give me something I can use. -Alex On Sat, 2004-10-30 at 02:59 +0800, Not Zed wrote: > On Fri, 2004-10-29 at 09:41 -0400, Alex Graveley wrote: > > Hi, > > > > So I've encountered the following issues when trying to support > > copy/paste and drag 'n drop linking of mails to Tomboy notes... > > > > Inside a Tomboy note I would like to show the subject, an icon > > representing its replied-to status, and any flags or labels. Clicking a > > linked mail should open it using the running evolution instance. > > > > Currently I can only support showing the subject and opening, and those > > are done only with gross hacks. To support the rest I would have to > > parse camel summaries directly. > > > > These are the main problems I see: > > > > * For email drops, there is no mapping between the x-uid-list uris and > > the uris that the mail component can open on the command line. So I > > have to read and parse evo's gconf email account info, and manually map > > the x-uid-list uris to accounts that I find, using mail backend-specific > > uri matching. > No, you shoudln't be using that type, it is an internal type. You > should only use the uri-list or message types. > > > * There is no status blob passed in drops, so I must parse the mime > > message directly to get the summary info (subject, sender, date, etc), > > and support mbox format parsing when multiple messages are dropped. And > > this still doesn't allow me to get at information like whether the > > message has been responded-to or flagged as important. > See above. > > * No way to reference attachments. They are just copied to a temp file. > > Not able to show an attachment in the mail message context I've seen it > > (no x-uid-list for attachments). > You have to parse the messages yourself if you want to look at the attachments. > > * No way to be notified of changes to linked mails, such as deletion, > > moving, replying, or flagging the existing email. > No idea what you're doing, but it doesn't sound like its something you > can do from an external application. > > > Also, it seems that none of the other components besides the mailer > > support command line URI schemes (via the handleURI component call), so > > there is no easy way for me to pop up the evolution dialogs for editing > > a task, a contact, or a calendar item. Or to have these objects > > displayed inside their respective components in a running evolution. > > > > -Alex > > > > _______________________________________________ > > evolution-hackers maillist - [EMAIL PROTECTED] > > http://lists.ximian.com/mailman/listinfo/evolution-hackers > -- > > Michael Zucchi <[EMAIL PROTECTED]> > "born to die, live to work, it's > all downhill from here" > Novell's Evolution and Free > Software Developer _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers
