Changeset - 92bffc402b52
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 12 years ago 2013-06-15 21:24:15
drewp@bigasterisk.com
bring back the ability to redraw canvases, since they still get mangled coords sometimes
Ignore-this: 47f204ec83dab79265091c9fae2c4860
2 files changed with 13 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -178,6 +178,9 @@ class Main(object):
 
        if dialog.run() == 1:
 
            self.curveset.new_curve(entry.get_text())
 
        dialog.hide()
 

	
 
    def onRedrawCurves(self, *args):
 
        dispatcher.send("all curves rebuild")
 
        
 
    def onSubtermsMap(self, *args):
 
        # if this was called too soon, like in __init__, the gtktable
light9/curvecalc/curvecalc.glade
Show inline comments
 
@@ -207,6 +207,16 @@
 
                        <property name="use_underline">True</property>
 
                      </object>
 
                    </child>
 
                    <child>
 
                      <object class="GtkMenuItem" id="menuitem17">
 
                        <property name="visible">True</property>
 
                        <property name="can_focus">False</property>
 
                        <property name="use_action_appearance">False</property>
 
                        <property name="label" translatable="yes">Redraw curves</property>
 
                        <property name="use_underline">True</property>
 
                        <signal name="activate" handler="onRedrawCurves" swapped="no"/>
 
                      </object>
 
                    </child>
 
                  </object>
 
                </child>
 
              </object>
0 comments (0 inline, 0 general)