/loggerouter/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerouter/trunk

« back to all changes in this revision

Viewing changes to src/timer.vala

  • Committer: Gustav Hartvigsson
  • Date: 2025-06-03 21:28:25 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20250603212825-d99acf3s4b1qktk3
spellingĀ error

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
    close_button = new Gtk.Button.with_label ("Cancel");
80
80
    close_button.clicked.connect (() => {
81
 
      _time = -1;
82
81
      return_to_caller (ExitCode.CANCEL);
83
82
    });
84
83
    button_box.append (close_button);
124
123
  }
125
124
 
126
125
  private bool label_update () {
127
 
    if (_time <= -1) {
128
 
      return false;
129
 
    }
130
126
    if (_time == 0) {
131
127
      return_to_caller (ExitCode.OK);
132
128
      return false;