mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
[Progressing] Topbar buttons
This commit is contained in:
parent
88639c0168
commit
e69e36ceaa
2 changed files with 10 additions and 2 deletions
|
|
@ -43,7 +43,14 @@ WavesDropdown::add_menu_item (const std::string& item, void* cookie)
|
|||
|
||||
items.push_back (Gtk::Menu_Helpers::MenuElem (item, sigc::bind (sigc::mem_fun(*this, &WavesDropdown::_on_menu_item), items.size (), cookie)));
|
||||
|
||||
return _menu.items ().back ();
|
||||
Gtk::MenuItem& menuitem = _menu.items ().back ();
|
||||
ensure_style();
|
||||
Widget* child = menuitem.get_child ();
|
||||
if (child) {
|
||||
child->set_style (get_style());
|
||||
}
|
||||
|
||||
return menuitem;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue