Fix indent in states of buttons

This commit is contained in:
Cédric Krier
2009-09-25 18:36:47 +02:00
parent 69b14b9b70
commit f3d71ce308
+6 -6
View File
@@ -408,37 +408,37 @@ this repository contains the full copyright notices and license terms. -->
expr="/form/group/button[@name="button_install"]"
position="replace">
<button string="Mark for Installation" name="button_install"
type="object" states="{'invisible': '''state != 'uninstalled' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
type="object" states="{'invisible': '''state != 'uninstalled' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
</xpath>
<xpath
expr="/form/group/button[@name=&quot;button_install_cancel&quot;]"
position="replace">
<button string="Cancel Installation" name="button_install_cancel"
type="object" states="{'invisible': '''state != 'to install' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
type="object" states="{'invisible': '''state != 'to install' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
</xpath>
<xpath
expr="/form/group/button[@name=&quot;button_uninstall&quot;]"
position="replace">
<button string="Mark for Uninstallation (beta)" name="button_uninstall"
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': ''' %(res.group_admin)d not in groups or True'''}"/>
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': '''%(res.group_admin)d not in groups or True'''}"/>
</xpath>
<xpath
expr="/form/group/button[@name=&quot;button_uninstall_cancel&quot;]"
position="replace">
<button string="Cancel Uninstallation" name="button_uninstall_cancel"
type="object" states="{'invisible': '''state != 'to remove' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
type="object" states="{'invisible': '''state != 'to remove' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
</xpath>
<xpath
expr="/form/group/button[@name=&quot;button_upgrade&quot;]"
position="replace">
<button string="Mark for Upgrade" name="button_upgrade"
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
</xpath>
<xpath
expr="/form/group/button[@name=&quot;button_upgrade_cancel&quot;]"
position="replace">
<button string="Cancel Upgrade" name="button_upgrade_cancel"
type="object" states="{'invisible': '''state != 'to upgrade' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
type="object" states="{'invisible': '''state != 'to upgrade' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
</xpath>
</data>
]]>