[PythonCAD] Latest batch of updates now available

Art Haas ahaas at airmail.net
Tue Jul 19 23:04:27 CEST 2005


I've sent a number of changes up to the repository, and included in
these changes are some adjustments to the file saving and loading code.
The various changes address a problem found when loading a file with
some text and adding new text to the drawing. I've fixed that problem,
but I think things need to be more robust, so I'll be tweaking this
code over the next few days/weeks. If anyone has problems saving or
loading a file please let me know.

Also, a number of bugs were fixed, including a little gem that made
the 'Save As' menu choice call the incorrect handler. Here's the patch
that fixed that goof for those wanting just this fix:


Index: PythonCAD/Interface/Gtk/gtkmenus.py
--- PythonCAD/Interface/Gtk/gtkmenus.py	(revision 1937)
+++ PythonCAD/Interface/Gtk/gtkmenus.py	(working copy)
@@ -939,7 +939,7 @@
     _act = gtk.Action('SaveAs', 'Save As ...', None, None)
-    _act.connect('activate', file_save_cb, gtkimage)
+    _act.connect('activate', file_save_as_cb, gtkimage)
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822

More information about the PythonCAD mailing list