diff options
author | Dan Williams <dcbw@redhat.com> | 2014-09-03 17:43:25 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2014-09-03 17:43:25 -0500 |
commit | 4c4b25d7b8e9f7c7a7abb139c9c4323589439b69 (patch) | |
tree | 8f6c961748d6a6329493b882bbc11cbd876bda68 | |
parent | 58d9d277aff796f236012f27623ceaa8ad39594f (diff) | |
download | NetworkManager-dcbw/tui-password-fixes.tar.gz |
tui: fix updating of NmtPasswordFields passwordsdcbw/tui-password-fixes
The actual entry is a sub-widget, and was getting updated when the
user changed the password, but those changes were not being
propagated to the NmtPasswordFields object's 'password' property.
-rw-r--r-- | clients/tui/nmt-password-fields.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clients/tui/nmt-password-fields.c b/clients/tui/nmt-password-fields.c index 8fba33fd97..7ef037b9de 100644 --- a/clients/tui/nmt-password-fields.c +++ b/clients/tui/nmt-password-fields.c @@ -156,6 +156,10 @@ nmt_password_fields_constructed (GObject *object) } else g_clear_object (&priv->show_password); + g_object_bind_property (priv->entry, "text", + object, "password", + G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); + G_OBJECT_CLASS (nmt_password_fields_parent_class)->constructed (object); } |