Re: Todays crazy libtinymail improvements



On Wed, 2006-05-03 at 14:49 +0200, Philip Van Hoof wrote:

> A side-effect is that "INBOX" is now renamed to "inbox". This is some
> camel thingy ;-). It can of course be renamed or uppercased ...

I just committed a new series of performance improvements and a little
fix in the TnyMsgView type. These performance improvements aren't going
to have such a large impact, but will make the "snappyness" of the
application better (click-speed).

The fix was resetting the GtkTextBuffer in stead of only resetting the
seek location to zero. This "rewrites" in stead of "overwrites" the text
data in the buffer. If your new e-mail was smaller than the previous
e-mail, and the buffer got reused (it does), then you could still see
part of the previous e-mail. Funny stupid little buggie ;-) caused by
trying to not allocate new objects (like textviews and textbuffers).

So .. if contributing to tinymail, always make sure you reset reused
instances correctly. And punish me if I don't do it.

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




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