Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
James Cameron 58224cb15d Fix traceback when an icon name matches a GNOME theme icon
When an icon file name matches a GNOME theme icon;

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 214, in _get_attach_points
    cp.readfp(config_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.

Caused by reading a .png file as if it were config file, in turn
because the icon was expected by the toolkit to be .svg file type.

Regression introduced by f796638.

Fixes https://github.com/sugarlabs/activity-abacus/issues/16
2018-05-24 08:46:58 +05:30
bin Remove noisy output from sugar-activity 2017-06-10 08:42:02 +10:00
doc Remove unused imports 2018-05-21 17:20:29 +10:00
examples Remove example unrelated to Sugar Toolkit 2018-05-21 17:17:58 +10:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po translate.sugarlabs.org synchronisation 2017-12-11 13:46:29 +11:00
src Fix traceback when an icon name matches a GNOME theme icon 2018-05-24 08:46:58 +05:30
tests Fix bundlebuilder genpot test 2018-01-02 14:14:46 +11:00
.gitignore Add generated doc files to the gitignore 2016-06-18 12:30:53 +10:00
AUTHORS Add AUTHORS file 2007-09-25 15:49:52 +02:00
autogen.sh Modernize gettext setup 2014-03-30 11:54:48 +01:00
configure.ac Release Sugar 0.112 stable 2017-10-06 12:39:05 +11:00
COPYING Make it distcheck. Fix license. 2008-02-06 16:43:10 +01:00
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
make-doc.sh Change make-doc.sh interpreter 2015-12-30 00:11:40 -05:00
Makefile.am Add missing translations 2014-03-30 11:58:36 +01:00
README.md README - add build and install 2017-07-19 12:38:43 +10:00

Sugar Toolkit

Sugar Toolkit provides services and a set of GTK+ widgets to build activities and other Sugar components on Linux based computers.

This is the GTK+ 3 binding of the Sugar Toolkit.

https://www.sugarlabs.org/

https://wiki.sugarlabs.org/

Installing on Debian or Ubuntu

Automatically done when you install Sugar desktop.

To install Sugar Toolkit alone without Sugar desktop,

sudo apt install python-sugar3

Installing on Fedora

Automatically done when you install Sugar desktop.

To install Sugar Toolkit alone without Sugar desktop,

sudo dnf install sugar-toolkit-gtk3

Building

Sugar Toolkit follows the GNU Coding Standards.

Install all dependencies, especially sugar-artwork and sugar-datastore.

Clone the repository, run autogen.sh, then make and make install.