Hello all,

I have the following Info-gnustep.plist in netscape.app of my app_wrappers

{
  NSExecutable = "/usr/sfw/bin/mozilla";
  NSRole = "Viewer";
  NSIcon = "netscape.tiff";
        XAppWrapper = YES;
  NSTypes = (
    {
      NSUnixExtensions = ( "html" );
      NSIcon = "FileIcon_.html.tiff";
    },
    {
      NSUnixExtensions = ( "htm" );
      NSIcon = "FileIcon_.html.tiff";
    }
  );
}

I can open a given html-file with

        /usr/sfw/bin/mozilla /home/ahoesch/test.html

However, when I call

   [[NSWorkspace sharedWorkspace] openFile:@"/home/ahoesch/test.html"];

mozilla is started but it does not load test.html but www.sun.com. What am I doing wrong? I haven't understood this -GSOpenFile stuff.

Thanks!

Regards,

  Andreas




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to