[Gajim-devel] Embedding Gajim

Yann Leboulanger asterix at lagaule.org
Tue Oct 7 22:31:27 CEST 2008

Phil Wilson wrote:
> Hi,
>>> Don't hesitate to ask more info
> OK then ;)
> As soon as I do something like:
> import gajim.idlequeue
> gajim.idlequeue = idlequeue.IdleQueue()
> then the atexit code gets registered like this:
> import atexit
> atexit.register(on_exit)
> but I don't want this to happen. Is there another way of importing the
> idlequeue or initialising it that doesn't trigger this event? Like I
> said before, Python is reasonably new to me and I'm not totally sure I
> understand the way packages and objects are referenced.

Indeed this code is automatically done when we import gajim. if you
remove those lines, everything works fine? If so we could move that in
our code.

> I was looking to build my code on top of gajim with no modifications -
> if that turns out to be impossible due to it being too closely tied to
> the interface I'll just write my own.

We're open to change our code so it's possible for you to use our code.


More information about the Gajim-devel mailing list