Closed GoogleCodeExporter closed 9 years ago
Original comment by czarek.t...@gmail.com
on 10 Jan 2014 at 6:44
Here's a pytgtk.py example working (tested in Ubuntu 14.04, x86_64), derived
from cef1 pygtk example.
This is the diff output:
marcelo@marcelo-notebook:~$ diff pygtk.py ~/pygtk_cef1.py
14c14
< from cefpython3 import cefpython
---
> from cefpython1 import cefpython
15a16,17
> import pygtk
> pygtk.require('2.0')
106c108
< navigateUrl="file://"+GetApplicationPath("example.html"))
---
> navigateUrl="file://"+GetApplicationPath("cefsimple.html"))
181,182c183
< "resources_dir_path": cefpython.GetModuleDirectory(),
< "browser_subprocess_path": "%s/%s" % (cefpython.GetModuleDirectory(),
"subprocess")
---
> "resources_dir_path": cefpython.GetModuleDirectory()
Regards
Original comment by fernandezm
on 16 Jul 2014 at 6:48
Attachments:
Checking out the source code, it seems not necessary to disable plugins in
Linux+GTK for CEF 3, because Flash plugin works fine... so I'd change this
lines from the example I've just submitted:
# Flash will crash app in CEF 1 on Linux, setting
# plugins_disabled to True.
browserSettings={"plugins_disabled": True},
To this:
browserSettings={},
Regards
Original comment by fernandezm
on 16 Jul 2014 at 7:08
@fernandezm Thank you for the patch.
Fixed in revision c15b11067f9e.
Original comment by czarek.t...@gmail.com
on 28 Jul 2014 at 11:07
Original issue reported on code.google.com by
czarek.t...@gmail.com
on 26 Nov 2013 at 6:30