[Sugar-devel] [HELP] Shell port to GTK3+: Removing hardcoded styles-- facing issue

Gonzalo Odiard gonzalo at laptop.org
Fri Aug 10 09:07:02 EDT 2012


>
> sascha.silbe at twin:~/sugar-jhbuild/source/sugar$ git diff -U13
> diff --git i/extensions/cpsection/aboutcomputer/view.py
> w/extensions/cpsection/aboutcomputer/view.py
> index 6b16005..b011b37 100644
> --- i/extensions/cpsection/aboutcomputer/view.py
> +++ w/extensions/cpsection/aboutcomputer/view.py
>
> -import gtk
> +#import gtk
> +from gi.repository import GTK
>
>
Should be:

from gi.repository import Gtk

 from sugar.graphics import style
>
>
...

You can't mix sugar and sugar3 packages or


>          self._group = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL)
>
>
gtk with Gtk packages....

Anyway, look at the reply from Manuel,
the css should be modified in sugar-artwork module.

Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120810/5088cb2a/attachment.html>


More information about the Sugar-devel mailing list