Re: How to detect already running application...

2005-03-22 Thread Freddie Unpenstein
> gnome-volume-manager uses this hack: > http://cvs.gnome.org/.. > hope it helps So do I... But even if it doesn't, it's already answered one different problem I was going to ask about. ;) Fredderic ___ Join Excite! - http://www.excite.com The

Re: How to detect already running application...

2005-03-22 Thread Miroslav Rajcic
This looks interesting, thanks for the tip. Best regards Miroslav Rajcic - Original Message - From: "Kristof Vansant" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Tuesday, March 22, 2005 11:54 AM Subject: Re: How to detect already running applicati

Re: How to detect already running application...

2005-03-22 Thread Kristof Vansant
gnome-volume-manager uses this hack: http://cvs.gnome.org/viewcvs/gnome-volume-manager/src/clipboard.c?rev=1.3&view=markup hope it helps -- lupusBE (Kristof Vansant Belgium) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gn

Re: How to detect already running application...

2005-03-21 Thread Freddie Unpenstein
> I think that the problem is more complicated than this, in > On a multiuser system, what, exactly, does it mean to have a > single instance of an application? One per machine? One per user? > One per desktop? I've read several articles lamenting the > difficulty of doing this reliably, even on

Re: How to detect already running application...

2005-03-18 Thread Alan M. Evans
On Fri, 2005-03-18 at 06:05, Miroslav Rajcic wrote: > Is there any gtk-only way (not Gnome oriented) to do this ? > I am looking for the same answer for my app, and the code needs to be > working on Windows too. > > Windows-only code is pretty simple using named mutex to act as kind of > interproc

Re: How to detect already running application...

2005-03-18 Thread Miroslav Rajcic
Linux. Best regards, Miroslav Rajcic - Original Message - From: "John (J5) Palmieri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, March 18, 2005 3:00 PM Subject: Re: How to detect already running application... > There are a number of hacks

Re: How to detect already running application...

2005-03-18 Thread Matthias Clasen
On Fri, 2005-03-18 at 09:00 -0500, John (J5) Palmieri wrote: > There are a number of hacks to do this. gnome-volume-manager uses the > clipboard. NetworkManager uses D-Bus. I'm not sure what g-edit uses, > perhaps bonobo. Future looking D-Bus is the way to go. You basically > grab a name and w

Re: How to detect already running application...

2005-03-18 Thread John (J5) Palmieri
There are a number of hacks to do this. gnome-volume-manager uses the clipboard. NetworkManager uses D-Bus. I'm not sure what g-edit uses, perhaps bonobo. Future looking D-Bus is the way to go. You basically grab a name and when your app comes up a second time it will get an error when trying