diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-06 12:48:21 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-06 12:48:21 +0200 |
commit | aa769c90960070a7754e23524e9569bfaa196574 (patch) | |
tree | 050eeeccf80317fd8c05fd39879081804c70bf9f /gtk2_ardour/ardour_button.cc | |
parent | ae1200716f749050d115558a984f3d4cdeb709b0 (diff) |
fix ArdourButton initialization
Diffstat (limited to 'gtk2_ardour/ardour_button.cc')
-rw-r--r-- | gtk2_ardour/ardour_button.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.cc b/gtk2_ardour/ardour_button.cc index f2c107d859..4872102c9e 100644 --- a/gtk2_ardour/ardour_button.cc +++ b/gtk2_ardour/ardour_button.cc @@ -120,8 +120,14 @@ ArdourButton::ArdourButton (const std::string& str, Element e) , _hovering (false) , _focused (false) , _fixed_colors_set (false) + , _fallthrough_to_parent (false) + , _layout_ellipsize_width (-1) + , _ellipsis (Pango::ELLIPSIZE_NONE) + , _update_colors (true) + , _pattern_height (0) { set_text (str); + ARDOUR_UI_UTILS::ColorsChanged.connect (sigc::mem_fun (*this, &ArdourButton::color_handler)); } ArdourButton::~ArdourButton() |