From 009123c633c4e0b820649fa40235b8ab8d1298bb Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 10 Dec 2024 21:16:49 +0200 Subject: [PATCH] update comments --- .../browser/window/tab/item/page/content/status/download.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page/content/status/download.rs b/src/app/browser/window/tab/item/page/content/status/download.rs index b0e9a11d..65f9af9f 100644 --- a/src/app/browser/window/tab/item/page/content/status/download.rs +++ b/src/app/browser/window/tab/item/page/content/status/download.rs @@ -18,13 +18,16 @@ use gtk::{ }; use std::rc::Rc; +// Defaults + const ICON_NAME: &str = "document-save-symbolic"; const STATUS_CANCELLED: &str = "Operation cancelled"; const STATUS_LOADING: &str = "Loading..."; const TITLE: &str = "Download"; /// Create new [StatusPage](https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.StatusPage.html) -/// with progress indication and UI controls +/// preset with children widget contain download UI +/// * includes progress indication and UI controls /// * applies callback function once on destination [File](https://docs.gtk.org/gio/iface.File.html) selected /// * requires external IOStream read/write implementation (depending of protocol) pub fn new(