Commit ba6da836 authored by sumpfralle's avatar sumpfralle

r688@erker: lars | 2010-02-18 23:08:40 +0100

 added a comment and fixed a typo


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@146 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent b7eb3665
...@@ -131,7 +131,6 @@ class GLView: ...@@ -131,7 +131,6 @@ class GLView:
GL.glViewport(0, 0, self.area.allocation.width, self.area.allocation.height) GL.glViewport(0, 0, self.area.allocation.width, self.area.allocation.height)
def destroy(self, widget=None, data=None): def destroy(self, widget=None, data=None):
print "destroy"
if self.notify_destroy_func: if self.notify_destroy_func:
self.notify_destroy_func() self.notify_destroy_func()
# don't close the window # don't close the window
...@@ -457,7 +456,7 @@ class ProjectGui: ...@@ -457,7 +456,7 @@ class ProjectGui:
controls = (("x <-> y", "x_swap_y"), ("x <-> z", "x_swap_z"), ("y <-> z", "y_swap_z")) controls = (("x <-> y", "x_swap_y"), ("x <-> z", "x_swap_z"), ("y <-> z", "y_swap_z"))
else: else:
# broken gui # broken gui
print sys.stderr, "Unknown button action: %s" % str(widget.get_name()) print >> sys.stderr, "Unknown button action: %s" % str(widget.get_name())
return return
for obj, value in controls: for obj, value in controls:
if self.gui.get_object(obj).get_active(): if self.gui.get_object(obj).get_active():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment