~gtg-user/gtg/plugin-api-refactoring

« back to all changes in this revision

Viewing changes to GTG/plugins/hamster/hamster.py

  • Committer: Luca Invernizzi
  • Date: 2010-09-06 17:20:02 UTC
  • Revision ID: invernizzi.l@gmail.com-20100906172002-lx9d5r9cymnzbla4
small fix in hamster plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        button.show()
176
176
        self.taskbutton = plugin_api.add_toolbar_item(button)
177
177
        
178
 
        task = plugin_api.get_task()
 
178
        task = plugin_api.get_ui().get_task()
179
179
        records = self.get_records(task)
180
180
        
181
181
        if len(records):