Some people don't speak French
[pysize.git] / pysize / ui / gtk / main_window.glade
blob69aef0ff7f70dbb60be149af7013f3d1f038cd0a
1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2 <!DOCTYPE glade-interface SYSTEM "http://gazpacho.sicem.biz/gazpacho-0.1.dtd">
3 <glade-interface>
4 <widget class="GtkUIManager" id="uimanager">
5 <child>
6 <widget class="GtkActionGroup" id="ZoomActions">
7 <child>
8 <widget class="GtkAction" id="ZoomFit">
9 <property name="name">ZoomFit</property>
10 <property name="label" translatable="yes">Zoom Fit</property>
11 <property name="tooltip" translatable="yes">Fit the tree in the window</property>
12 <property name="stock_id">gtk-zoom-fit</property>
13 <signal handler="zoom_fit_action" name="activate"/>
14 <property name="accelerator">&lt;Control&gt;0</property>
15 </widget>
16 </child>
17 <child>
18 <widget class="GtkAction" id="ZoomIn">
19 <property name="name">ZoomIn</property>
20 <property name="label" translatable="yes">Zoom In</property>
21 <property name="tooltip" translatable="yes">Increase the zoom level</property>
22 <property name="stock_id">gtk-zoom-in</property>
23 <signal handler="zoom_in_action" name="activate"/>
24 <property name="accelerator">&lt;Control&gt;plus</property>
25 </widget>
26 </child>
27 <child>
28 <widget class="GtkAction" id="ZoomOut">
29 <property name="name">ZoomOut</property>
30 <property name="label" translatable="yes">Zoom Out</property>
31 <property name="tooltip" translatable="yes">Decrease the zoom level</property>
32 <property name="stock_id">gtk-zoom-out</property>
33 <signal handler="zoom_out_action" name="activate"/>
34 <property name="accelerator">&lt;Control&gt;minus</property>
35 </widget>
36 </child>
37 </widget>
38 </child>
39 <child>
40 <widget class="GtkActionGroup" id="NavigationAction">
41 <child>
42 <widget class="GtkAction" id="Back">
43 <property name="name">Back</property>
44 <property name="label" translatable="yes">Back</property>
45 <property name="tooltip" translatable="yes">Go back in the history</property>
46 <property name="stock_id">gtk-go-back</property>
47 <signal handler="back_action" name="activate"/>
48 <property name="accelerator">&lt;Alt&gt;Left</property>
49 </widget>
50 </child>
51 <child>
52 <widget class="GtkAction" id="Forward">
53 <property name="name">Forward</property>
54 <property name="label" translatable="yes">Forward</property>
55 <property name="tooltip" translatable="yes">Go forward in the history</property>
56 <property name="stock_id">gtk-go-forward</property>
57 <signal handler="forw_action" name="activate"/>
58 <property name="accelerator">&lt;Alt&gt;Right</property>
59 </widget>
60 </child>
61 <child>
62 <widget class="GtkAction" id="ParentDirectory">
63 <property name="name">ParentDirectory</property>
64 <property name="label" translatable="yes">Parent Directory</property>
65 <property name="tooltip" translatable="yes">Go to the parent directory</property>
66 <property name="stock_id">gtk-go-up</property>
67 <signal handler="parent_directory_action" name="activate"/>
68 <property name="accelerator">&lt;Alt&gt;Up</property>
69 </widget>
70 </child>
71 </widget>
72 </child>
73 <child>
74 <widget class="GtkActionGroup" id="DefaultActions">
75 <child>
76 <widget class="GtkAction" id="ActionsMenu">
77 <property name="name">ActionsMenu</property>
78 <property name="label" translatable="yes">_Actions</property>
79 </widget>
80 </child>
81 <child>
82 <widget class="GtkAction" id="FileMenu">
83 <property name="name">FileMenu</property>
84 <property name="label" translatable="yes">_File</property>
85 </widget>
86 </child>
87 <child>
88 <widget class="GtkAction" id="HistoryMenu">
89 <property name="name">HistoryMenu</property>
90 <property name="label" translatable="yes">_History</property>
91 </widget>
92 </child>
93 <child>
94 <widget class="GtkAction" id="Open">
95 <property name="name">Open</property>
96 <property name="label" translatable="yes">_Open</property>
97 <property name="tooltip" translatable="yes">Open a directory</property>
98 <property name="stock_id">gtk-directory</property>
99 <signal handler="open_action" name="activate"/>
100 <property name="accelerator">&lt;Control&gt;o</property>
101 </widget>
102 </child>
103 <child>
104 <widget class="GtkAction" id="Quit">
105 <property name="name">Quit</property>
106 <property name="tooltip" translatable="yes">Quit the program</property>
107 <property name="stock_id">gtk-quit</property>
108 <signal handler="quit_action" name="activate"/>
109 </widget>
110 </child>
111 <child>
112 <widget class="GtkAction" id="Refresh">
113 <property name="name">Refresh</property>
114 <property name="label" translatable="yes">_Refresh tree</property>
115 <property name="short_label" translatable="yes">_Refresh the tree</property>
116 <property name="tooltip" translatable="yes">Refresh the tree</property>
117 <property name="stock_id">gtk-refresh</property>
118 <signal handler="refresh_tree_action" name="activate"/>
119 <property name="accelerator">&lt;Control&gt;r</property>
120 </widget>
121 </child>
122 </widget>
123 </child>
124 <ui id="initial-state"><![CDATA[<ui>
125 <menubar action="menubar" name="menubar">
126 <menu action="FileMenu" name="FileMenu">
127 <menuitem action="Open" name="Open"/>
128 <separator/>
129 <menuitem action="Quit" name="Quit"/>
130 </menu>
132 <menu action="ActionsMenu" name="ActionsMenu"><menuitem action="ParentDirectory" name="ParentDirectory"/><menuitem action="Refresh" name="Refresh"/><menuitem action="ZoomFit" name="ZoomFit"/><menuitem action="ZoomIn" name="ZoomIn"/><menuitem action="ZoomOut" name="ZoomOut"/></menu><menu action="HistoryMenu" name="HistoryMenu"><menuitem action="Back" name="Back"/><menuitem action="Forward" name="Forward"/></menu></menubar><toolbar action="toolbar" name="toolbar">
133 <toolitem action="Open" name="Open"/><toolitem action="Refresh" name="Refresh"/><toolitem action="ZoomFit" name="ZoomFit"/><toolitem action="ZoomIn" name="ZoomIn"/><toolitem action="ZoomOut" name="ZoomOut"/><toolitem action="ParentDirectory" name="ParentDirectory"/><toolitem action="Back" name="Back"/><toolitem action="Forward" name="Forward"/></toolbar>
134 </ui>]]></ui>
135 </widget>
136 <widget class="GtkWindow" id="main_window">
137 <property name="default_height">400</property>
138 <property name="default_width">780</property>
139 <property name="title" context="yes" translatable="yes">Pysize</property>
140 <signal handler="quit_action" name="destroy" after="True"/>
141 <child>
142 <widget class="GtkVBox" id="vbox1">
143 <property name="visible">True</property>
144 <child>
145 <widget constructor="initial-state" class="GtkMenuBar" id="menubar">
146 <property name="visible">True</property>
147 </widget>
148 <packing>
149 <property name="expand">False</property>
150 <property name="fill">False</property>
151 </packing>
152 </child>
153 <child>
154 <widget class="GtkHandleBox" id="handlebox1">
155 <property name="visible">True</property>
156 <child>
157 <widget constructor="initial-state" class="GtkToolbar" id="toolbar">
158 <property name="visible">True</property>
159 </widget>
160 </child>
161 </widget>
162 <packing>
163 <property name="expand">False</property>
164 <property name="fill">False</property>
165 <property name="position">1</property>
166 </packing>
167 </child>
168 <child>
169 <widget class="GtkScrolledWindow" id="scrolledwindow1">
170 <property name="hscrollbar_policy">automatic</property>
171 <property name="visible">True</property>
172 <property name="vscrollbar_policy">automatic</property>
173 <child>
174 <widget class="GtkViewport" id="viewport1">
175 <property name="shadow_type">etched-in</property>
176 <property name="visible">True</property>
177 <child>
178 <widget class="Custom" id="main_widget">
179 <property name="creation_function">pysize_widget</property>
180 </widget>
181 </child>
182 </widget>
183 </child>
184 </widget>
185 <packing>
186 <property name="position">2</property>
187 </packing>
188 </child>
189 <child>
190 <widget class="GtkHBox" id="hbox1">
191 <property name="visible">True</property>
192 <child>
193 <widget class="GtkStatusbar" id="status_bar">
194 <property name="has_resize_grip">False</property>
195 <property name="visible">True</property>
196 </widget>
197 </child>
198 <child>
199 <widget class="GtkProgressBar" id="progress_bar">
200 <property name="text" context="yes" translatable="yes"></property>
201 <property name="text_xalign">0.0</property>
202 <property name="text_yalign">0.0</property>
203 <property name="visible">True</property>
204 </widget>
205 <packing>
206 <property name="expand">False</property>
207 <property name="fill">False</property>
208 <property name="position">1</property>
209 </packing>
210 </child>
211 <child>
212 <widget class="GtkStatusbar" id="statusbar1">
213 <property name="visible">True</property>
214 <property name="width_request">20</property>
215 </widget>
216 <packing>
217 <property name="expand">False</property>
218 <property name="fill">False</property>
219 <property name="position">2</property>
220 </packing>
221 </child>
222 </widget>
223 <packing>
224 <property name="expand">False</property>
225 <property name="fill">False</property>
226 <property name="position">3</property>
227 </packing>
228 </child>
229 </widget>
230 </child>
231 </widget>
232 <widget class="GtkWindow" id="placeholder_as_gazpacho_prevents_standalone_widgets">
233 <property name="default_height">250</property>
234 <property name="default_width">440</property>
235 <child>
236 <widget class="GtkHBox" id="toolbar_remaining">
237 <property name="visible">True</property>
238 <child>
239 <widget class="GtkLabel" id="label1">
240 <property name="justify">right</property>
241 <property name="label" context="yes" translatable="yes">Max depth: </property>
242 <property name="visible">True</property>
243 <property name="xalign">0.0</property>
244 </widget>
245 <packing>
246 <property name="expand">False</property>
247 <property name="fill">False</property>
248 </packing>
249 </child>
250 <child>
251 <widget class="GtkSpinButton" id="max_depth">
252 <property name="activates_default">True</property>
253 <property name="adjustment">0 0 100 1 10 0</property>
254 <property name="is_focus">True</property>
255 <property name="max_length">4</property>
256 <property name="numeric">True</property>
257 <property name="text" context="yes" translatable="yes">0</property>
258 <property name="visible">True</property>
259 <property name="width_chars">4</property>
260 <signal handler="max_depth_changed" name="value-changed"/>
261 </widget>
262 <packing>
263 <property name="expand">False</property>
264 <property name="fill">False</property>
265 <property name="position">1</property>
266 </packing>
267 </child>
268 </widget>
269 </child>
270 </widget>
271 </glade-interface>