From 93d016203e148b7a4402ca3b3abcfecbb2dfcbdb Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 31 Dec 2022 19:45:03 +0530 Subject: hyperlinking the URL for the server for easy access --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 9b60cf2..071063a 100644 --- a/main.go +++ b/main.go @@ -97,7 +97,7 @@ func onActivate(app *gtk.Application) { // do this after server starts on = true buttonSwitch.SetLabel("Stop") - statusLabel.SetText(fmt.Sprintf("Serving\n%s\nOn http://localhost:%s", dir, port)) + statusLabel.SetMarkup(fmt.Sprintf("Serving\n%s\nOn http://localhost:%s", dir, dir, port)) browseButton.SetCanFocus(false) portInput.SetEditable(false) portInput.SetCanFocus(false) -- cgit v1.2.3