Re: EggRecent breakage



Yo Ross,

What is this cunning applet you speak of?

-Alex

On Tue, 2004-11-23 at 11:02 +0000, Ross Burton wrote:
> Hi,
> 
> At the beginning of the month I committed a patch to EggRecent (with
> snorp's approval) which added a <Count> element to the file, and
> incremented this value every time the same URI was added.  This allowed
> the recent files list to be sorted on most- or least-frequently used,
> instead of recently.
> 
> However, it turns out that applications using a version off EggRecent
> before this commit not only trash the <Count> element (expected
> behaviour of course), but also spew errors to stderr when it finds the
> <Count> elements:
> 
> ** (eog:7503): CRITICAL **: file egg-recent-model.c: line 328 (peek_state): assertion `info->states != NULL' failed
> 
> ** (eog:7503): CRITICAL **: file egg-recent-model.c: line 320 (pop_state): assertion `info->states != NULL' failed
> 
> Ignoring the fact that the <Count> element is not in the specification
> (I honestly can't remember what James said about this, but I think it
> was along the lines of "only egg and OO.o use the spec, so we can it
> shortly"), should I:
> 
> a) revert the changes to libegg, removing the <Count> element, and
>    ruining my cunning applet, or
> b) start a mass update of libegg in the core modules
> 
> Obviously the EggRecent parser should be made more lenient no matter
> what choice is taken.
> 
> Ross
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list




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