xfce rc & python

Danny Milosavljevic danny.milosavljevic at liwest.at
Sat Mar 25 20:30:49 CET 2006


Hi,

Am Samstag, den 25.03.2006, 19:56 +0100 schrieb Benedikt Meurer:
> Danny Milosavljevic wrote:
> > Really? The problem I have is how to get the garbage collector call
> > xfce_rc_close (_and_ xfce_rc_close has the side effect of saving). This
> > is going to hurt...
> 
> Just add an explicit close() function to the python bindings and
> invalidate the python object afterwards (i.e. make all calls fail).
> 
> > But I guess pyxfce plugins could just save to ini files instead,
> > However, then two different file formats would be in use
> > in .config/xfce4/panel/ . Hmmm...
> 
> xfce-rc does a bit more than just parsing ini files (that could be done
> in 100-200 lines). 

Right. It abstracts the actual storage away (O_o) and provides for i18n.
So I shall try to support it properly ....

> Plain ini files should do the job for pyxfce panel
> plugins, tho.

... or use that :)

Thanks

cheers,
  Danny





More information about the Xfce4-dev mailing list