mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
revert previous change- semantic confusion
git-svn-id: svn://localhost/ardour2/branches/3.0@13736 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d1c6e8b6d8
commit
728374810d
1 changed files with 10 additions and 14 deletions
|
|
@ -1341,9 +1341,6 @@ RouteUI::set_color (const Gdk::Color & c)
|
||||||
* own pre-group colors.
|
* own pre-group colors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (g && g->is_color()) {
|
|
||||||
GroupTabs::set_group_color (g, c);
|
|
||||||
} else {
|
|
||||||
char buf[64];
|
char buf[64];
|
||||||
_color = c;
|
_color = c;
|
||||||
snprintf (buf, sizeof (buf), "%d:%d:%d", c.get_red(), c.get_green(), c.get_blue());
|
snprintf (buf, sizeof (buf), "%d:%d:%d", c.get_red(), c.get_green(), c.get_blue());
|
||||||
|
|
@ -1355,7 +1352,6 @@ RouteUI::set_color (const Gdk::Color & c)
|
||||||
gui_object_state().set_property<string> (route_state_id(), X_("color"), buf);
|
gui_object_state().set_property<string> (route_state_id(), X_("color"), buf);
|
||||||
_route->gui_changed ("color", (void *) 0); /* EMIT_SIGNAL */
|
_route->gui_changed ("color", (void *) 0); /* EMIT_SIGNAL */
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/** @return GUI state ID for things that are common to the route in all its representations */
|
/** @return GUI state ID for things that are common to the route in all its representations */
|
||||||
string
|
string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue