PATCH: fix for typo in gnome-python



  After struggling through the rather painful build process in gnome-python
(is it possible to configure autogen.sh to build your special automake in a
 subdirectory of the source tree?) I discovered that no Gnome bindings work
because of an extra tab in ui.py.  Python's funny statement grouping makes it
part of the class declaration and so the assignment fails..

  Ok..off to learn the pygnome bindings.. (btw, pygtk is *incredible*!)
-- 
  Moths and flame.
  The glory blinds them.

             -- C. J. Cherryh, _The Dreaming Tree_
Index: ui.py
===================================================================
RCS file: /cvs/gnome/gnome-python/pygnome/gnome/ui.py,v
retrieving revision 1.12
diff -u -r1.12 ui.py
--- ui.py	1999/02/24 15:38:58	1.12
+++ ui.py	1999/02/24 21:07:01
@@ -413,7 +413,7 @@
 	'last_arrowhead', 'smooth', 'spline_steps', 'arrow_shape_a',
 	'arrow_shape_b', 'arrow_shape_c'"""
 	get_type = _gnomeui.gnome_canvas_line_get_type
-	_gtk._name2cls['GnomeCanvasLine'] = GnomeCanvasLine
+_gtk._name2cls['GnomeCanvasLine'] = GnomeCanvasLine
 
 class GnomeCanvasPolygon(GnomeCanvasItem):
 	"""has argyments 'points', 'fill_color', 'fill_color_gdk',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]