add play action/controls

This commit is contained in:
Brandon Lewis 2010-07-22 12:05:09 +02:00 committed by Edward Hervey
parent 7bbde00c9b
commit 79a939e3cf

View file

@ -101,7 +101,6 @@
<property name="visible">True</property>
<property name="use_action_appearance">True</property>
<property name="related_action">delete</property>
<property name="accel_path">Delete</property>
<property name="use_stock">True</property>
</object>
</child>
@ -132,6 +131,18 @@
<property name="use_stock">True</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="menuitem1">
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="menuitem2">
<property name="visible">True</property>
<property name="use_action_appearance">True</property>
<property name="related_action">play</property>
</object>
</child>
</object>
</child>
</object>
@ -163,7 +174,7 @@
</packing>
</child>
<child>
<object class="GtkToolbar" id="toolbar1">
<object class="GtkToolbar" id="toolbar">
<property name="visible">True</property>
<child>
<object class="GtkToolButton" id="add_button">
@ -185,7 +196,6 @@
<property name="use_action_appearance">True</property>
<property name="label" translatable="yes">Delete</property>
<property name="use_underline">True</property>
<signal name="clicked" handler="delete_item_activate_cb"/>
</object>
<packing>
<property name="expand">False</property>
@ -201,6 +211,19 @@
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<object class="GtkToolButton" id="play_button">
<property name="visible">True</property>
<property name="related_action">play</property>
<property name="use_action_appearance">True</property>
<property name="label" translatable="yes">toolbutton1</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
@ -390,4 +413,9 @@
<property name="always_show_image">True</property>
<signal name="activate" handler="add_file_activate_cb"/>
</object>
<object class="GtkAction" id="play">
<property name="label">Play</property>
<property name="stock_id">gtk-media-play</property>
<property name="always_show_image">True</property>
</object>
</interface>