diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2023-03-23 10:27:24 +0100 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2023-03-23 10:27:24 +0100 |
commit | 4309bac9997968f27f6bd4bad6b3e222f244a92e (patch) | |
tree | a97339c3aa29a43edea58ec5a156e9679d5d4ff0 /src | |
parent | ef353318a77ae12d51223c309cf9d2c3df6151fa (diff) | |
download | Furtherance-4309bac9997968f27f6bd4bad6b3e222f244a92e.tar.zst |
Change total time position
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/tasks_page.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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); |