Update layout when toggling "use max width"
authorThomas White <taw@bitwiz.org.uk>
Fri, 12 Aug 2011 22:51:43 +0000 (00:51 +0200)
committerThomas White <taw@bitwiz.org.uk>
Fri, 12 Aug 2011 22:51:43 +0000 (00:51 +0200)
src/stylesheet.c

index 52cb556..46167a1 100644 (file)
@@ -252,6 +252,7 @@ static void use_max_toggled_sig(GtkToggleButton *combo,
        s->cur_layout_element->use_max_width = v;
        gtk_widget_set_sensitive(s->max_width,
                                 s->cur_layout_element->use_max_width);
+       notify_layout_update(s->p, s->cur_layout_element);
 }