a77ae5fb57084cd0ddd1cb89d43e8bbeb4c4f977
When an activity deletes the window associated with the canvas, save may fail because Gdk.cairo_create is given an argument of None. Activity continues to run without a window. Reproduced with Chat activity and pressing Stop. Avoid exception by returning None from get_preview when there is no window.
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.
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.
Description
Languages
Gettext Catalog
62.6%
Python
24.5%
C
12.3%
Makefile
0.3%
M4
0.3%