Re: Patch and feature request for toggling display of hidden files



On Thu, 2004-05-27 at 09:37, Alexander Larsson wrote:
> On Wed, 2004-05-26 at 22:56, Jamie wrote:
> > Hi,
> > 
> > I've had enough of the poor handling of hidden files and folders in
> > Nautilus and as its been driving me nuts in the last few days I have
> > decided to code a nice easy way of toggling the display of hidden files
> > in individual folders (as opposed to having to constantly set and reset
> > a global pref)
> > 
> > My feature request and patches (you need both) for it are at:
> > 
> > http://bugzilla.gnome.org/show_bug.cgi?id=143239
> > 
> > When folders are first opened they adopt the global pref for showing
> > hidden files however individual folders can now be toggled by pressing
> > CTRL+H or by clicking on the Show Hidden Files menu item in the View
> > menu to alternate between showing/hiding hidden files.  
> > 
> > Hopefully these patches will be accepted cause I can't live without
> > them!
> 
> We've long wanted to do this, however part of the reason its not been
> done yet is that its a little more complicated than your patch. We want
> the state to be related to the window, not the view. So, if you change
> view, or browse to a location using another view, the hidden setting
> isn't forgotten.

Thats easy enough to do but I would have to disable the callback from
the global prefs "Show hidden and Backup files" option in the file
manager code as removing that callback is the only way to preserve the
hidden state (it currently overrides my toggle setting in all browser
and spatial windows when set or reset). In fact it would be best to
remove that option from the prefs dialog altogether rather than just
disabling it - am I allowed to do that? 

(I think the default should be to hide all hidden stuff and let users
override this on an individual folder basis if they want - please
confirm if thats acceptable)

> 
> Also, we probably want to group the show backup prefs with the hidden
> toggle, like we do for the prefs dialog.
> 

So backup files should always be shown when hidden files are shown and
vice versa?

jamie.

> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl redhat com    alla lysator liu se 
> He's a shy dishevelled hairdresser from the Mississippi delta. She's a 
> man-hating impetuous Valkyrie with the soul of a mighty warrior. They fight 
> crime! 
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]