diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-02-13 04:15:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-02-13 04:15:18 +0800 |
commit | 16a1ea3350f9bec3b68393e096ed064c52c907f6 (patch) | |
tree | 6d2edc81fda4f841fe5425af10219cf71cb776a1 | |
parent | daf9595797776944cc11626c7ac0c444a0602090 (diff) | |
download | gsoc2013-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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/ephy-dialog.c | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,12 @@ 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. + +2004-02-12 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): 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); |