From 1d6f0a11c4d2f176f81bb6cefc2090893c7ed0b8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 23 Jan 2007 19:33:56 +0000 Subject: Cut and paste the mozembed bindings instead of depending on the external ones. This is necessary to be able to support 1.9. --- (limited to 'tests') diff --git a/tests/test-browser.py b/tests/test-browser.py index 13001ec..635de5e 100755 --- a/tests/test-browser.py +++ b/tests/test-browser.py @@ -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) -- cgit v0.9.1