From 103b3456a445c3056b41c74557f18f87077c07c1 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 20 Nov 2024 16:38:24 +0200 Subject: [PATCH] update comments --- .../window/tab/item/identity/gemini/widget/form/list.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs index acfadd7c..32425943 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/list.rs @@ -28,7 +28,7 @@ impl List { let factory = SignalListItemFactory::new(); factory.connect_setup(|_, gobject| { - // Init row widget for dropdown item + // Init widget for dropdown item let widget = Box::builder() .orientation(gtk::Orientation::Vertical) .build(); @@ -44,7 +44,7 @@ impl List { .build(), ); - // Update menu item + // Done gobject .downcast_ref::() .unwrap() @@ -57,7 +57,7 @@ impl List { let item = list_item.item().and_downcast::().unwrap(); let container = list_item.child().and_downcast::().unwrap(); - // Update Title (expected as the first child) + // Update `title` (expected as the first child) container .first_child() .unwrap() @@ -65,7 +65,7 @@ impl List { .unwrap() .set_label(&item.title()); - // Update Subtitle (expected as the last child) + // Update `subtitle` (expected as the last child) container .last_child() .unwrap()