Modify

Ticket #10332 (accepted Patch - Feature)

Opened 15 months ago

Last modified 8 months ago

Enable/Disable a MythUIButtonListItem

Reported by: Xavier Hervy <xavier.hervy@…> Owned by: stuartm
Priority: minor Milestone: 0.27
Component: MythTV - User Interface Library Version: Master Head
Severity: medium Keywords: MythUIButtonListItem
Cc: Ticket locked: no

Description

This patch allow to enable/disable a MythUIButtonListItem. It does use 2 new states: disabledactive and disabledinactive This patch is used by mythfrontend setup #10092

Attachments

MythUIButtonListItem_disable.diff (9.4 KB) - added by Xavier Hervy <xavier.hervy@…> 15 months ago.
MythUIButtonListItem_enabled-2012-03-08.diff (10.4 KB) - added by Xavier Hervy <xavier.hervy@…> 15 months ago.
Fix bug spotted by Mark Kendhal

Change History

Changed 15 months ago by Xavier Hervy <xavier.hervy@…>

comment:1 Changed 15 months ago by stuartm

  • Status changed from new to accepted
  • Milestone changed from unknown to 0.26

comment:2 Changed 15 months ago by Xavier Hervy <xavier.hervy@…>

There is two bugs in this patch which I would need to sort out:

  • If the first item is disabled, it still get the focus a the beginning
  • If the first item is disabled and the second on is selected, going up produce an index out of range

I wrote this comment as a reminder for myself

Changed 15 months ago by Xavier Hervy <xavier.hervy@…>

Fix bug spotted by Mark Kendhal

comment:3 Changed 8 months ago by kenni

  • Milestone changed from 0.26 to 0.27
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.