Re: Using a label for non-renamable files instead of an entry



On Mon, 2005-04-04 at 16:18 -0400, Michael Terry wrote:
> Thanks for the review.
> 
> On Mon, 2005-04-04 at 14:36 +0200, Alexander Larsson wrote:
> > The widget switching didn't work for me. (Easy way to test: show
> > properties for file, then show properties for the folder its in and
> > toggle user writability (no fam should be required for this, nautilus
> > detects changes it makes itself)).
> > 
> > Maybe you need to monitor NAUTILUS_FILE_ATTRIBUTE_CAPABILITIES or
> > something like that.
> 
> I tried it, didn't work.  I also noticed, though, that current nautilus
> doesn't handle changing renamability very well any way.  It doesn't
> monitor state, only changing the sensitivity of widgets when you try to
> rename it but can't.  An updated version of my patch
> (http://bugzilla.gnome.org/show_bug.cgi?id=149201#c6) does this
> correctly, swapping the entry for a label.  It does not monitor
> renamability, as that doesn't seem very possible right now (the factors
> that determine renamability are numerous).
> 

Looks good. I commited this.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a notorious drug-addicted rock star with a passion for fast cars. She's a 
virginal cigar-chomping 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]