gtk3-demo: Fix the modelbutton example

The color menu buttons didn't have the necessary target property
to be successfully activated.
This commit is contained in:
Matthias Clasen 2016-06-19 22:56:20 -04:00
parent 2fd984987d
commit c2534af15e

View File

@ -66,6 +66,7 @@
<object class="GtkModelButton">
<property name="visible">1</property>
<property name="action-name">win.color</property>
<property name="action-target">'red'</property>
<property name="text">Red</property>
<property name="inverted">1</property>
</object>
@ -74,6 +75,7 @@
<object class="GtkModelButton">
<property name="visible">1</property>
<property name="action-name">win.color</property>
<property name="action-target">'green'</property>
<property name="text">Green</property>
<property name="inverted">1</property>
</object>
@ -82,6 +84,7 @@
<object class="GtkModelButton">
<property name="visible">1</property>
<property name="action-name">win.color</property>
<property name="action-target">'blue'</property>
<property name="text">Blue</property>
<property name="inverted">1</property>
</object>