discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep Printing Backend Patch and such


From: Chad Hardin
Subject: Re: GNUstep Printing Backend Patch and such
Date: Sat, 3 Jul 2004 16:09:54 -1000

Actually, it did this as a last ditch resort. The first thing it did was ask NSWorkspace what the most suitable app there is for files of type ".ps". Normally, that would be Preview.app, PSViewiwer, etc,etc,etc, whatever you happen to have on your system.

Since you did not have any GNUstep apps that handled .ps documents, the next step was to just jump out on a leap of faith and launch gv. You're right, a better solution would probably to do a a Alert Panel saying that no apps could be found for the preview or something like that.

Chad


On Jul 3, 2004, at 12:50 PM, Alex Perez wrote:

On 2004-07-02 14:05:02 -0700 Chad Hardin <cehardin@mac.com> wrote:

I'm done with the first part of turning GNUstep printing parts into a "backend" type system.
Excellent, Thanks for your great work.

Since you're working on the printing stuff, I figured you might be the best one to know about this. I was just printing something in GNUMail this morning and clicked the 'preview' button which immediately tried to launch gv (GhostView) which was not installed on my machine. This caused an invalid arument exception since gv couldn't be run. This should probably not be hardcoded to 'gv' nor should we be relying on this external dependency. Do you have any suggestions on a cleaner method of previewing?

Cheers,
Alex

P.S. Also I noticed that the gorm file has some hardcoded colors in the background of text areas, which causes things to look a bit ugly if you have nonstandard colors chosen.






reply via email to

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