projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae12007
)
fix ArdourButton initialization
author
Robin Gareus
<robin@gareus.org>
Sat, 6 Sep 2014 10:48:21 +0000
(12:48 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 6 Sep 2014 10:48:21 +0000
(12:48 +0200)
gtk2_ardour/ardour_button.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_button.cc
b/gtk2_ardour/ardour_button.cc
index f2c107d859134b8ae09a8b2fc3af70817793a996..4872102c9e38b8970115a24df64881adf1eadd50 100644
(file)
--- 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()