Fix bug #4877 (Some harmless code quirks involving booleans)

This commit is contained in:
Dana Jansens 2011-01-28 13:25:32 -05:00
parent 2288da0ae3
commit 5b2ed63cb4
2 changed files with 10 additions and 2 deletions

View file

@ -171,7 +171,7 @@
<xsd:element minOccurs="0" name="edge" type="xsd:string"/>
<xsd:element minOccurs="0" name="wrap" type="ob:bool"/>
<xsd:element minOccurs="0" name="follow" type="ob:bool"/>
<xsd:element minOccurs="0" name="dialog" type="ob:bool"/>
<xsd:element minOccurs="0" name="dialog" type="ob:dialogtype"/>
<xsd:element minOccurs="0" name="panels" type="ob:bool"/>
<xsd:element minOccurs="0" name="here" type="ob:bool"/>
<xsd:element minOccurs="0" name="linear" type="ob:bool"/>
@ -541,4 +541,11 @@
<xsd:enumeration value="Nonpixel"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="dialogtype">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Icons"/>
<xsd:enumeration value="List"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

View file

@ -93,7 +93,8 @@ void focus_cycle_reorder()
focus_cycle_update_indicator(focus_cycle_target);
if (!focus_cycle_target)
focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
TRUE, TRUE, TRUE, TRUE, TRUE);
TRUE, TRUE, OB_FOCUS_CYCLE_POPUP_MODE_NONE,
TRUE, TRUE);
}
}