diff options
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r-- | lib/ephy-dialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index b080ee11a..3d2226d70 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -146,15 +146,18 @@ set_sensitivity (PropertyInfo *info, gboolean sensitive) for (l = list; l != NULL; l = l->next) { + sensitive = gtk_widget_is_sensitive (GTK_WIDGET (l->data)) && sensitive; gtk_widget_set_sensitive (GTK_WIDGET (l->data), sensitive); } } else if (info->widget_type == PT_EDITABLE) { + sensitive = gtk_widget_is_sensitive (info->widget) && sensitive; gtk_editable_set_editable (GTK_EDITABLE (info->widget), sensitive); } else { + sensitive = gtk_widget_is_sensitive (info->widget) && sensitive; gtk_widget_set_sensitive (info->widget, sensitive); } } |