[RFE][PATCH] Display free space on device in panels
Jindrich Novy
jnovy at redhat.com
Mon May 29 13:22:46 UTC 2006
Hi Pavel and Pavel,
On Fri, 2006-05-19 at 14:29 -0400, Pavel Roskin wrote:
> Can we avoid any highlighting? I think Far Manager does it right:
> http://red-bean.com/proski/mc/far.png
Attaching the patch without highlighting. The main changes are that I
moved the show_free_space() into main.c since screen.c lacks a header
file and a call is needed from cmd.c to minimize frequency of gathering
filesys info. The free space widget isn't displayed at all when browsing
a non-local fs. Filesystem statistics are updated immediately when mc
requests a reread (ctrl-r is pressed).
Please review, some further mistakes are possible.
Cheers,
Jindrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-showfree.patch
Type: text/x-patch
Size: 10570 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20060529/0149a040/attachment.bin>
More information about the mc-devel
mailing list