[haiku-development] Re: Enhancement of DiskUsage (ticket 3520)

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 10 Jul 2010 16:04:08 +0200

On 2010-07-10 at 15:41:16 [+0200], Philippe Saint-Pierre <stpere@xxxxxxxxx> 
wrote:
> Hi again,
> 
> Two things! :)
> 
> First, my patch forgot to include 2 files (VolumeView.cpp and VolumeView.h).
>  The corrected patch is at
> http://www.ironmoose.ca/diskusage.patch2
> 
> Second,
> Should the DiskUsage be SINGLE_LAUNCH?  Currently it's not and I'm torn
> about whether it should be or not, on one hand, it seems that calling the
> add-on when there is already an instance open should just make the already
> open instance to dive to that folder, on the other hand, it might be useful
> to be able to compare 2 views..

The ultimate niftiness would be to refactor DiskUsage such that the stats 
live outside the window and can be shared. Then let DiskUsage open multiple 
windows, but each new window doesn't have to rescan, since it uses the 
already retrieved stat-data.

Best regards,
-Stephan

Other related posts: