[gtk+/wip/baedert/drawing: 196/306] progressbar: Apply style classes when setting direction
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 196/306] progressbar: Apply style classes when setting direction
- Date: Fri, 23 Jun 2017 20:13:24 +0000 (UTC)
commit 23db904666b02e8acde520c663e8c3ab4df2871c
Author: Timm Bäder <mail baedert org>
Date: Sun May 14 08:05:55 2017 +0200
progressbar: Apply style classes when setting direction
We might have to change .top to .left etc. when changing the direction
of the progressbar.
gtk/gtkprogressbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index b1449c0..3998f29 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]