From fe9f283041ed8544aebae6739b6761390dc9fb27 Mon Sep 17 00:00:00 2001 From: musiclover Date: Mon, 4 Apr 2022 14:37:47 +0200 Subject: Small fix in UI Move Delete button to the right in the Delete All? dialog --- src/ui/task_details.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/task_details.rs') diff --git a/src/ui/task_details.rs b/src/ui/task_details.rs index 62438d3..7e306e8 100755 --- a/src/ui/task_details.rs +++ b/src/ui/task_details.rs @@ -467,8 +467,8 @@ impl FurTaskDetails { ); dialog.set_secondary_text(Some(&gettext("This will delete all occurrences of this task on this day."))); dialog.add_buttons(&[ - (&gettext("Delete"), gtk::ResponseType::Accept), - (&gettext("Cancel"), gtk::ResponseType::Reject) + (&gettext("Cancel"), gtk::ResponseType::Reject), + (&gettext("Delete"), gtk::ResponseType::Accept) ]); dialog.connect_response(clone!(@strong dialog => move |_,resp|{ -- cgit 1.4.1