Cut and paste the mozembed bindings instead of depending on the

external ones. This is necessary to be able to support 1.9.
This commit is contained in:
Marco Pesenti Gritti
2007-01-23 20:33:56 +01:00
parent 0d4e7cdb0a
commit 1d6f0a11c4
10 changed files with 564 additions and 13 deletions
+4 -2
View File
@@ -16,17 +16,19 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import os
import pygtk
pygtk.require('2.0')
import gtk
import _sugar
# Main window
window = gtk.Window()
window.connect("destroy", lambda w: gtk.main_quit())
_sugar.startup_browser()
_sugar.browser_startup(os.path.expanduser('~/.sugar-browser-test'), 'test')
browser = _sugar.Browser()
window.add(browser)