[avahi] pygtk

Sebastien Estienne sebastien.estienne at gmail.com
Fri Aug 5 10:54:29 EST 2005


2005/8/5, Sebastien Estienne <sebastien.estienne at gmail.com>:
> 2005/8/4, Lennart Poettering <lennart at poettering.de>:
> >
> > BTW, I have another suggestion for you how to improve
> > avahi-discover. Add another tree level for the network a service is
> > found on, and drop the column showing this instead. An example:
> >
> > + Interface eth0 (IPv4)
> >   + Domain .local
> >     + Service Type _http._tcp
> >       + Web Service #1
> >       + Blah Blubb
> >     + Type _ftp._tcp
> >       + My FTP Server
> >   + Domain .home
> >     + Service Type _presence._tcp
> >       + Lieschen Müller
> >       + Peter Panther
> > + Interface wlan0 (IPv4)
> >   + Domain .local
> >     + Service Type _http._tcp
> >       + Miau
> > + Interface wlan0 (IPv6)
> >   + Domain .local
> >     + Service Type _gurki._tcp
> >       + Brrrumm!
> >
> check the last commit, i tryed to do this
> 
> > And expanding the entries in the tree view by default would be cool,
> > too.
> didn't find yet how to do this, it's still on my todo list.
i did it like this:
when a new service is found, i do:
self.tree_view.expand_to_path(self.treemodel.get_path(treeiter))

there may be a better way to do it...
> 
> --
> Sebastien Estienne
> 


-- 
Sebastien Estienne


More information about the avahi mailing list