From de08e7b8c90e2eba14e3ed6e05355f1a81f61298 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 20 Dec 2020 12:29:40 +0100 Subject: LibGUI: Rename ProgressBar property caption => text and expose to GML --- Applications/FileManager/FileManagerWindow.gml | 1 + Applications/FileManager/main.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'Applications') diff --git a/Applications/FileManager/FileManagerWindow.gml b/Applications/FileManager/FileManagerWindow.gml index bc6c403724..3e38c907f0 100644 --- a/Applications/FileManager/FileManagerWindow.gml +++ b/Applications/FileManager/FileManagerWindow.gml @@ -48,6 +48,7 @@ @GUI::ProgressBar { name: "progressbar" + text: "Generating thumbnails: " visible: false } } diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index 8edaa8211d..99d387217d 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -341,7 +341,6 @@ int run_in_windowed_mode(RefPtr config, String initial_locatio auto& statusbar = (GUI::StatusBar&)*widget.find_descendant_by_name("statusbar"); auto& progressbar = (GUI::ProgressBar&)*widget.find_descendant_by_name("progressbar"); - progressbar.set_caption("Generating thumbnails: "); progressbar.set_format(GUI::ProgressBar::Format::ValueSlashMax); progressbar.set_frame_shape(Gfx::FrameShape::Panel); progressbar.set_frame_shadow(Gfx::FrameShadow::Sunken); -- cgit v1.2.3