diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-04-12 08:40:54 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-04-12 08:57:09 +0300 |
commit | 198aaeae1192c0536ecaa8468499488f4bffc309 (patch) | |
tree | 6c649cc915d8372077a61f202e041049f5830700 /src | |
parent | a83457814faddf91b50bf9216a74f87b5a0f9361 (diff) | |
download | Furtherance-198aaeae1192c0536ecaa8468499488f4bffc309.tar.zst |
Add Source icon
Diffstat (limited to 'src')
-rwxr-xr-x | src/ui/tasks_group.rs | 1 | ||||
-rwxr-xr-x | src/ui/tasks_page.rs | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/tasks_group.rs b/src/ui/tasks_group.rs index 86c20dc..564ecb0 100755 --- a/src/ui/tasks_group.rs +++ b/src/ui/tasks_group.rs @@ -60,7 +60,6 @@ glib::wrapper! { pub struct FurTasksGroup( ObjectSubclass<imp::FurTasksGroup>) @extends gtk::Widget, adw::PreferencesGroup; - } impl FurTasksGroup { diff --git a/src/ui/tasks_page.rs b/src/ui/tasks_page.rs index 23439eb..82819c7 100755 --- a/src/ui/tasks_page.rs +++ b/src/ui/tasks_page.rs @@ -143,11 +143,11 @@ impl FurTasksPage { for i in 0..uniq_date_list.len() { let group = FurTasksGroup::new(); if uniq_date_list[i] == today { - group.set_title(&gettext("Today")) + group.set_title(&gettext("Today")); } else if uniq_date_list[i] == yesterday{ - group.set_title(&gettext("Yesterday")) + group.set_title(&gettext("Yesterday")); } else { - group.set_title(&uniq_date_list[i]) + group.set_title(&uniq_date_list[i]); } self.add(&group); group.add_task_model(tasks_sorted_by_day[i].clone()); |