discuss-gnustep
[Top][All Lists]
Advanced

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

Re: RE: A little issue with Yap


From: MJ Ray
Subject: Re: RE: A little issue with Yap
Date: Sat, 10 Feb 2007 10:16:45 +0000 (GMT)

Marko Riedel <address@hidden> wrote:
> go into Info/Preferences and set the defaults for a2ps and gs (as
> documented on the web page). I guess Yap should do this automatically. I
> will try to remember to implement this. Thanks!

I don't have a2ps installed and I'm not sure which of the many programs
that call themselves a2ps it wants.

Yap seems to work well for PDF, PS, PNG and JPG viewing except for all
these dialogue boxes on startup.  Stop it whinging so much with:

; diff -u Controller.m^(.orig '')
--- Controller.m.orig   2007-02-10 10:11:45.000000000 +0000
+++ Controller.m        2007-02-10 10:13:42.000000000 +0000
@@ -347,15 +347,13 @@
     while((optClass=(Class)[optEn nextObject])!=nil){
         opt = [optClass alloc];
         if([opt initWithController:self]==nil){
-            int result =
-                NSRunAlertPanel(@"Warning",
-                                @"Couldn't initialize option 
\"address@hidden":\n%@",
-                                @"Ok", @"Abort", NULL,
+            // int result =
+                NSLog(@"Warning: Couldn't initialize option \"address@hidden": 
%@",
                                 [opt title], [opt errMsg]);
             [opt cleanupOption];
-            if(result==NSAlertAlternateReturn){
+            /* if(result==NSAlertAlternateReturn){
                 break;
-            }
+            } */
         }
         else{
             [unsorted addObject:opt];


Can you put the version number on Yap's download page, please?

Hope that helps,
-- 
MJR/slef




reply via email to

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