Re: gmc spawning question.



On Mon, 9 Aug 1999, Federico Mena Quintero wrote:

> >  anyways, my question - is there a way to spawn a gmc window from the
> >  command line without opening a new copy of gmc?  If you type "gmc
> >  <directory>", it seems to spwan a new version which tries to control the
> >  desktop etc.
> 
> This should not happen.  When you run GMC for the first time, it sets
> up a CORBA server for itself.  When you try to run it again, it first
> tries to contact the existing server and asks it to open a new window,
> and the new process terminates.

Well, I couldn't seem to reproduce it last night, though I am sure it was
happening before.  I shutdown the system in between (lost power) so I'm
not sure what was happening.  If I get it to do it again I'll get some
debug info.  I've been playing a lot with the smbfs stuff, so that might
have to do with it.

I have encountered another odd error however, that I thought I'd mention.
I was trying to launch a gmc window when someone double-clicks on a row in
a ctree.  I am doing this right now by using something like 
system("gmc /#smb:server/share");  
now if I do this from a function connected to the ButtonEvent signal, it
locks up X.  nothing responds, and I have to switch out of X and kill the
gmc process.  Running it from anywhere else works, just not from the
button event.  

Do you think this is a gmc problem or a gtk problem, or do you thinkg I am
just screwing something up?

thanks
-chris
_______________________________________________________
Christopher Rogers      http://www.pobox.com/~gandalf
gandalf@pobox.com       gandalf@darkcorner.net

Real programmers don't comment their code.  It was hard to write, it
should be hard to understand.




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