notify when route group/group tab color changes
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 6 Dec 2011 21:40:11 +0000 (21:40 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 6 Dec 2011 21:40:11 +0000 (21:40 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10912 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/group_tabs.cc

index 08dfe539a2179f36433d0a705742993eaae86a20..2f4dd7adc3b5c910beb0d4d6b4a01f71f28d3542 100644 (file)
@@ -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