Hmm, it would probably need a new hook type for drag and drop hooks.
eplugin events are really only for one-way notification, although perhaps it could be tweaked a little bit to provide a cascading processing train. But the way dnd works you first have to register the type's you're going to receive, on the specific widget, so you can't really run that from an event processor anyway.
It wouldn't be a huge amount of work, but it wouldn't be trivial either, a day or two of coding I'd guess.
On Fri, 2005-04-01 at 09:53 -0800, Ray Lee wrote:
Hey all, I read through (what I believe to be) the current EPlugin docs at http://www.gnome.org/projects/evolution/developer-doc/eplugin/ , and couldn't find mention of this anywhere. The itch I was thinking of scratching was handling the receiving side of a drag'n'drop from Epiphany or whatnot. I follow a few very high-volume email lists from the web, and replying to those messages is a pain (at least if I want to be a nice guy and keep the CC lists and headers for threading). Dragging from an mbox-formatted URL such as: http://lkml.org/lkml/mbox/2005/4/1/160 into a folder would be handy, though would likely appeal to a quite small target audience :-/. Presumably it could do whatever the automatic importer does, and react appropriately on a vcard, or pop up a new message composer on a raw text chunk or a file attachment. If the event isn't there, and may be a bit of a hassle to add, don't sweat it. What I'm doing really isn't that much work, my available time to work on this is spotty right now, and I really should just bite the bullet and subscribe to the dreaded gig-a-year mail list. It's just a thought. (Heck, allowing full URLs in the import would be almost as good.) Thanks for providing one of my life-blood apps for my day-to-day work. Ray _______________________________________________ evolution-hackers maillist - [email protected] http://lists.ximian.com/mailman/listinfo/evolution-hackers
