Re: [PATCH] Bug 327691 =?UTF-8?Q?=E2=80=93?= URI-bar location persists after deletion
- From: Alexander Larsson <alexl redhat com>
- To: "Gene Z. Ragan" <diskzero mac com>
- Cc: nautilus-list gnome org
- Subject: Re: [PATCH] Bug 327691 – URI-bar location persists after deletion
- Date: Wed, 13 Dec 2006 09:24:25 +0100
On Tue, 2006-12-12 at 23:40 -0800, Gene Z. Ragan wrote:
> >
> > Why can't you just use the NautilusFile machinery to figure out when a
> > file is deleted? I.e. Add a monitor and watch the "changed" signal, then
> > looking at nautilus_file_is_gone().
> >
> Here is an improved way to handle the updating of the path bar based on
> file changed and
> deletion. In the words of The Dude, my thinking has become very uptight
> about this matter.
> Too many years away from the code.
>
> This patch technically addresses the bug, but the navigation arrows will
> still be incorrect.
> I don't see a bug specifically for that issue. It would surprise me if
> there wasn't one, but
> maybe no one has noticed. I am thinking about that issue now.
It looks kind of limited. You only look at the NautilusFile for the
current path, whereas the bug report is about a button to the right of
the current path (after going up) being deleted.
The way i see it you need to monitor all the files for the buttons to
the right of the active one, otherwise you wouldn't detect them being
deleted.
Also, if you just connect to the "changed" signal nautilus won't know
you're interested in changes to the file. You have to express interest
in certain attributes about the file using nautilus_file_monitor_add().
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a jaded zombie matador from a doomed world. She's an elegant
green-skinned schoolgirl in the wrong place at the wrong time. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]