[gnome-control-center] user-accounts: Close password change dialog
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Close password change dialog
- Date: Tue, 19 Apr 2022 15:08:50 +0000 (UTC)
commit 322bddd971f5e3de7e3dca1c2c43699e6c0ed3fb
Author: koko ng <koko kokong info>
Date: Tue Apr 19 15:08:49 2022 +0000
user-accounts: Close password change dialog
Fixes #1746
panels/user-accounts/cc-password-dialog.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]