/[ascend]/branches/adrian/pygtk/canvas/blockproperties.py
ViewVC logotype

Diff of /branches/adrian/pygtk/canvas/blockproperties.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2919 by adrian, Wed Apr 29 18:25:03 2015 UTC revision 2920 by adrian, Wed May 6 15:42:11 2015 UTC
# Line 188  class BlockProperties(object): Line 188  class BlockProperties(object):
188          ##End of Context Menu##          ##End of Context Menu##
189    
190      def save_changes(self,button,parent,block):      def save_changes(self,button,parent,block):
191            block.name = self.block_name.get_text()
192          parent.view.canvas.canvasmodelstate = 'Modified'          parent.view.canvas.canvasmodelstate = 'Modified'
193          parent.status.push(0,"Modified Block Properties")          parent.status.push(0,"Modified Block Properties")
194          parent.view.modify_bg(Gtk.StateType.NORMAL, Gdk.color_parse('#FFF'))          parent.view.modify_bg(Gtk.StateType.NORMAL, Gdk.color_parse('#FFF'))

Legend:
Removed from v.2919  
changed lines
  Added in v.2920

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22