Hi,

I don't know why I didn't see this before, maybe I was rusty or just tired. 
Anyway, during a tea break I quickly tried it out.
I have solved the problem of flrig exiting on OS X. The function call 
"mainwindow->show();" is on the wrong side of the directive. 

*** rig.cxx.orig        Thu Jan 28 16:34:26 2010
--- rig.cxx     Thu Jan 28 16:50:31 2010
***************
*** 245,253 ****
  #elif !defined(__APPLE__)
        make_pixmap(&Rig_icon_pixmap, flrig_icon);
        mainwindow->icon((char *)Rig_icon_pixmap);
-       mainwindow->show();
  #endif
! 
        Fl::add_timeout(0.250, startup);
  
        return Fl::run();
--- 245,252 ----
  #elif !defined(__APPLE__)
        make_pixmap(&Rig_icon_pixmap, flrig_icon);
        mainwindow->icon((char *)Rig_icon_pixmap);
  #endif
!       mainwindow->show();
        Fl::add_timeout(0.250, startup);
  
        return Fl::run();

Easy. Come to think of it, I think the whole directive might be removed. I am 
going to test that.

The next stage will be to fix the serial port routine so that any OS X serial 
ports will be found and added to the list.

73

André - M0JEK

--

http://homepage.mac.com/andresk/
_______________________________________________
fldigi-alpha mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/fldigi-alpha

Reply via email to