On Fri, Jan 21, 2011 at 12:28 PM, LouP <pec...@anvil.nrl.navy.mil> wrote:
>
> I have more information.  I ran my script using the pre-installed
> python 2.6 framework on my Mac and the Mac version of the dialogs was
> used (which is what I want),

Just out of curiosity, what script are you running and how is it
opening dialog boxes? Is it just a standard Python script?

> but when I use the sage installed python
> I still get the X11 dialogs.  More interesting is that I replaced all
> the files in the lib-tk folder in sage with the preinstalled lib-tk
> from the Mac (in /System/Library/Frameworks.../python/.../lib-tk).  I
> still get the X11 behavior when I run the script with the sage
> python.  This suggests that something else in the sage package is
> setting the X11 interface to be used rather than the native Mac GUI
> dialogs, etc.  I have no idea where that might be set, though.

What is probably going on is that some special settings/code have to
be used to get the native OS X dialogs instead of the (default) X-11
ones, and there's very little platform-specific code in Sage. This is
probably something that needs to be set at compile time--probably by
changing how Sage's Python is compiled.

- Robert

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to