aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-13 04:15:18 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-13 04:15:18 +0800
commit16a1ea3350f9bec3b68393e096ed064c52c907f6 (patch)
tree6d2edc81fda4f841fe5425af10219cf71cb776a1 /lib
parentdaf9595797776944cc11626c7ac0c444a0602090 (diff)
downloadgsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.tar
gsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.tar.gz
gsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.tar.bz2
gsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.tar.lz
gsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.tar.xz
gsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.tar.zst
gsoc2013-epiphany-16a1ea3350f9bec3b68393e096ed064c52c907f6.zip
Don't set entries insensitive, only set the non-editable when the gconf
2004-02-12 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_sensitivity): Don't set entries insensitive, only set the non-editable when the gconf key isn't writable.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 341d99ac2..8aa163595 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -157,6 +157,10 @@ set_sensitivity (PropertyInfo *info, gboolean sensitive)
gtk_widget_set_sensitive (GTK_WIDGET (l->data), sensitive);
}
}
+ else if (info->widget_type == PT_EDITABLE)
+ {
+ gtk_editable_set_editable (GTK_EDITABLE (info->widget), sensitive);
+ }
else
{
gtk_widget_set_sensitive (info->widget, sensitive);