Commit 0a032381 authored by Daniel Boles's avatar Daniel Boles

SpinButton: Redraw +/- buttons after :wrap changes

Otherwise, the + or - button might change sensitivity based on whether
it can be used to wrap, but without ensuring we update its state, the
ability to :wrap isn't reflected until something else triggers a draw.

#88
parent fcfabb2f
......@@ -2431,9 +2431,10 @@ gtk_spin_button_set_wrap (GtkSpinButton *spin_button,
if (priv->wrap != wrap)
{
priv->wrap = wrap;
priv->wrap = wrap;
g_object_notify (G_OBJECT (spin_button), "wrap");
g_object_notify (G_OBJECT (spin_button), "wrap");
update_node_state (spin_button);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment