summaryrefslogtreecommitdiff
path: root/capplets/time-admin/src
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/time-admin/src')
-rw-r--r--capplets/time-admin/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/time-admin/src/main.c b/capplets/time-admin/src/main.c
index 9fdc2cb0..2e31a5af 100644
--- a/capplets/time-admin/src/main.c
+++ b/capplets/time-admin/src/main.c
@@ -90,7 +90,7 @@ static void UpdatePermission(TimeAdmin *ta)
is_authorized = g_permission_get_allowed (G_PERMISSION (ta->Permission));
gtk_widget_set_sensitive(ta->TimeZoneButton, is_authorized);
gtk_widget_set_sensitive(ta->NtpSyncSwitch, is_authorized);
- gtk_widget_set_sensitive(ta->SaveButton, is_authorized);
+ gtk_widget_set_sensitive(ta->SaveButton, is_authorized && !ta->NtpState);
}
static void on_permission_changed (GPermission *permission,