network: more info in the message

This commit is contained in:
Alfredo Monclus 2024-06-01 19:40:36 -03:00
parent a06d880f17
commit e09a4d8d43

View File

@ -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,
)