]> Pileus Git - ~andy/gtk/commit
GtkComboBoxText: allow id='' tag in builder markup
authorRyan Lortie <desrt@desrt.ca>
Wed, 4 Jan 2012 21:32:39 +0000 (16:32 -0500)
committerRyan Lortie <desrt@desrt.ca>
Wed, 4 Jan 2012 22:00:35 +0000 (17:00 -0500)
commit0ea48c4139aa8651cb8a94ee7f20e2a60b53bb15
tree1d5c5274fe0f06d05f30803659f8ba0bf4e880be
parenteeb9de80e17d1915d877c98eabd9a9a1f4423e9c
GtkComboBoxText: allow id='' tag in builder markup

Presently, GtkComboBoxText lets you list the items for it in the
GtkBuilder markup like so:

<items>
  <item translatable='yes'>Red</item>
  <item translatable='yes'>Blue</item>
</items>

but has no way to set the "id" column for added items.  Add an id='' tag
for that purpose so that you can do:

  <item id='red' translatable='yes'>Red</item>

https://bugzilla.gnome.org/show_bug.cgi?id=667319
gtk/gtkcomboboxtext.c