Introducing: JanaGtkEventList

Another libjana-related blog post… I’ve just finished a bit of work on the event-list widget. Most importantly, I just added a utility in libjana that generates a list of all the durations an event has, split across days (theoretically taking into account recurrences and exceptions, but that’s unimplemented at the moment). Adding support into JanaGtkEventStore was a bit tedious, but now the event viewing widgets can easily show and edit recurring/multiple-day events without any of the nasty special-casing that happens in Dates currently. It’s now very easy to write a nice-looking event-list in approximately 50 lines of C code 🙂 (give or take..) Screenshot:

Screenshot of JanaGtkEventList example

As ever, source is available from subversion: http://svn.o-hand.com/repos/dates/branches/jana/ [view]

Barry White – You See the Trouble With Me
]]>

Leave a Reply

Your email address will not be published. Required fields are marked *