Try moving the "icon-id" into the "window" list as follows - I think
this is the change that worked for me.
Code:
--------------------
my $icon = Plugins::SrvrPowerCtrl::Plugin->_pluginDataFor('icon');
# create a node on the extras menu..
@menuParent = (
{ stringToken =>
Plugins::SrvrPowerCtrl::Plugin::getDisplayName(),
weight => 100,
id => 'pluginSrvrPowerCtrlMenu',
node => 'extras',
'actions' => {
'go' => {
player => 0,
cmd => [
'jivesrvrpowerctrlmenu' ],
},
},
window => { titleStyle => 'album',
'icon-id' => $icon,
},
}
);
Slim::Control::Jive::registerPluginMenu(\...@menuparent, 'extras');
--------------------
--
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=70135
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive