diff options
author | Mohammed Sadiq <sadiq@sadiqpk.org> | 2023-03-10 16:24:49 +0530 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2023-03-22 14:20:45 +0100 |
commit | 9f341d061d98562a8f604386c74d73664e383fef (patch) | |
tree | c70e90926f23dc8c93b5b6214c86cf938335ec32 | |
parent | 357b042ae3c949a09bcc4ee55d3df33927e6ab9a (diff) | |
download | gnome-control-center-9f341d061d98562a8f604386c74d73664e383fef.tar.gz |
common: hostname-entry: Update hostname only after apply is clicked
Since the entry already shows an apply button, update hostname only
after the apply button is clicked. It's not required to update
hostname after every character change.
-rw-r--r-- | panels/common/cc-hostname-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/common/cc-hostname-entry.c b/panels/common/cc-hostname-entry.c index b5c0a87d3..64af58e7f 100644 --- a/panels/common/cc-hostname-entry.c +++ b/panels/common/cc-hostname-entry.c @@ -234,7 +234,7 @@ cc_hostname_entry_constructed (GObject *object) else gtk_editable_set_text (GTK_EDITABLE (self), ""); - g_signal_connect (self, "changed", G_CALLBACK (text_changed_cb), NULL); + g_signal_connect (self, "apply", G_CALLBACK (text_changed_cb), NULL); adw_entry_row_set_show_apply_button (ADW_ENTRY_ROW (self), TRUE); } |