~timer-applet-dev/+junk/interval-timer

« back to all changes in this revision

Viewing changes to timer-applet/src/timerapplet/controllers/GlobalController.py

  • Committer: Kenny Meyer
  • Date: 2010-09-15 19:10:48 UTC
  • Revision ID: knny.myer@gmail.com-20100915191048-9emhe8m1feb9zbpg
Adding/Editing/Deleting timer's is now possible, again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
            
75
75
        result = edit_dialog.get_preset()
76
76
        if result is not None:
77
 
            (name, hours, minutes, seconds, command) = result
 
77
            (name, hours, minutes, seconds, command, next_timer, auto_start) = result
78
78
            self._presets_store.modify_preset(row_iter, name, hours, minutes,
79
79
                                              seconds, command, next_timer,
80
80
                                              auto_start)
82
82
    def _on_mgr_clicked_remove(self, sender, row_path, data=None):
83
83
        row_iter = self._presets_store.get_model().get_iter(row_path)
84
84
        self._presets_store.remove_preset(row_iter)
 
85
 
 
86
    # TODO
 
87
    def _on_mgr_next_timer_is_being_edited(self, sender, row_path, data=None):
 
88
        """Show a dropdown widget to help completing the next timer."""
 
89
        raise NotImplementedError("Not implemented, yet")
 
90
 
 
91