network: more info in the message
This commit is contained in:
parent
a06d880f17
commit
e09a4d8d43
@ -22,9 +22,15 @@ class Panel(ScreenPanel):
|
|||||||
hexpand=True,
|
hexpand=True,
|
||||||
vexpand=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(
|
self.error_box.add(
|
||||||
Gtk.Label(
|
Gtk.Label(
|
||||||
label=_("Failed to initialize") + f"\n{e}",
|
label=message,
|
||||||
wrap=True,
|
wrap=True,
|
||||||
wrap_mode=Pango.WrapMode.WORD_CHAR,
|
wrap_mode=Pango.WrapMode.WORD_CHAR,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user