If you're using your old toolbars, they will need to be updated to work with status icons. The easiest thing to do is copy the buttons from the default toolbars.
(If you don't know how to paste the definitions below on to your toolbars, see the second bullet point in How to add buttons from this forum to your toolbars for a quick step-by-step guide.)
Set Label:
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
<label>&Set Label</label>
<tip>Assign a label to a file or folder</tip>
<icon1>#setcolor</icon1>
<function type="normal">
<instruction>Properties SETLABEL !menu LABELCATEGORY raw:~(Status)</instruction>
</function>
</button>
Status:
<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
<label>Stat&us</label>
<tip>Assign icons that can be seen in the Status column.</tip>
<icon1>#status</icon1>
<function type="normal">
<instruction>Properties SETLABEL !menu LABELCATEGORY raw:Status ADDLABEL SETLABELTOGGLE</instruction>
<instruction>[</instruction>
<instruction>Set COLUMNSADD=Status(1+Name)</instruction>
<instruction>]</instruction>
</function>
</button>
The default menus have labels work the way they used to (selecting a new label will replace any existing label), and Status icons work as a toggle (selecting a new icon will add it to any existing icons, or remove it if it was already there).
If you'd like both to work as toggles, so you can combine multiple labels, paste the above commands as usual, but then open up the Set Label one and add ADDLABEL SETLABELTOGGLE
to it, so it looks like this:
The above screenshot is in simple mode, but if you click the Advanced button the dialog will grow and it's easier to see the whole line, as below. Both are the same command, just displayed differently:
Just for reference, the command on its own, inside all the XML above, is this:
Properties SETLABEL !menu LABELCATEGORY raw:~(Status)
Or this, if you want it to toggle labels:
Properties SETLABEL !menu LABELCATEGORY raw:~(Status) ADDLABEL SETLABELTOGGLE
The Status menu, inside all the XML above, is this:
Properties SETLABEL !menu LABELCATEGORY raw:Status ADDLABEL SETLABELTOGGLE
[
Set COLUMNSADD=Status(1+Name)
]
The extra bit inside the [ ... ]
is so that when you set an icon it also turns on the status icon column, so you can see the change you made.
The LABELCATEGORY
stuff makes it filter which categories it does or doesn't include in each menu. And the raw:
bit is to do with making sure the command works even if you aren't using Opus in English. You don't need raw:
if it's your own category names.