Re: [evolution-patches] new new button



On Fri, 2004-04-09 at 12:10 -0400, Dan Winship wrote:
On Thu, 2004-04-08 at 22:57, Not Zed wrote:
> Can we have a callback data that maps to the view?  This will give us
> context so we can do things like "new folder" and set the parent
> folder to the current folder (or group for calendars/contacts), since
> the component itself isn't any use in determining this (if you have
> multiple windows open).

Hm... Well, currently it uses the CORBA requestCreateItem call even for
creating your own items. You could change it to just emit a signal
instead in that case, and then you can hook up to it however you want
to.
But the problem is currently it goes on the mail component.  So if you emit a signal for this you'll get the one request mapped into a signal emission for each  opened view, which isn't really what you want.

(although maybe i misread where it should go, or where it can go, or what you meant by 'currently').


Michael Zucchi <notzed ximian com>

Ximian Evolution Software Developer


Novell, Inc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]