~elementary-pantheon/granite/granite

Viewing all changes in revision 422.

  • Committer: Cody Garver
  • Author(s): Victor Eduardo
  • Date: 2012-10-26 16:07:06 UTC
  • mfrom: (412.1.1 granite)
  • Revision ID: codygarver@gmail.com-20121026160706-l720y3aw8df6jecx
This fixes Bug #1066136: Removing an item from the ModeButton widget renders consecutive item indexes invalid.

The approach followed here is using an internal hash map to keep a strong key-item association, and smarter code for creating a new index in ModeButton.append().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: