From 24e463dde53e039a571645566bea3ed7763dd305 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 2 Dec 2003 20:16:47 +0000 Subject: Set sensitivity from gconf key writability, and do it right. 2003-12-02 Christian Persch * lib/ephy-dialog.c: (set_info_from_pref): Set sensitivity from gconf key writability, and do it right. --- ChangeLog | 6 ++++++ lib/ephy-dialog.c | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba263ab90..8a7ea5031 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-12-02 Christian Persch + + * lib/ephy-dialog.c: (set_info_from_pref): + + Set sensitivity from gconf key writability, and do it right. + 2003-12-02 David Bordoley * help/C/epiphany.xml: 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)); } } -- cgit v1.2.3