summaryrefslogtreecommitdiff
path: root/data/totem.ui
blob: 415fff3d7c71bce92cb3ab99cfbdaca615246b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<?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">&lt;Ctrl&gt;O</attribute>
		</item>
		<item>
			<attribute name="label" translatable="yes">Add _Web Video…</attribute>
			<attribute name="action">app.open-location</attribute>
			<attribute name="accel">&lt;Ctrl&gt;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">&lt;Ctrl&gt;G</attribute>
		</item>
	</section>
	<section>
		<submenu>
			<attribute name="label" translatable="yes">_Languages</attribute>
			<section id="languages-placeholder"/>
		</submenu>
		<submenu>
			<attribute name="label" translatable="yes">S_ubtitles</attribute>
			<section>
				<item>
					<attribute name="label" translatable="yes">_Select Text Subtitles…</attribute>
					<attribute name="action">app.select-subtitle</attribute>
				</item>
				<section id="subtitle-download-placeholder"/>
				<section id="subtitles-placeholder"/>
			</section>
		</submenu>
	</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">&lt;Ctrl&gt;E</attribute>
			<attribute name="hidden-when">action-disabled</attribute>
		</item>
	</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">&lt;Ctrl&gt;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>
              </object>
            </child>
          </object>
          <packing>
            <property name="name">player</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
</interface>