mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-13 17:30:33 +01:00
tui: allow exiting add/edit connection dialog with ESC key
No reason this wouldn't be allowed. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1339
This commit is contained in:
parent
d3a604bbd7
commit
032683a824
2 changed files with 8 additions and 1 deletions
|
|
@ -107,6 +107,8 @@ nmt_editor_new(NMConnection *connection)
|
|||
_("Edit Connection"),
|
||||
"fullscreen-vertical",
|
||||
TRUE,
|
||||
"escape-exits",
|
||||
TRUE,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -398,7 +398,12 @@ nmt_add_connection(void)
|
|||
{
|
||||
NmtNewtForm *form;
|
||||
|
||||
form = g_object_new(NMT_TYPE_ADD_CONNECTION, "title", _("New Connection"), NULL);
|
||||
form = g_object_new(NMT_TYPE_ADD_CONNECTION,
|
||||
"title",
|
||||
_("New Connection"),
|
||||
"escape-exits",
|
||||
TRUE,
|
||||
NULL);
|
||||
nmt_newt_form_show(form);
|
||||
g_object_unref(form);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue