mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
toolbar: don't forget to set orientable style classes
So that themes can select for vertical toolbars.
This commit is contained in:
parent
04b412079a
commit
a5ddbaf1f8
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user