consistency for dock layer naming

This commit is contained in:
Mikael Magnusson 2007-04-25 15:44:49 +00:00
parent c8983c42a7
commit a744deeee3
2 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Top</stacking>
<stacking>Above</stacking>
<direction>Vertical</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide>

View file

@ -598,11 +598,11 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
config_dock_nostrut = parse_bool(doc, n);
}
if ((n = parse_find_node("stacking", node))) {
if (parse_contains("top", doc, n))
if (parse_contains("above", doc, n))
config_dock_layer = OB_STACKING_LAYER_ABOVE;
else if (parse_contains("normal", doc, n))
config_dock_layer = OB_STACKING_LAYER_NORMAL;
else if (parse_contains("bottom", doc, n))
else if (parse_contains("below", doc, n))
config_dock_layer = OB_STACKING_LAYER_BELOW;
}
if ((n = parse_find_node("direction", node))) {