[gtk+] toolbar: don't forget to set orientable style classes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] toolbar: don't forget to set orientable style classes
- Date: Wed, 10 Oct 2012 15:42:31 +0000 (UTC)
commit a5ddbaf1f8c5e6135f1e709f1965b412ff2b8c26
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Oct 10 11:36:28 2012 -0400
toolbar: don't forget to set orientable style classes
So that themes can select for vertical toolbars.
gtk/gtktoolbar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index e184c06..56350e5 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -44,6 +44,7 @@
#include "gtkmarshalers.h"
#include "gtkmenu.h"
#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
#include "gtkradiobutton.h"
#include "gtkradiotoolbutton.h"
#include "gtkseparatormenuitem.h"
@@ -2578,6 +2579,7 @@ gtk_toolbar_orientation_changed (GtkToolbar *toolbar,
gtk_toolbar_reconfigured (toolbar);
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (toolbar));
gtk_widget_queue_resize (GTK_WIDGET (toolbar));
g_object_notify (G_OBJECT (toolbar), "orientation");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]