diff options
author | koko ng <koko@kokong.info> | 2022-04-19 15:08:49 +0000 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2022-04-19 15:08:49 +0000 |
commit | 322bddd971f5e3de7e3dca1c2c43699e6c0ed3fb (patch) | |
tree | f596d1d1f23b54b0a3c8aca01b4f3e32cd305e8b /panels | |
parent | 51faf7090eae21b45b60e8ee85689a4327dd6e22 (diff) | |
download | gnome-control-center-322bddd971f5e3de7e3dca1c2c43699e6c0ed3fb.tar.gz |
user-accounts: Close password change dialog
Fixes #1746
Diffstat (limited to 'panels')
-rw-r--r-- | panels/user-accounts/cc-password-dialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/panels/user-accounts/cc-password-dialog.c b/panels/user-accounts/cc-password-dialog.c index 5380936f0..0f3ab35a2 100644 --- a/panels/user-accounts/cc-password-dialog.c +++ b/panels/user-accounts/cc-password-dialog.c @@ -124,7 +124,7 @@ password_changed_cb (PasswdHandler *handler, gtk_widget_set_sensitive (GTK_WIDGET (self), TRUE); if (!error) { - gtk_dialog_response (GTK_DIALOG (self), GTK_RESPONSE_ACCEPT); + gtk_window_close (GTK_WINDOW (self)); return; } @@ -191,6 +191,8 @@ ok_button_clicked_cb (CcPasswordDialog *self) default: g_assert_not_reached (); } + + gtk_window_close (GTK_WINDOW (self)); } static void |