summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-05 23:44:30 +0200
committerRobin Gareus <robin@gareus.org>2014-09-05 23:44:30 +0200
commitdcb495676f84c90de97150a4cb5b88e17f2493f6 (patch)
treea05dd3e7c963e2c5b4d069ccebf53dd2a96fa311 /gtk2_ardour
parent42ef3cab328b922c897fcc1da9b4f33f21279c44 (diff)
never change button element name.
changing the name overrides font style.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_button.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_button.cc b/gtk2_ardour/ardour_button.cc
index b60cf0b85a..7d42726884 100644
--- a/gtk2_ardour/ardour_button.cc
+++ b/gtk2_ardour/ardour_button.cc
@@ -663,8 +663,8 @@ void ArdourButton::set_fixed_colors (const uint32_t color_active, const uint32_t
/* XXX what about led colors ? */
- build_patterns ();
- set_name (""); /* this will trigger a "style-changed" message and then set_colors() */
+ /* trigger a "style-changed" message */
+ on_name_changed();
}
void