Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: [ rockbox-Bugs-687181 ] Screen refresh when deleting a file

Re: [ rockbox-Bugs-687181 ] Screen refresh when deleting a file

From: Mike Holden <rockbox_at_mikeholden.uklinux.net>
Date: Tue, 18 Feb 2003 08:56:05 -0000 (GMT)

Mike Holden said:
> Björn Stenberg said:
>> SourceForge.net wrote:
>>> Fix - in apps/tree.c, set reload_dir true, and do more
>>> work during the refresh phase. See attached patch.
>>
>> This patch resets the cursor to the top of the list every time, which
>> makes deleting several files very painful. We should handle this more
>> elegantly.
>
> I'll have another look!

Here's an updated patch file to resolve the cursor reset problem. This
patch replaces the previous one. Basically I have added an extra if()
around the cursor reset lines so that they don't get reset if we have
reload_dir=true.

Note that the patch was build using Linux diff, rather than cvs diff, so
you may have to tweak the file paths - sorry about that, but my ISP dialup
was giving me grief last night!

Mike Holden



  • application/octet-stream attachment: tree.diff
Received on 2003-02-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy