task(dsl): Replace colons with dashes

Colons break ini syntax highlighters and linters.
This commit is contained in:
Michael Carlberg 2016-05-26 02:14:56 +02:00
parent 3b9dc784ba
commit 2c74cb06de
28 changed files with 1096 additions and 966 deletions
src/modules

View file

@ -52,8 +52,8 @@ MpdModule::MpdModule(const std::string& name_)
this->label_time_tokenized = this->label_time->clone();
}
if (this->formatter->has(TAG_ICON_RANDOM) || this->formatter->has(TAG_ICON_REPEAT) || this->formatter->has(TAG_ICON_REPEAT_ONE)) {
this->toggle_on_color = config::get<std::string>(name(), "toggle_on:foreground", "");
this->toggle_off_color = config::get<std::string>(name(), "toggle_off:foreground", "");
this->toggle_on_color = config::get<std::string>(name(), "toggle_on-foreground", "");
this->toggle_off_color = config::get<std::string>(name(), "toggle_off-foreground", "");
}
if (this->formatter->has(TAG_LABEL_OFFLINE, FORMAT_OFFLINE))
this->label_offline = drawtypes::get_config_label(name(), get_tag_name(TAG_LABEL_OFFLINE));