From 4309bac9997968f27f6bd4bad6b3e222f244a92e Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Thu, 23 Mar 2023 10:27:24 +0100 Subject: Change total time position --- src/ui/tasks_page.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/tasks_page.rs b/src/ui/tasks_page.rs index b480b77..4fddb22 100644 --- a/src/ui/tasks_page.rs +++ b/src/ui/tasks_page.rs @@ -174,7 +174,9 @@ impl FurTasksPage { if !settings_manager::get_bool("show-seconds") { total_time_str = format!("{:02}:{:02}", h, m); } - group.set_description(Some(&total_time_str)); + + let total_time_label = gtk::Label::new(Some(&total_time_str)); + group.set_header_suffix(Some(&total_time_label)); } imp.all_groups.borrow_mut().push(group); -- cgit 1.4.1