[Sugar-devel] More tests of Write with introspection bindings

Manuel Quiñones manuq at laptop.org
Wed Aug 22 23:56:53 EDT 2012


2012/8/23 Gonzalo Odiard <gonzalo at laptop.org>:
> Hi Carlos,
>
> I continue doing tests, with little advance. Report here to see if you can
> help me.
> I have rebuilded all my env, using sugar-build, compiled libgsf and abiword,
> applied the changes ion your patch to Write activity and the activity crash
> again.
>
> If I replace in the gi/overrides/Abi.py the line:
>
> Abi.init(sys.argv)
> by
> Abi.init_noargs()
>
> the activity starts but the canvas is not visible. But should be present
> because when quit the activity saves a empty abiword file!
>
> The canvas is not displayed in this minimal example neither:
>
> from gi.repository import Gtk
> from gi.repository import Abi
> win = Gtk.Window()
> abi = Abi.Widget()
> win.add(abi)
> win.show_all()
> win.connect("destroy", Gtk.main_quit)
> Gtk.main()
>
> The environment I am using is easy to reproduce:
> In Fedora 17
> * Install sugar-build
> git clone git://git.sugarlabs.org/sugar-build/sugar-build.git
> cd sugar-build

Do you need some recent addition to the gtk stack?  You can see the
revision number sugar-build uses for each module in
scripts/system.modules .

-- 
.. manuq ..


More information about the Sugar-devel mailing list