Haxe wrote: > On Saturday 26 August 2006 00:01, Christian Biere wrote: > Ah, umm, the address is certainly not unknown, since I'm directly > uploading to it. But regarding the port, I see. Too bad.
What I meant is, if the downloader uses a proxy, its real address isn't known and connecting to the proxy would be pointless. > Is this always the case, or do some hosts tell us there listening port > when they request a file? I assume they don't tell the port if the downloader has partial file-sharing disabled or its listening port is blocked/disabled. > Maybe the browse host feature should only be visible in the context > menu for hosts that are actually browseable. Yes, maybe, but the problem with all context menus is that they apply to the complete selection - most of the time at least. So as soon as you select more than one item, differing becomes pointless. That is unless you want to see some detailed information to which items the current action can be applied. Another issue with Gtk+ is that selections have horrible performance and it's not possible to query whether there's nothing or *anything* selected. You always have to iterate through the complete selection even if some convienience functions try to hide this fact. What's worse is, the algorithm to traverse selections is sth like O(n^2). You can really see that when you try to select a few thousand items. I think the performance of the GTK+ 2.x front-end is bad enough as it is. An alternative could be showing an indication in the treeview itself whether the host might be browsable or not. -- Christian
pgpdGJ86Rm9vv.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
