##// END OF EJS Templates
use QSocketNotifier, not poll...
use QSocketNotifier, not poll avoids having to disable App Nap outright. Also use appnope context manager to disable App Nap on OS X 10.9 while processing events. Adds IPKernel._darwin_app_nap flag, so that working with App Nap can be disabled, in case appnope causes problems for some. App Nap is just disabled outright on wx.

File last commit:

r7607:16e1f096
r13583:72366b31
Show More
Info.plist.example
20 lines | 702 B | text/plain | TextLexer
Matthias BUSSONNIER
add svg icons for notebook
r7607 # Add this into the info.plist file of an application
# and the icns icon in Contents/Resources
# then move the application twice :
# http://superuser.com/questions/178316/how-to-set-an-icon-for-a-file-type-on-mac
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ipynb</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>ipynb_mac_icon</string>
<key>CFBundleTypeName</key>
<string>IPython notebook file</string>
<key>CFBundleTypeRole</key>
<string>None</string>
</dict>
<array>