Development Team/Almanac/sugar.activity.activity: Difference between revisions

No edit summary
Line 68: Line 68:
         #disable the use of the copy button for now.  
         #disable the use of the copy button for now.  
         self._edit_toolbar.copy.set_sensitive(False)
         self._edit_toolbar.copy.set_sensitive(False)
You can enable buttons by simply passing True to the set_sensitive() method.