Re: Patch to avoid history duplicates applied

2003-02-21 Thread Andrew V. Samoilov
Pavel Roskin wrote: Hello! I have applied a patch to avoid duplicates in the history. Unlike the patch posted on Savannah, it affects both the input widgets and the directory history. As a side effect, the lists used for history were converted to GList (double linked list from glib). Also,

Re: Patch to avoid history duplicates applied

2003-02-21 Thread Pavel Roskin
Hello! * utilunix.c (destroy_groups): Use g_tree_foreach() instead of obsolete g_tree_traverse(). glib-1.2 has no g_tree_foreach() function, so some more checks are needed. Reverted. Thank you! It looks like we need a configure option to select glib version. It existed

Patch to avoid history duplicates applied

2003-02-18 Thread Pavel Roskin
Hello! I have applied a patch to avoid duplicates in the history. Unlike the patch posted on Savannah, it affects both the input widgets and the directory history. As a side effect, the lists used for history were converted to GList (double linked list from glib). Also, Alt-O writes the

Re: Patch to avoid history duplicates applied

2003-02-18 Thread Adam Byrtek / alpha
On Tue, Feb 18, 2003 at 03:29:04AM -0500, Pavel Roskin wrote: As a side effect, the lists used for history were converted to GList (double linked list from glib). Also, Alt-O writes the directory history now. And Alt-P in the command line doesn't work now :) It shows not the last command,

Re: Patch to avoid history duplicates applied

2003-02-18 Thread Pavel Roskin
Hello! And Alt-P in the command line doesn't work now :) It shows not the last command, but the previous one. Alt-H works fine. It has to be some simple mistake. Yes, it was a simple mistake. Even the comment return pointer to last entry in list was preserved, but the code actually doing it