Anyone knows how to create a true separator item in a AppInfo.xml file (RoxApps XML) ?
Currently I'm using a fake separator item:
Code: Select all
<!-- Separator -->
<Item icon="noicon" option="-noaction">
<Label></Label>
</Item>
Thanks.
Code: Select all
<!-- Separator -->
<Item icon="noicon" option="-noaction">
<Label></Label>
</Item>
Pure Joy!Ok, I see. Lots of experts over here.
OK, you are using a fake item, but this gets you a nice, true separator, so where is the problem?LazY Puppy wrote:Currently I'm using a fake separator item:
...
Though, would like to use a true separator item instead.
Code: Select all
<?xml version="1.0"?>
<AppInfo>
<AppMenu>
<Item option="-p=Default">
<Label>Enable pinboard</Label>
</Item>
<Item><Label></Label></Item>
<Item option="-p=">
<Label>Disable pinboard</Label>
</Item>
</AppMenu>
</AppInfo>
AppInfo.xml wrote:<!-- Separator -->
<Item icon="noicon" option="-noaction">
<Label></Label>
</Item>
Using this for years now, though just thought to update this somehow...AppRun wrote:# The-RoxAppMenu-Separator-Item - do not change or remove this !!!
-noaction) # No Action for the fake separator item
echo "Separator clicked" >/dev/null
;;
Code: Select all
<Item option="-p=Default">
<Label>Enable pinboard
---------------------</Label>
</Item>