diff options
Diffstat (limited to 'src/application.rs')
-rwxr-xr-x | src/application.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/application.rs b/src/application.rs index ad6ee51..fdc3637 100755 --- a/src/application.rs +++ b/src/application.rs @@ -156,6 +156,13 @@ impl FurtheranceApplication { imp.pomodoro_dialog.lock().unwrap().response(gtk::ResponseType::Reject); })); self.add_action(&stop_pomodoro_action); + + let export_csv_action = gio::SimpleAction::new("export-csv", None); + export_csv_action.connect_activate(clone!(@weak self as app => move |_, _| { + let window = FurtheranceWindow::default(); + window.open_csv_export_dialog(); + })); + self.add_action(&export_csv_action); } fn setup_application(&self) { |