Package: libnma / 1.10.6-7

Metadata

Package Version Patches format
libnma 1.10.6-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
ui utils avoid unnecessary filling password.patch | (download)

src/nma-ui-utils.c | 10 8 + 2 - 0 !
1 file changed, 8 insertions(+), 2 deletions(-)

 ui-utils: avoid unnecessary filling password

Consumers of libnma (gnome-control-center and nm-connection-editor)
re-fill a connections settings back into the UI, whenever a "changed"
signal gets emitted and the change results in a valid configuration.
Thus we need to carefully avoid triggering more "changed" signals
while (automatically) filling data into the password field.

In gtk3, gtk_editable_set_text took care of it automatically. Here, it
doesn't trigger a signal if the new text is equal to the old text.

In gtk4 however, the "changed" signal is triggered even when the old and
the new text match. Therefore we add explicit checks before setting the
text in the password field to account for this updated behaviour.

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2109
https://gitlab.gnome.org/GNOME/libnma/-/merge_requests/52
(cherry picked from commit d48911ca5f7ad4fbc44fef08df57e5fd844ba862)

Fix header includes.patch | (download)

src/nma-bar-code-widget.h | 2 2 + 0 - 0 !
src/nma-mobile-wizard.h | 1 1 + 0 - 0 !
2 files changed, 3 insertions(+)

 fix header includes

Those header files use Gtk* or NMConnection, so need the proper
includes.

Fixes: #26