Commit d7408ed8 authored by Adam Dingle's avatar Adam Dingle

Fixed #5213 (add "bottom-toolbar" class to bottom toolbar).

parent 5a9b35c2
......@@ -213,9 +213,11 @@ public abstract class Page : Gtk.ScrolledWindow {
}
public virtual Gtk.Toolbar get_toolbar() {
if (toolbar == null)
if (toolbar == null) {
toolbar = toolbar_path == null ? new Gtk.Toolbar() :
ui.get_widget(toolbar_path) as Gtk.Toolbar;
toolbar.get_style_context().add_class("bottom-toolbar"); // for elementary theme
}
return toolbar;
}
......
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