diff --git a/src/app/browser/window/tab/item/page/content/status.rs b/src/app/browser/window/tab/item/page/content/status.rs index 4e248367..5317f6de 100644 --- a/src/app/browser/window/tab/item/page/content/status.rs +++ b/src/app/browser/window/tab/item/page/content/status.rs @@ -43,8 +43,11 @@ impl Status { /// Set new description for status component /// /// Useful for loading widgets to update byte totals and other dynamically changed information - pub fn set_description(&self, description: Option<&str>) { + /// + /// Return `Self` reference to apply another functions in chain + pub fn set_description(&self, description: Option<&str>) -> &Self { self.gobject.set_description(description); + &self } // Getters