mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
connect to move_{up,down actions
This commit is contained in:
parent
d14f1f11c5
commit
848b15eb8c
2 changed files with 44 additions and 27 deletions
|
@ -98,6 +98,8 @@ void quit_item_activate_cb (GtkMenuItem * item, App * app);
|
||||||
void delete_activate_cb (GtkAction * item, App * app);
|
void delete_activate_cb (GtkAction * item, App * app);
|
||||||
void play_activate_cb (GtkAction * item, App * app);
|
void play_activate_cb (GtkAction * item, App * app);
|
||||||
void stop_activate_cb (GtkAction * item, App * app);
|
void stop_activate_cb (GtkAction * item, App * app);
|
||||||
|
void move_up_activate_cb (GtkAction * item, App * app);
|
||||||
|
void move_down_activate_cb (GtkAction * item, App * app);
|
||||||
void add_file_activate_cb (GtkAction * item, App * app);
|
void add_file_activate_cb (GtkAction * item, App * app);
|
||||||
void add_text_activate_cb (GtkAction * item, App * app);
|
void add_text_activate_cb (GtkAction * item, App * app);
|
||||||
void add_test_activate_cb (GtkAction * item, App * app);
|
void add_test_activate_cb (GtkAction * item, App * app);
|
||||||
|
@ -1051,6 +1053,16 @@ stop_activate_cb (GtkAction * item, App * app)
|
||||||
app_stop_playback (app);
|
app_stop_playback (app);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
move_up_activate_cb (GtkAction * item, App * app)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
move_down_activate_cb (GtkAction * item, App * app)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
app_selection_changed_cb (GtkTreeSelection * selection, App * app)
|
app_selection_changed_cb (GtkTreeSelection * selection, App * app)
|
||||||
{
|
{
|
||||||
|
|
|
@ -134,8 +134,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="delete_item">
|
<object class="GtkImageMenuItem" id="delete_item">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">delete</property>
|
<property name="related_action">delete</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -162,22 +162,22 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuItem" id="add_file_item">
|
<object class="GtkMenuItem" id="add_file_item">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_file</property>
|
<property name="related_action">add_file</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuItem" id="menuitem4">
|
<object class="GtkMenuItem" id="menuitem4">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_text</property>
|
<property name="related_action">add_text</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="menuitem5">
|
<object class="GtkImageMenuItem" id="menuitem5">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_test</property>
|
<property name="related_action">add_test</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -185,8 +185,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="imagemenuitem1">
|
<object class="GtkImageMenuItem" id="imagemenuitem1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_transition</property>
|
<property name="related_action">add_transition</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -199,16 +199,18 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="menuitem8">
|
<object class="GtkImageMenuItem" id="menuitem8">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">move_up</property>
|
<property name="related_action">move_up</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="menuitem9">
|
<object class="GtkImageMenuItem" id="menuitem9">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">move_down</property>
|
<property name="related_action">move_down</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -221,8 +223,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="menuitem2">
|
<object class="GtkImageMenuItem" id="menuitem2">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">play</property>
|
<property name="related_action">play</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -230,8 +232,9 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImageMenuItem" id="menuitem6">
|
<object class="GtkImageMenuItem" id="menuitem6">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">stop</property>
|
<property name="related_action">stop</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
<property name="use_stock">True</property>
|
<property name="use_stock">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
@ -271,8 +274,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="play_button">
|
<object class="GtkToolButton" id="play_button">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">play</property>
|
<property name="related_action">play</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton1</property>
|
<property name="label" translatable="yes">toolbutton1</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -284,8 +287,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton6">
|
<object class="GtkToolButton" id="toolbutton6">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">stop</property>
|
<property name="related_action">stop</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton6</property>
|
<property name="label" translatable="yes">toolbutton6</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -306,8 +309,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="delete_button">
|
<object class="GtkToolButton" id="delete_button">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">delete</property>
|
<property name="related_action">delete</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">Delete</property>
|
<property name="label" translatable="yes">Delete</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -328,8 +331,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="add_button">
|
<object class="GtkToolButton" id="add_button">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_file</property>
|
<property name="related_action">add_file</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton1</property>
|
<property name="label" translatable="yes">toolbutton1</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -341,8 +344,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton2">
|
<object class="GtkToolButton" id="toolbutton2">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_text</property>
|
<property name="related_action">add_text</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton2</property>
|
<property name="label" translatable="yes">toolbutton2</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -354,8 +357,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton4">
|
<object class="GtkToolButton" id="toolbutton4">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_test</property>
|
<property name="related_action">add_test</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton4</property>
|
<property name="label" translatable="yes">toolbutton4</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -367,8 +370,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton5">
|
<object class="GtkToolButton" id="toolbutton5">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">add_transition</property>
|
<property name="related_action">add_transition</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton5</property>
|
<property name="label" translatable="yes">toolbutton5</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -389,8 +392,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton8">
|
<object class="GtkToolButton" id="toolbutton8">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">move_up</property>
|
<property name="related_action">move_up</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton8</property>
|
<property name="label" translatable="yes">toolbutton8</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -402,8 +405,8 @@
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToolButton" id="toolbutton9">
|
<object class="GtkToolButton" id="toolbutton9">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="use_action_appearance">True</property>
|
|
||||||
<property name="related_action">move_down</property>
|
<property name="related_action">move_down</property>
|
||||||
|
<property name="use_action_appearance">True</property>
|
||||||
<property name="label" translatable="yes">toolbutton9</property>
|
<property name="label" translatable="yes">toolbutton9</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
@ -843,16 +846,16 @@
|
||||||
<object class="GtkTreeSelection" id="selection"/>
|
<object class="GtkTreeSelection" id="selection"/>
|
||||||
<object class="GtkSizeGroup" id="LabelSizeGroup">
|
<object class="GtkSizeGroup" id="LabelSizeGroup">
|
||||||
<widgets>
|
<widgets>
|
||||||
<widget name="label4"/>
|
|
||||||
<widget name="label_inpoint"/>
|
|
||||||
<widget name="label_duration"/>
|
|
||||||
<widget name="label_duration"/>
|
|
||||||
<widget name="label_inpoint"/>
|
|
||||||
<widget name="label2"/>
|
|
||||||
<widget name="label3"/>
|
|
||||||
<widget name="label4"/>
|
|
||||||
<widget name="label5"/>
|
|
||||||
<widget name="label6"/>
|
<widget name="label6"/>
|
||||||
|
<widget name="label5"/>
|
||||||
|
<widget name="label4"/>
|
||||||
|
<widget name="label3"/>
|
||||||
|
<widget name="label2"/>
|
||||||
|
<widget name="label_inpoint"/>
|
||||||
|
<widget name="label_duration"/>
|
||||||
|
<widget name="label_duration"/>
|
||||||
|
<widget name="label_inpoint"/>
|
||||||
|
<widget name="label4"/>
|
||||||
</widgets>
|
</widgets>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkAction" id="delete">
|
<object class="GtkAction" id="delete">
|
||||||
|
@ -921,10 +924,12 @@
|
||||||
<property name="label">Move Selected Up</property>
|
<property name="label">Move Selected Up</property>
|
||||||
<property name="short_label">Move Up</property>
|
<property name="short_label">Move Up</property>
|
||||||
<property name="stock_id">gtk-go-up</property>
|
<property name="stock_id">gtk-go-up</property>
|
||||||
|
<signal name="activate" handler="move_up_activate_cb"/>
|
||||||
</object>
|
</object>
|
||||||
<object class="GtkAction" id="move_down">
|
<object class="GtkAction" id="move_down">
|
||||||
<property name="label">Move Selected Down</property>
|
<property name="label">Move Selected Down</property>
|
||||||
<property name="short_label">Move Down</property>
|
<property name="short_label">Move Down</property>
|
||||||
<property name="stock_id">gtk-go-down</property>
|
<property name="stock_id">gtk-go-down</property>
|
||||||
|
<signal name="activate" handler="move_down_activate_cb"/>
|
||||||
</object>
|
</object>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
Loading…
Reference in a new issue