File tree Expand file tree Collapse file tree
cefpython/cef1/linux/binaries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,9 @@ def __init__(self):
8888 # otherwise /home/some will be replaced as http://home/some
8989 self .browser = cefpython .CreateBrowserSync (
9090 windowInfo ,
91- browserSettings = {},
91+ # Flash will crash app in CEF 1 on Linux, setting
92+ # plugins_disabled to True.
93+ browserSettings = {"plugins_disabled" : True },
9294 navigateUrl = "file://" + GetApplicationPath ("cefsimple.html" ))
9395
9496 # Must be show_all() for VBox otherwise browser doesn't
Original file line number Diff line number Diff line change @@ -77,14 +77,14 @@ def __init__(self):
7777
7878 windowInfo = cefpython .WindowInfo ()
7979 windowInfo .SetAsChild (self .GetGtkWidget ())
80- print ("wxpython.py: creating browser in a moment" )
8180 # Linux requires adding "file://" for local files,
8281 # otherwise /home/some will be replaced as http://home/some
8382 self .browser = cefpython .CreateBrowserSync (
8483 windowInfo ,
85- browserSettings = {},
84+ # Flash will crash app in CEF 1 on Linux, setting
85+ # plugins_disabled to True.
86+ browserSettings = {"plugins_disabled" : True },
8687 navigateUrl = "file://" + GetApplicationPath ("cefsimple.html" ))
87- print ("wxpython.py: browser created" )
8888
8989 # Remains of OS_WIN code:
9090 #self.Bind(wx.EVT_SET_FOCUS, self.OnSetFocus)
You can’t perform that action at this time.
0 commit comments