Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Getting the window to show up on OS X Mountain Lion system python
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nathan  
View profile  
 More options Oct 11 2012, 8:25 pm
From: Nathan <nathan.sto...@gmail.com>
Date: Thu, 11 Oct 2012 18:25:39 -0600
Local: Thurs, Oct 11 2012 8:25 pm
Subject: [SOLVED] Getting the window to show up on OS X Mountain Lion system python

Over a MONTH ago someone posted the fix to the issue tracker for the main
window not showing up on Mountain Lion.

See comment #1 here: https://code.google.com/p/pyglet/issues/detail?id=600

I made the change he recommended, and now pyglet works great with system
python on Mountain Lion again!!!

diff -r b016e8b5a206 pyglet/app/cocoa.py
--- a/pyglet/app/cocoa.py Mon Oct 08 21:45:30 2012 -0600
+++ b/pyglet/app/cocoa.py Thu Oct 11 18:20:10 2012 -0600
@@ -91,12 +91,11 @@
         self.pool = NSAutoreleasePool.alloc().init()
         create_menu()

 self.NSApp.setActivationPolicy_(NSApplicationActivationPolicyRegular)
+
+    def start(self):
         self.NSApp.finishLaunching()
         self.NSApp.activateIgnoringOtherApps_(True)

-    def start(self):
-        pass
-
     def step(self, timeout=None):
         # Drain the old autorelease pool
         self.pool.drain()

~ Nathan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Jones  
View profile  
 More options Oct 11 2012, 8:32 pm
From: Richard Jones <r1chardj0...@gmail.com>
Date: Fri, 12 Oct 2012 11:32:37 +1100
Local: Thurs, Oct 11 2012 8:32 pm
Subject: Re: [SOLVED] Getting the window to show up on OS X Mountain Lion system python
On 12 October 2012 11:25, Nathan <nathan.sto...@gmail.com> wrote:

> Over a MONTH ago someone posted the fix to the issue tracker for the main
> window not showing up on Mountain Lion.

> See comment #1 here: https://code.google.com/p/pyglet/issues/detail?id=600

> I made the change he recommended, and now pyglet works great with system
> python on Mountain Lion again!!!

Thanks for verifying the fix! It's now been committed :-)

     Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »