/[ascend]/trunk/pygtk/observer.py
ViewVC logotype

Diff of /trunk/pygtk/observer.py

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

revision 893 by johnpye, Wed Oct 11 14:53:27 2006 UTC revision 894 by johnpye, Mon Oct 23 01:07:58 2006 UTC
# Line 184  class ObserverTab: Line 184  class ObserverTab:
184              _row = ObserverRow(values=values,active=False)              _row = ObserverRow(values=values,active=False)
185              self.rows.append(_row)              self.rows.append(_row)
186              _store.append(None,[_row])                        _store.append(None,[_row])          
187              self.browser.reporter.reportNote("Added data row")              #self.browser.reporter.reportNote("Added data row")
188    
189      def on_view_cell_edited(self, renderer, path, newtext, col):      def on_view_cell_edited(self, renderer, path, newtext, col):
190          # we can assume it's always the self.activeiter that is edited...          # we can assume it's always the self.activeiter that is edited...
# Line 199  class ObserverTab: Line 199  class ObserverTab:
199    
200      def sync(self):      def sync(self):
201          self.view.queue_draw()          self.view.queue_draw()
202          self.browser.reporter.reportNote("SYNC performed")          #self.browser.reporter.reportNote("SYNC performed")
203    
204      def add_instance(self,instance):      def add_instance(self,instance):
205          _col = ObserverColumn(instance,self.colindex,browser=self.browser)          _col = ObserverColumn(instance,self.colindex,browser=self.browser)

Legend:
Removed from v.893  
changed lines
  Added in v.894

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