summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-06 21:40:11 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-06 21:40:11 +0000
commit78db8a94453272a964c51218b858ed53a1769d47 (patch)
tree6691470f43b30ae9f1d11f050e7c9efd3c2592fd
parent946dc070f8ac13308ddf040e13e1da2d4b914c8d (diff)
notify when route group/group tab color changes
git-svn-id: svn://localhost/ardour2/branches/3.0@10912 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/group_tabs.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/group_tabs.cc b/gtk2_ardour/group_tabs.cc
index 08dfe539a2..2f4dd7adc3 100644
--- a/gtk2_ardour/group_tabs.cc
+++ b/gtk2_ardour/group_tabs.cc
@@ -543,6 +543,12 @@ GroupTabs::set_group_color (RouteGroup* group, Gdk::Color color)
char buf[64];
snprintf (buf, sizeof (buf), "%d:%d:%d", color.get_red(), color.get_green(), color.get_blue());
gui_state.set (group_gui_id (group), "color", buf);
+
+ /* the group color change notification */
+
+ PBD::PropertyChange change;
+ change.add (Properties::color);
+ group->PropertyChanged (change);
/* This is a bit of a hack, but this might change
our route's effective color, so emit gui_changed