Originally Posted by
birdman
Something wrong there. Those last two entries are shown as on/off switches, but actually each has 3 possible values No, Yes(safe mode) and Yes. They are both ConfigSelection entries.
Something wrong in your skin?
No nothing wrong with the skin. With ConfigSelections it is a user option to show switches for yes/no types.
Code:
pixmap = "menu_on" if self._descr in (_('True'), _('true'), _('Yes'), _('yes'), _('Enable'), _('enable'), _('Enabled'), _('enabled'), _('On'), _('on')) else "menu_off" if self._descr in (_('False'), _('false'), _('No'), _('no'), _("Disable"), _('disable'), _('Disabled'), _('disabled'), _('Off'), _('off'), _('None'), _('none')) else None