RE: gmc



This is a little ugly from the command line.
could gmc call new-instance or somthing when it first starts up, so
new-instance gmc -whatever 
becomes
gmc -whatever

> -----Original Message-----
> From:	Miguel de Icaza [SMTP:miguel@nuclecu.unam.mx]
> Sent:	Thursday, December 17, 1998 5:01 PM
> To:	hans.316@brfmasthugget.se
> Subject:	Re: gmc
> 
> 
> > > bash$ new-instance gmc
> > >
> > > Which will do the right thing.
> > 
> > Yuck! that does not seem sane, but then of cource, that could just be me
>:)
> > What is the advantage? What exactly does this new-instance thing do
> anyways?
> 
> new-instance will contact the gnome-name-server corba service and see
> if a copy of the file manager is already running.  If it is, we get
> back a handle to the factory CORBA object and we ask the factory to
> create a new window.  If the file manager factory has not been
> started, the gnome-name-server will launch gmc for you.
> 
> So, it is the right approach without kludges.
> 
> (Now, I just need Elliot to rename goad-browser --with-repo-id to
> new-instance).
> 
> Miguel.
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.



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