[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:22555] Re: patch: incremental folder search
From:       Yuri Arapov <yuri.arapov () sctest ! vrn ! ru>
Date:       2004-03-12 16:41:33
Message-ID: 20040312194133.6c6ae10e.yuri.arapov () sctest ! vrn ! ru
[Download RAW message or body]


Hi!

Here is version 2 of the patch.

New stuff:

1. Collapsed nodes are handled some way
   (maybe not the best one).

2. Two shortcuts added:
   <C-k> - jump to next match,
   <C-j> - jump to previous match.
   k and j choosen because <C-n> and <C-p>
   are bound to scrolling and because they're
   just right under the fingers.

Search pattern may appear in any place of the folders titles,
not just at the beginning.  I'm still not sure if it's good
the way it is now or it's better to do prefix-based search.

What's opinion of community?

If prefixes are better then I think it's worth to take Alfons'es 
advise and redo it with GCompletion (see thread posts).

Applying patch:
1. sh$ cp foldersel.c.patch2 /path/to/sylpheed/src
2. restore original foldersel.c file if you applied 
   first patch
3. sh$ patch foldersel.c foldersel.c.patch2
4. sh$ make && ./sylpheed

Regards,

Yuri

-- 
Yuri Arapov <yuri.arapov@sctest.vrn.ru>

["foldersel.c.patch2" (application/octet-stream)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic