summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Borges <felipeborges@gnome.org>2023-04-20 11:21:18 +0200
committerFelipe Borges <felipeborges@gnome.org>2023-04-20 14:08:29 +0000
commit7e12d653ba5eff6dc849ce937fa4820bb8008b7f (patch)
treea3d5eca40f1fb0fb9b6d422fcb604f5a687ef8df
parent61ba210c99c7569a8b93c291e09941915191a840 (diff)
downloadgnome-control-center-7e12d653ba5eff6dc849ce937fa4820bb8008b7f.tar.gz
common: Don't set the CcHostnameEntry widget sensitivity twice
-rw-r--r--panels/common/cc-hostname-entry.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/panels/common/cc-hostname-entry.c b/panels/common/cc-hostname-entry.c
index 64af58e7f..9422e2393 100644
--- a/panels/common/cc-hostname-entry.c
+++ b/panels/common/cc-hostname-entry.c
@@ -207,9 +207,6 @@ cc_hostname_entry_constructed (GObject *object)
gtk_widget_set_sensitive (GTK_WIDGET (self), FALSE);
}
- gtk_widget_set_sensitive (GTK_WIDGET (self),
- g_permission_get_allowed (permission));
-
self->hostnamed_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
G_DBUS_PROXY_FLAGS_NONE,
NULL,