[Bug 306006] Re: service-discovery-applet shows redundant services when multiple NICs active
Noel J. Bergman
noel at devtech.com
Sun Dec 7 16:50:51 UTC 2008
Looking at the code, and I am neither a python expert nor a gtk expert,
it appears that a suitable change can be made around line 320 in
service-discovery-applet.
The code there is:
menuitem = gtk.MenuItem(name, False)
self.zc_types[type].add(menuitem)
self.zc_services[(interface, protocol, name, type, domain)] = menuitem
menuitem.connect("activate", self.menuitem_response,interface, protocol, name, type, domain)
menuitem.show_all()
When we actually connect to a service, the code is:
self.plugin.plugins[type][0].connect(self.use_host_names, name,
type, host, address, port, txts)
with no use of the interface.
It seems to me that we should either modify the menu building code to
filter out duplicates, or else put the interface name in the menu if
someone thinks it will be significant (which it clearly is not at this
time).
--
service-discovery-applet shows redundant services when multiple NICs active
https://bugs.launchpad.net/bugs/306006
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list