Re: [PATCH] Only show "Close Parent Windows" if we're not displaying a toplevel URI



On Tue, 2005-05-17 at 11:49 +0200, Christian Neumair wrote:
> Am Dienstag, den 17.05.2005, 10:46 +0200 schrieb Alexander Larsson:
> > On Mon, 2005-05-16 at 18:17 +0200, Christian Neumair wrote:
> > > Am Montag, den 16.05.2005, 17:26 +0200 schrieb Alexander Larsson:
> > > > On Thu, 2005-05-12 at 14:02 +0200, Christian Neumair wrote:
> > > > > >From http://bugzilla.gnome.org/show_bug.cgi?id=149287:
> > > > > 
> > > > > 
> > > > > Proposed patch (against HEAD).
> > > > > 
> > > > > - adds nautilus_file_has_parent
> > > > > - adds nautilus_window_(info_)update_menus, which is called when updating the
> > > > > menus and implemented by all subclasses of NautilusWindow
> > > > 
> > > > the NautilusWindow menu only needs updating when the location changes.
> > > 
> > > Ouch, I've overlooked that. Thanks for pointing it out.
> > > 
> > > > The right thing to make the spatial window always update the sensitivity
> > > > when you change the location. Fortunately we already track all this for
> > > > the "up" button in navigational mode. So you just need to hook off
> > > > nautilus_window_allow_up().
> > > 
> > > Nice. Proposed patch #2 attached. Do you like the way the methods are
> > > invoked?
> > 
> > That looks ok, but you don't need nautilus_file_has_parent, just use the
> > "allowed" boolean that gets passed to set_allow_up.
> 
> Right, next attempt... .

Looks good to commit.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a war-weary small-town gangster on a search for his missing sister. She's 
a virginal thirtysomething archaeologist with a knack for trouble. They fight 
crime! 




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