+ bool bar_existed = bar_p_;
+ create_bar ();
+ if (bar_existed && requested_type == "")
+ {
+ return;
+ }
+
+ String current = ly_scm2string (bar_p_->get_elt_property ("glyph"));
+
+ if ((requested_type == "|:" && current== ":|")
+ || (requested_type == ":|" && current == "|:"))
+ requested_type = ":|:";