Changes
2 changed files (+6/-0)
-
-
@@ -10,6 +10,7 @@ using GLib;namespace TimeTracker.Widget { private class HistoryView : Gtk.Box { public signal void start_timer(); public signal void edit_entry(Model.Timer timer); public Model.Model model { get; construct; }
-
@@ -51,6 +52,7 @@ namespace TimeTracker.Widget {}; row.start.connect((timer) => { model.update(new Event.TimerStarted(timer.title)); start_timer(); }); row.remove.connect((timer) => { model.update(new Event.TimerDeleted(timer.id));
-
-
-
@@ -33,6 +33,10 @@ namespace TimeTracker.Widget {var history = new HistoryView(model); history.start_timer.connect(() => { stack.visible_child_name = "active_timers"; }); history.edit_entry.connect((timer) => { var dialog = new TimerEditDialog(model, timer); dialog.present(this);
-