aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-dialog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index c402ca54b..f66139266 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -756,12 +756,16 @@ set_pref_from_info_and_emit (PropertyInfo *info)
static void
togglebutton_clicked_cb (GtkWidget *widget, PropertyInfo *info)
{
+ info->sane_state = TRUE;
+
set_pref_from_info_and_emit (info);
}
static void
radiobutton_clicked_cb (GtkWidget *widget, PropertyInfo *info)
{
+ info->sane_state = TRUE;
+
if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(widget)))
{
return;
@@ -796,6 +800,8 @@ spinbutton_timeout_cb (PropertyInfo *info)
* and set in the pref. Otherwise the old value is used */
gtk_spin_button_update (GTK_SPIN_BUTTON (info->widget));
+ info->sane_state = TRUE;
+
set_pref_from_info_and_emit (info);
/* done, don't run again */
@@ -832,6 +838,8 @@ spinbutton_changed_cb (GtkWidget *widget, PropertyInfo *info)
static void
changed_cb (GtkWidget *widget, PropertyInfo *info)
{
+ info->sane_state = TRUE;
+
set_pref_from_info_and_emit (info);
}