aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-03 04:16:47 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-03 04:16:47 +0800
commit24e463dde53e039a571645566bea3ed7763dd305 (patch)
treef08972a18597b2c93dd6c115f3f1ca1ef063fcc4 /lib
parent856ac0d4f8a8e677fc210b21e781ae486d684363 (diff)
downloadgsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.tar
gsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.tar.gz
gsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.tar.bz2
gsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.tar.lz
gsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.tar.xz
gsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.tar.zst
gsoc2013-epiphany-24e463dde53e039a571645566bea3ed7763dd305.zip
Set sensitivity from gconf key writability, and do it right.
2003-12-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (set_info_from_pref): Set sensitivity from gconf key writability, and do it right.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-dialog.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index db5103702..0c5aa4024 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -829,10 +829,7 @@ set_info_from_pref (PropertyInfo *info)
set_info_from_value (info, &value);
g_value_unset (&value);
- if (eel_gconf_key_is_writable (info->pref) == FALSE)
- {
- set_sensitivity (info, FALSE);
- }
+ set_sensitivity (info, eel_gconf_key_is_writable (info->pref));
}
}