From 198aaeae1192c0536ecaa8468499488f4bffc309 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Tue, 12 Apr 2022 08:40:54 +0300 Subject: Add Source icon --- src/ui/tasks_group.rs | 1 - src/ui/tasks_page.rs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/ui') 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) @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()); -- cgit 1.4.1