From e09a4d8d4394228bfc4627bf7b95923cc5b2c682 Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Sat, 1 Jun 2024 19:40:36 -0300 Subject: [PATCH] network: more info in the message --- panels/network.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/panels/network.py b/panels/network.py index 55f13428..d4390afb 100644 --- a/panels/network.py +++ b/panels/network.py @@ -22,9 +22,15 @@ class Panel(ScreenPanel): hexpand=True, vexpand=True ) + message = ( + _("Failed to initialize") + "\n" + + "This panel needs NetworkManager installed into the system\n" + + "And the apropriate permissions, without them it will not function.\n" + + f"\n{e}\n" + ) self.error_box.add( Gtk.Label( - label=_("Failed to initialize") + f"\n{e}", + label=message, wrap=True, wrap_mode=Pango.WrapMode.WORD_CHAR, )