discuss-gnustep
[Top][All Lists]
Advanced

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

GWorkspace openFile & ImageViewer


From: Marko Riedel
Subject: GWorkspace openFile & ImageViewer
Date: Tue, 8 Apr 2003 19:56:36 +0200 (CEST)

Hi folks,

I am trying to get GPSText to open PS and PDF files when they are
double-clicked in the workspace browser. This was suggested to me by
Nicolas Roard.

I found that GWorkspace launches the application correctly, but it
repeats the file name among the command line arguments. My application
parses these as well, so that it opens the file twice. (I could fix
this by checking whether the file has already been opened, but I would
prefer to understand what exactly is happening.) I have also noticed
that GWorkspace tries to lauch a second copy of the application when I
click on a second file, whereas it should message the process that is
already running to open the file.

I was curious to know whether my code was the problem, so I compiled
and installed ImageViewer. It seems to have the same problem: open a
TIFF file and the app launches, open a second file and GWorkspace does
not message the process that is already running and tries to launch
another copy of ImageViewer instead.

Maybe someone can help me out here.

Best regards,

-- 
+------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, mriedel@neuearbeit.de |
| http://www.geocities.com/markoriedelde/index.html          |
+------------------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]