CVSROOT:        /cvs/gnome
Module name:    sketch
Changes by:     bherzog 05/04/16 18:53:48

Modified files:
        test           : test_doceditor.py ChangeLog 
        Sketch/Editor  : tools.py 
        .              : ChangeLog 

Log message:
Savannah Patch #3890 by Valentin Ungureanu:

* Sketch/Editor/tools.py: Correct a bug where swithing the tool
while creating an object generates an error and doesn't clear the
canvas.
(ToolInstance.End): Clear the canvas.
(DrawToolInstance.ButtonRelease,
FreehandToolInstance.ButtonRelease): Check whether
end_edit_object returns an object or None.

* test_doceditor.py: New tests for a bug that arises when switching
tools while creating an object by dragging.
(TestEditorWithSelectionTools.test_switch_tool_before_release_simple):
New. Test whether the tool can be switched without errors while
creating an object.
(TestEditorWithSelectionTools.test_switch_tool_before_release):
New. Test whether the canvas is cleaned up after switching the
tool.
(RecordingMockGC): New. A MockGC that keeps track of some called methods.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=sketch&who=bherzog&date=explicit&mindate=2005-04-16%2018:52&maxdate=2005-04-16%2018:54

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to