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



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).


> Also, i get warnings like:
> 
> (lt-nautilus:13535): GLib-GObject-CRITICAL **: g_object_get_data:
> assertion `G_IS_OBJECT (object)' failed
> 
> and
> 
> ** (lt-nautilus:4180): CRITICAL **: get_original_file: assertion `!
> is_multi_file_window (window)' failed

Fixed in the updated patch.

-mt

Attachment: signature.asc
Description: This is a digitally signed message part



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