428 lines
19 KiB
XML
428 lines
19 KiB
XML
<?xml version="1.0" ?>
|
||
<!--*- mode: xml -*--><!DOCTYPE glade-interface
|
||
SYSTEM 'http://glade.gnome.org/glade-2.0.dtd'>
|
||
<interface>
|
||
<requires lib="gtk+" version="3.11"/>
|
||
|
||
<menu id="appmenu">
|
||
<section id="python-console-placeholder"/>
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes">Prefere_nces</attribute>
|
||
<attribute name="action">app.preferences</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
||
<attribute name="action">app.shortcuts</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Help</attribute>
|
||
<attribute name="action">app.help</attribute>
|
||
<attribute name="accel">F1</attribute>
|
||
</item>
|
||
</section>
|
||
</menu>
|
||
|
||
<menu id="addmenu">
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes">Add _Local Video…</attribute>
|
||
<attribute name="action">app.open</attribute>
|
||
<attribute name="accel"><Ctrl>O</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">Add _Web Video…</attribute>
|
||
<attribute name="action">app.open-location</attribute>
|
||
<attribute name="accel"><Ctrl>L</attribute>
|
||
</item>
|
||
</section>
|
||
</menu>
|
||
|
||
<menu id="playermenu">
|
||
<section>
|
||
<section id="opendirectory-placeholder"/>
|
||
<section id="save-placeholder"/>
|
||
</section>
|
||
<section>
|
||
<section id="screenshot-placeholder"/>
|
||
</section>
|
||
<section>
|
||
<submenu>
|
||
<attribute name="label" translatable="yes">_Aspect Ratio</attribute>
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes" comments="Translators: an entry in the 'Aspect Ratio' menu, used to choose the displayed aspect ratio of a video" context="Aspect ratio">Auto</attribute>
|
||
<attribute name="action">app.aspect-ratio</attribute>
|
||
<attribute name="target" type="i">0</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes" comments="Translators: an entry in the 'Aspect Ratio' menu, used to choose the displayed aspect ratio of a video" context="Aspect ratio">Square</attribute>
|
||
<attribute name="action">app.aspect-ratio</attribute>
|
||
<attribute name="target" type="i">1</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes" comments="Translators: an entry in the 'Aspect Ratio' menu, used to choose the displayed aspect ratio of a video" context="Aspect ratio">4∶3 (TV)</attribute>
|
||
<attribute name="action">app.aspect-ratio</attribute>
|
||
<attribute name="target" type="i">2</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes" comments="Translators: an entry in the 'Aspect Ratio' menu, used to choose the displayed aspect ratio of a video" context="Aspect ratio">16∶9 (Widescreen)</attribute>
|
||
<attribute name="action">app.aspect-ratio</attribute>
|
||
<attribute name="target" type="i">3</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes" comments="Translators: an entry in the 'Aspect Ratio' menu, used to choose the displayed aspect ratio of a video" context="Aspect ratio">2.11∶1 (DVB)</attribute>
|
||
<attribute name="action">app.aspect-ratio</attribute>
|
||
<attribute name="target" type="i">4</attribute>
|
||
</item>
|
||
</section>
|
||
</submenu>
|
||
<section id="rotation-placeholder"/>
|
||
<item>
|
||
<attribute name="label" translatable="yes">Switch An_gles</attribute>
|
||
<attribute name="action">app.next-angle</attribute>
|
||
<attribute name="accel"><Ctrl>G</attribute>
|
||
</item>
|
||
</section>
|
||
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes">Prefere_nces</attribute>
|
||
<attribute name="action">app.preferences</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
||
<attribute name="action">app.shortcuts</attribute>
|
||
</item>
|
||
</section>
|
||
<section>
|
||
<section id="properties-placeholder"/>
|
||
</section>
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Eject</attribute>
|
||
<attribute name="action">app.eject</attribute>
|
||
<attribute name="accel"><Ctrl>E</attribute>
|
||
<attribute name="hidden-when">action-disabled</attribute>
|
||
</item>
|
||
</section>
|
||
</menu>
|
||
|
||
<menu id="subtitlesmenu">
|
||
<section>
|
||
<section>
|
||
<attribute name="label" translatable="yes">Languages</attribute>
|
||
<section id="languages-placeholder"/>
|
||
</section>
|
||
<section>
|
||
<attribute name="label" translatable="yes">Subtitles</attribute>
|
||
<section id="subtitles-placeholder"/>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Select Text Subtitles…</attribute>
|
||
<attribute name="action">app.select-subtitle</attribute>
|
||
</item>
|
||
<section id="subtitle-download-placeholder"/>
|
||
</section>
|
||
</section>
|
||
</menu>
|
||
|
||
<menu id="gomenu">
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Repeat</attribute>
|
||
<attribute name="action">app.repeat</attribute>
|
||
</item>
|
||
</section>
|
||
<section>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_DVD Menu</attribute>
|
||
<attribute name="action">app.dvd-root-menu</attribute>
|
||
<attribute name="accel"><Ctrl>M</attribute>
|
||
<attribute name="hidden-when">action-disabled</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Title Menu</attribute>
|
||
<attribute name="action">app.dvd-title-menu</attribute>
|
||
<attribute name="hidden-when">action-disabled</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">A_udio Menu</attribute>
|
||
<attribute name="action">app.dvd-audio-menu</attribute>
|
||
<attribute name="hidden-when">action-disabled</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Angle Menu</attribute>
|
||
<attribute name="action">app.dvd-angle-menu</attribute>
|
||
<attribute name="hidden-when">action-disabled</attribute>
|
||
</item>
|
||
<item>
|
||
<attribute name="label" translatable="yes">_Chapter Menu</attribute>
|
||
<attribute name="action">app.dvd-chapter-menu</attribute>
|
||
<attribute name="hidden-when">action-disabled</attribute>
|
||
</item>
|
||
</section>
|
||
<section>
|
||
<section id="skipto-placeholder"/>
|
||
</section>
|
||
<section id="variable-rate-placeholder">
|
||
<attribute name="label" translatable="yes">Speed</attribute>
|
||
</section>
|
||
</menu>
|
||
|
||
<object class="GtkAdjustment" id="tmw_seek_adjustment">
|
||
<property name="lower">0</property>
|
||
<property name="upper">0</property>
|
||
<property name="step-increment">1</property>
|
||
<property name="page-increment">10</property>
|
||
<property name="page-size">0</property>
|
||
<property name="value">0</property>
|
||
<signal name="value-changed" handler="seek_slider_changed_cb"/>
|
||
</object>
|
||
<object class="GtkApplicationWindow" id="totem_main_window">
|
||
<property name="can_focus">False</property>
|
||
<signal name="window-state-event" handler="window_state_event_cb" swapped="no"/>
|
||
<signal name="key-release-event" handler="window_key_press_event_cb" swapped="no"/>
|
||
<signal name="key-press-event" handler="window_key_press_event_cb" swapped="no"/>
|
||
<signal name="delete-event" handler="main_window_destroy_cb" swapped="no"/>
|
||
<child>
|
||
<object class="GtkStack" id="tmw_main_stack">
|
||
<property name="visible">True</property>
|
||
<property name="homogeneous">True</property>
|
||
<child>
|
||
<object class="BaconVideoWidget" id="bvw">
|
||
<property name="visible">True</property>
|
||
<child type="overlay">
|
||
<object class="GtkGrid" id="bvw_grid">
|
||
<property name="visible">True</property>
|
||
<property name="halign">fill</property>
|
||
<property name="valign">fill</property>
|
||
<child>
|
||
<object class="TotemMainToolbar" id="fullscreen_header">
|
||
<property name="visible">False</property>
|
||
<property name="show-search-button">False</property>
|
||
<property name="show-select-button">False</property>
|
||
<property name="show-back-button">True</property>
|
||
<property name="opacity">0.86</property>
|
||
<property name="halign">fill</property>
|
||
<property name="hexpand">True</property>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">0</property>
|
||
<property name="width">3</property>
|
||
<property name="height">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkSpinner" id="spinner">
|
||
<property name="visible">False</property>
|
||
<property name="vexpand">True</property>
|
||
<property name="hexpand">True</property>
|
||
<style>
|
||
<class name="osd"/>
|
||
</style>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">1</property>
|
||
<property name="top-attach">2</property>
|
||
<property name="width">1</property>
|
||
<property name="height">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkToolbar" id="toolbar">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="border_width">0</property>
|
||
<property name="opacity">0.86</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="vexpand">True</property>
|
||
<property name="valign">end</property>
|
||
<style>
|
||
<class name="osd"/>
|
||
<class name="bottom"/>
|
||
</style>
|
||
<child>
|
||
<object class="GtkToolItem" id="controls_toolbutton">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkBox" id="controls_box">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<style>
|
||
<class name="linked"/>
|
||
</style>
|
||
<child>
|
||
<placeholder/>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="homogeneous">False</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkToolItem" id="slider_toolbutton">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkBox" id="bottom_row">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="border_width">0</property>
|
||
<property name="spacing">4</property>
|
||
<child>
|
||
<object class="BaconTimeLabel" id="time_label">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="margin_start">16</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkScale" id="seek_scale">
|
||
<property name="visible">True</property>
|
||
<property name="sensitive">False</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="draw_value">False</property>
|
||
<property name="restrict-to-fill-level">False</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="BaconTimeLabel" id="time_rem_label">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="remaining">True</property>
|
||
<property name="margin_end">16</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">2</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="homogeneous">False</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkToolItem" id="box_toolbutton">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkBox" id="box2">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="GtkMenuButton" id="go_button">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="relief">normal</property>
|
||
<property name="valign">center</property>
|
||
<property name="use-popover">True</property>
|
||
<style>
|
||
<class name="image-button"/>
|
||
</style>
|
||
<child>
|
||
<object class="GtkImage" id="go_button_image">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="icon_name">go-jump-symbolic</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="homogeneous">True</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkToolItem" id="volume_toolbutton">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkBox" id="box1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="GtkVolumeButton" id="volume_button">
|
||
<property name="visible">True</property>
|
||
<property name="sensitive">False</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">True</property>
|
||
<property name="has_tooltip">True</property>
|
||
<property name="relief">none</property>
|
||
<property name="focus_on_click">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="valign">center</property>
|
||
<property name="icons">audio-volume-muted-symbolic
|
||
audio-volume-high-symbolic
|
||
audio-volume-low-symbolic
|
||
audio-volume-medium-symbolic</property>
|
||
<property name="use_symbolic">True</property>
|
||
<style>
|
||
<class name="image-button"/>
|
||
</style>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="homogeneous">True</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="left-attach">0</property>
|
||
<property name="top-attach">2</property>
|
||
<property name="width">3</property>
|
||
<property name="height">1</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="name">player</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</interface>
|