progressbar: Apply style classes when setting direction
We might have to change .top to .left etc. when changing the direction of the progressbar.
This commit is contained in:
committed by
Matthias Clasen
parent
fe9833a2f8
commit
2d29183aa8
@@ -1132,6 +1132,7 @@ gtk_progress_bar_set_orientation (GtkProgressBar *pbar,
|
||||
priv->orientation = orientation;
|
||||
|
||||
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (pbar));
|
||||
update_node_classes (pbar);
|
||||
gtk_widget_queue_resize (GTK_WIDGET (pbar));
|
||||
|
||||
g_object_notify (G_OBJECT (pbar), "orientation");
|
||||
|
||||
Reference in New Issue
Block a user