#include "ardour/presentation_info.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
if ((prop = node.property (X_("color"))) != 0) {
color_t c = atoi (prop->value());
if (c != _color) {
- pc.add (Properties::order);
+ pc.add (Properties::color);
_color = c;
}
}
if (c != _color) {
_color = c;
send_change (PropertyChange (Properties::color));
+ Change (); /* EMIT SIGNAL */
}
}
* this is heuristic, but it is fairly realistic. who will ever set
* a color to completely transparent black? only the constructor ..
*/
-
- return _color == 0;
+ return _color != 0;
}
void