From: Paul C. <pw...@an...> - 2000-05-19 05:58:16
|
This patch (against the current CVS tree) implements a "passive search" feature. That is, we grab every query result we see. This is based on the same feature in one of the Java clones, furi. In the patch, it defaults to being on. Set the variable search_passive in search.c to FALSE and recompile to turn it off. As is, it works. You can select and download files it catches, and sort in the same manner as the regular searches. I didn't update the streaming feature for it, so that won't work yet. However, (and this is a big however), no other features are implemented. Such IMO necessary features include: filters, clearing the list, the ability to turn it off, and a functional pop-up menu. Also, it should probably be on its own page, but I was unable to bend glade to my will. :( If this is done, then the button stuff will probably need to be redone. You also will not be able to turn off automatic searching in the passive search pane once you've started sorting. WRT the gtk stuff in general, if you think there's a better way to do it, there probably is. It's set up so that just a config entry and checkbox need to be made to turn it off; setting the variable to FALSE by hand works. I'm graduating this weekend, so I'm not going to be able to do much with it for a while, so I'm throwing it out there. As usual, the line numbers will be wrong. In this patch is also a diff for src/Makefile.in and extern.tcl which reruns extern.tcl whenever the gtk-gnutella.glade file changes. The Makefile.in changes have only actually been tested when put directly into Makefile, but "That shouldn't matter." -- Paul Cassella :: Doctor Who: He's back, and it's About Time. for...@cm... :: http://www.contrib.andrew.cmu.edu/~pwc |