Roberto -MadBob- Guido | 1 Jan 2010 17:30
Picon
Gravatar

which STUN implementation?


Hi all.

I currently need to handle STUN [1] connections in some code I'm working
around (a GObject-oriented RSS and Atom feeds management library [2]),
and I was looking for some existing implementations of that
functionality.

I see that libpurple [3] has a stun.c easily isolable and importable in
my own project, but of course I would prefer to avoid code duplication.
On the other side, I would like to link only to Gnome libraries and
limit external dependencies.

Which would be the best choice? Which Gnome's library may be suggested
to be linked to have STUN support?

Thanks :-)

[1] http://en.wikipedia.org/wiki/Stun

[2]
http://barberaware.org/plugins/scmsvn/viewcvs.php/libgrss/?root=rss-miner

[3] http://developer.pidgin.im/wiki/WhatIsLibpurple

--

-- 
Roberto -MadBob- Guido
http://claimid.com/madbob
Tony Houghton | 1 Jan 2010 22:09
Picon

Re: Panel applet size allocation


On Tue, 29 Dec 2009 15:15:34 +0000
Tony Houghton <h <at> realh.co.uk> wrote:

> I'm trying to write a panel applet in python which scales itself to fit
> the size of the panel (the height for horizontal panels and the width
> for vertical ones). But I can't find a way to find the true size of the
> panel.

I've found out what was wrong, it's because the python binding for
panel_applet_set_flags() isn't Applet.set_flags() as expected, because
that would clash with a GObject method. Instead I should have used
Applet.set_applet_flags().

--

-- 
TH * http://www.realh.co.uk

Gmane