I've been working on getting the browse host to sort (by descending file 
date/time).  I have some code that works, but there's a catch - if there's a 
large number of files, the sorting time required is non-trivial (no big 
surprise there).

Since not all users will care about this option, I've protected it with a 
gnet_property called "sort_browse_upload".  Ideally, if the user wants this 
option, he should enable it (and incur the extra processing time).

I can't properly test this code, as I'm having a problem getting it to 
compile.  Specifically, my new property is not yet defined in 
"gnet_property_priv.h", which would make it directly accessible from the 
file where my sort changes are (core/share.c).

>From what I can tell, that file is created by "autogen".  I have autogen 
installed on my machine, but I have no clue as to how to use it.

Could somebody provide the necessary syntax for autogen so that I can 
regenerate that particular file?  (I could potentially manually edit it, but 
I would rather not if there's a "proper" way of regenerating it).

A second (related) question:  I was attempting to add this property into the 
GUI, and found that the version of Glade on my machine (2.12.1-5) refuses to 
open the file "ui/gtk/gtk1/gtk-gnutella.glade", but it will open the 
corresponding file in the gtk2 directory.  Are different versions of Glade 
required for GTK1 vs GTK2?  Or is something else going on?

A final issue:  While testing this program, whenever I run "rescan" from the 
remote shell, I see MANY of the following warnings:

Assertion failure (inputevt.c:672) "!poll_ctx->dispatching"

Note that it does NOT generate these warning if I hit the "rescan" button in 
the GUI, only if I  use the "rescan" command from the shell.  I generally 
only use "rescan" from the shell on my headless box (where I've never seen 
this warning before), but headless is a different configuration, so this may 
or may not be a glitch from a recent change.

The configuration that generates these warnings:     0.96.4u, r12343, GTK1, 
linux i686

Lloyd Bryant



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to