diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-01-23 19:33:56 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-01-23 19:33:56 (GMT) |
commit | 1d6f0a11c4d2f176f81bb6cefc2090893c7ed0b8 (patch) | |
tree | 84b360577804f802dee41629f87a5a4ddab9a518 /tests | |
parent | 0d4e7cdb0a68cf903ef7eed3013c077606d9cc68 (diff) |
Cut and paste the mozembed bindings instead of depending on the
external ones. This is necessary to be able to support 1.9.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test-browser.py | 6 |
1 files changed, 4 insertions, 2 deletions
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) |