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:
		| @ -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> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen