summaryrefslogtreecommitdiff
path: root/data/totem.ui
diff options
context:
space:
mode:
Diffstat (limited to 'data/totem.ui')
-rw-r--r--data/totem.ui116
1 files changed, 46 insertions, 70 deletions
diff --git a/data/totem.ui b/data/totem.ui
index 83c0bc616..8914c7c7e 100644
--- a/data/totem.ui
+++ b/data/totem.ui
@@ -4,6 +4,51 @@
<interface>
<requires lib="gtk+" version="2.20"/>
+<menu id="appmenu">
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Open</attribute>
+ <attribute name="action">app.open</attribute>
+ <attribute name="accel">&lt;Ctrl&gt;O</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">Open _Location</attribute>
+ <attribute name="action">app.open-location</attribute>
+ <attribute name="accel">&lt;Ctrl&gt;L</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Fullscreen</attribute>
+ <attribute name="action">app.fullscreen</attribute>
+ <attribute name="accel">F11</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">Prefere_nces</attribute>
+ <attribute name="action">app.preferences</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">Shuff_le</attribute>
+ <attribute name="action">app.shuffle</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Repeat</attribute>
+ <attribute name="action">app.repeat</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Quit</attribute>
+ <attribute name="action">app.quit</attribute>
+ <attribute name="accel">&lt;Ctrl&gt;Q</attribute>
+ </item>
+ </section>
+</menu>
+
<object class="GtkUIManager" id="totem-ui-manager">
<child>
<object class="GtkActionGroup" id="main-action-group">
@@ -13,23 +58,6 @@
</object>
</child>
<child>
- <object class="GtkAction" id="open">
- <property name="label" translatable="yes">_Open...</property>
- <property name="stock-id">gtk-open</property>
- <property name="tooltip" translatable="yes">Open a file</property>
- <signal name="activate" handler="open_action_callback"/>
- </object>
- <accelerator key="O" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="open-location">
- <property name="label" translatable="yes">Open _Location...</property>
- <property name="tooltip" translatable="yes">Open a non-local file</property>
- <signal name="activate" handler="open_location_action_callback"/>
- </object>
- <accelerator key="L" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
<object class="GtkAction" id="eject">
<property name="label" translatable="yes">_Eject</property>
<property name="icon-name">media-eject-symbolic</property>
@@ -56,15 +84,6 @@
</object>
<accelerator key="space" modifiers="GDK_CONTROL_MASK"/>
</child>
- <child>
- <object class="GtkAction" id="quit">
- <property name="label" translatable="yes">_Quit</property>
- <property name="stock-id">gtk-quit</property>
- <property name="tooltip" translatable="yes">Quit the program</property>
- <signal name="activate" handler="quit_action_callback"/>
- </object>
- <accelerator key="Q" modifiers="GDK_CONTROL_MASK"/>
- </child>
<child>
<object class="GtkAction" id="edit-menu">
@@ -80,14 +99,6 @@
</object>
</child>
<child>
- <object class="GtkAction" id="preferences">
- <property name="label" translatable="yes">Prefere_nces</property>
- <property name="stock-id">gtk-preferences</property>
- <property name="tooltip" translatable="yes">Configure the application</property>
- <signal name="activate" handler="preferences_action_callback"/>
- </object>
- </child>
- <child>
<object class="GtkAction" id="plugins">
<property name="label" translatable="yes">Plugins...</property>
<property name="tooltip" translatable="yes">Configure plugins to extend the application</property>
@@ -101,15 +112,6 @@
</object>
</child>
<child>
- <object class="GtkAction" id="fullscreen">
- <property name="label" translatable="yes">_Fullscreen</property>
- <property name="icon-name">view-fullscreen-symbolic</property>
- <property name="tooltip" translatable="yes">Switch to fullscreen</property>
- <signal name="activate" handler="fullscreen_action_callback"/>
- </object>
- <accelerator key="F11"/>
- </child>
- <child>
<object class="GtkAction" id="zoom-window-menu">
<property name="label" translatable="yes">Fit Window to Movie</property>
</object>
@@ -260,22 +262,6 @@
</child>
<child>
- <object class="GtkToggleAction" id="repeat-mode">
- <property name="label" translatable="yes">_Repeat Mode</property>
- <property name="tooltip" translatable="yes">Set the repeat mode</property>
- <property name="active">False</property>
- <signal name="activate" handler="repeat_mode_action_callback"/>
- </object>
- </child>
- <child>
- <object class="GtkToggleAction" id="shuffle-mode">
- <property name="label" translatable="yes">Shuff_le Mode</property>
- <property name="tooltip" translatable="yes">Set the shuffle mode</property>
- <property name="active">False</property>
- <signal name="activate" handler="shuffle_mode_action_callback"/>
- </object>
- </child>
- <child>
<object class="GtkToggleAction" id="show-controls">
<property name="label" translatable="yes">Show _Controls</property>
<property name="tooltip" translatable="yes">Show controls</property>
@@ -399,8 +385,6 @@
<ui>
<menubar name="tmw-menubar">
<menu name="movie" action="movie-menu">
- <menuitem name="open" action="open"/>
- <menuitem name="open-location" action="open-location"/>
<placeholder name="save-placeholder"/>
<placeholder name="devices-placeholder"/>
<separator name="recent-separator"/>
@@ -412,20 +396,13 @@
<menuitem name="eject" action="eject"/>
<separator/>
<menuitem name="play" action="play"/>
- <separator/>
- <menuitem name="quit" action="quit"/>
</menu>
<menu name="edit" action="edit-menu">
- <menuitem name="repeat-mode" action="repeat-mode"/>
- <menuitem name="shuffle-mode" action="shuffle-mode"/>
- <separator/>
<menuitem name="clear-playlist" action="clear-playlist"/>
<separator/>
<menuitem name="plugins" action="plugins"/>
- <menuitem name="preferences" action="preferences"/>
</menu>
<menu name="view" action="view-menu">
- <menuitem name="fullscreen" action="fullscreen"/>
<menu name="zoom-window" action="zoom-window-menu">
<menuitem name="zoom-1-2" action="zoom-1-2"/>
<menuitem name="zoom-1-1" action="zoom-1-1"/>
@@ -485,7 +462,6 @@
<menuitem name="skip-forward" action="skip-forward"/>
<menuitem name="skip-backwards" action="skip-backwards"/>
<menuitem name="show-controls" action="show-controls"/>
- <menuitem name="fullscreen" action="fullscreen"/>
<menuitem name="select-subtitle" action="select-subtitle"/>
<separator/>
<placeholder name="save-placeholder"/>
@@ -2094,7 +2070,7 @@
</child>
<action-widgets><action-widget response="-7">tpw_close_button</action-widget></action-widgets></object>
-<object class="GtkWindow" id="totem_main_window">
+<object class="GtkApplicationWindow" id="totem_main_window">
<property name="title" translatable="yes">Movie Player</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>