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 --- Cargo.lock | 8 +- .../hicolor/com.lakoliu.Furtherance.Source.svg | 803 +++++++++++++++++++++ src/ui/tasks_group.rs | 1 - src/ui/tasks_page.rs | 6 +- 4 files changed, 810 insertions(+), 8 deletions(-) create mode 100644 data/icons/hicolor/com.lakoliu.Furtherance.Source.svg diff --git a/Cargo.lock b/Cargo.lock index 7da8f8d..15a8292 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -503,9 +503,9 @@ dependencies = [ [[package]] name = "gtk4" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e841556e3fe55d8a43ada76b7b08a5f65570bbdfe3b8f72c333053b8832c626" +checksum = "eb5d40303dabe4608fc260de2bd7563da6f85bc90af956323f0cd8ae0abcfe03" dependencies = [ "bitflags", "cairo-rs", @@ -598,9 +598,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libadwaita" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d4b1d54d907dfa5d6663fdf4bdbe46c34747258b85c787adbf66187ccbaac81" +checksum = "f2ae453d28e3b91f03749f02b1531e8cfe315a1d0762b77a61797d2ab80bb87d" dependencies = [ "gdk-pixbuf", "gdk4", diff --git a/data/icons/hicolor/com.lakoliu.Furtherance.Source.svg b/data/icons/hicolor/com.lakoliu.Furtherance.Source.svg new file mode 100644 index 0000000..0d7df20 --- /dev/null +++ b/data/icons/hicolor/com.lakoliu.Furtherance.Source.svg @@ -0,0 +1,803 @@ + + + + + Adwaita Icon Template + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + GNOME Design Team + + + + + Adwaita Icon Template + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Hicolor + Symbolic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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