Re: [Evolution-hackers] new calendar dialog in evolution

Umm thanks for letting me know, I was about to look into these very soon.

Who is coordinating this work?  This is the list for any coordination.

Anyway, maybe you should look at what's been done for the mail account editor, in em-account-editor.c, that is mostly based on a glade file, but the config instrumentation goes to the 'section' level, so you can add items to the end of existing sections, or add sections to pages or add pages.  I think that should be sufficient granularity.

It mostly just involves 'naming' widgets in the glade file, and not really doing any work.

Its a bit more complex in that case since the same code handles the druid which needs to reparent stuff, but that code is mostly isolated.

On Tue, 2004-10-12 at 13:38 -0600, David Trowbridge wrote:
I've been working on adding EPlugin hooks to the calendars in Evolution,
and have run into a bit of a conundrum regarding the "new calendar"

Right now, the new calendar dialog contains hard-coded (well, gladed)
widgets for the URI and refresh associated with http calendars (and
potentially other backends). The issue here is that when creating a new
calendar, it's unknown what fields plugins will want to add, based on
the type of the calendar. For example, if the source is http, the webcal
plugin will want to add a URI and refresh field. For the weather backend
I've been working on, it'll have location and refresh. Who knows what
other backends will need.

So far, the best idea is a two-stage dialog (if plugins want additional
information, they can pop up a second window), but this seems crummy.
Having the actual fields change based on the selected source seems even

So, I'm fishing for ideas. Any suggestions would be most welcome.

evolution-hackers maillist  -  evolution-hackers lists ximian com
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer

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