Beginning of navigation: double click, and parent directory button
[pysize.git] / ui / gtk / main_window.glade
blob41156f15ed4160c042472b0a5cda413594465d95
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="DefaultActions">
7 <child>
8 <widget class="GtkAction" id="Copy">
9 <property name="name">Copy</property>
10 <property name="tooltip" translatable="yes">Copy selected object into the clipboard</property>
11 <property name="stock_id">gtk-copy</property>
12 </widget>
13 </child>
14 <child>
15 <widget class="GtkAction" id="Cut">
16 <property name="name">Cut</property>
17 <property name="tooltip" translatable="yes">Cut selected object into the clipboard</property>
18 <property name="stock_id">gtk-cut</property>
19 </widget>
20 </child>
21 <child>
22 <widget class="GtkAction" id="EditMenu">
23 <property name="name">EditMenu</property>
24 <property name="label" translatable="yes">_Edit</property>
25 </widget>
26 </child>
27 <child>
28 <widget class="GtkAction" id="FileMenu">
29 <property name="name">FileMenu</property>
30 <property name="label" translatable="yes">_File</property>
31 </widget>
32 </child>
33 <child>
34 <widget class="GtkAction" id="New">
35 <property name="name">New</property>
36 <property name="tooltip" translatable="yes">Create a new file</property>
37 <property name="stock_id">gtk-new</property>
38 </widget>
39 </child>
40 <child>
41 <widget class="GtkAction" id="Open">
42 <property name="name">Open</property>
43 <property name="tooltip" translatable="yes">Open a file</property>
44 <property name="stock_id">gtk-open</property>
45 </widget>
46 </child>
47 <child>
48 <widget class="GtkAction" id="Paste">
49 <property name="name">Paste</property>
50 <property name="tooltip" translatable="yes">Paste object from the Clipboard</property>
51 <property name="stock_id">gtk-paste</property>
52 </widget>
53 </child>
54 <child>
55 <widget class="GtkAction" id="Quit">
56 <property name="name">Quit</property>
57 <property name="tooltip" translatable="yes">Quit the program</property>
58 <property name="stock_id">gtk-quit</property>
59 <signal handler="quit_action" name="activate"/>
60 </widget>
61 </child>
62 <child>
63 <widget class="GtkAction" id="Refresh">
64 <property name="name">Refresh</property>
65 <property name="label" translatable="yes">_Refresh tree</property>
66 <property name="short_label" translatable="yes">_Refresh the tree</property>
67 <property name="tooltip" translatable="yes">_Refresh the tree</property>
68 <property name="stock_id">gtk-refresh</property>
69 <signal handler="refresh_tree_action" name="activate"/>
70 <property name="accelerator">&lt;Control&gt;r</property>
71 </widget>
72 </child>
73 <child>
74 <widget class="GtkAction" id="Save">
75 <property name="name">Save</property>
76 <property name="is_important">True</property>
77 <property name="tooltip" translatable="yes">Save a file</property>
78 <property name="stock_id">gtk-save</property>
79 </widget>
80 </child>
81 <child>
82 <widget class="GtkAction" id="SaveAs">
83 <property name="name">SaveAs</property>
84 <property name="tooltip" translatable="yes">Save with a different name</property>
85 <property name="stock_id">gtk-save-as</property>
86 </widget>
87 </child>
88 </widget>
89 </child>
90 <child>
91 <widget class="GtkActionGroup" id="NavigationAction">
92 <child>
93 <widget class="GtkAction" id="ParentDirectory">
94 <property name="name">ParentDirectory</property>
95 <property name="label" translatable="yes">Parent Directory</property>
96 <property name="stock_id">gtk-go-up</property>
97 <signal handler="parent_directory_action" name="activate"/>
98 </widget>
99 </child>
100 </widget>
101 </child>
102 <child>
103 <widget class="GtkActionGroup" id="ZoomActions">
104 <child>
105 <widget class="GtkAction" id="ZoomFit">
106 <property name="name">ZoomFit</property>
107 <property name="label" translatable="yes">Zoom Fit</property>
108 <property name="stock_id">gtk-zoom-fit</property>
109 <signal handler="zoom_fit_action" name="activate"/>
110 </widget>
111 </child>
112 <child>
113 <widget class="GtkAction" id="ZoomIn">
114 <property name="name">ZoomIn</property>
115 <property name="label" translatable="yes">Zoom In</property>
116 <property name="stock_id">gtk-zoom-in</property>
117 <signal handler="zoom_in_action" name="activate"/>
118 </widget>
119 </child>
120 <child>
121 <widget class="GtkAction" id="ZoomOut">
122 <property name="name">ZoomOut</property>
123 <property name="label" translatable="yes">Zoom Out</property>
124 <property name="stock_id">gtk-zoom-out</property>
125 <signal handler="zoom_out_action" name="activate"/>
126 </widget>
127 </child>
128 </widget>
129 </child>
130 <ui id="initial-state"><![CDATA[<ui>
131 <menubar action="menubar1" name="menubar1">
132 <menu action="FileMenu" name="FileMenu">
133 <menuitem action="New" name="New"/>
134 <menuitem action="Open" name="Open"/>
135 <menuitem action="Save" name="Save"/>
136 <menuitem action="SaveAs" name="SaveAs"/>
137 <separator/>
138 <menuitem action="Quit" name="Quit"/>
139 </menu>
140 <menu action="EditMenu" name="EditMenu">
141 <menuitem action="Copy" name="Copy"/>
142 <menuitem action="Cut" name="Cut"/>
143 <menuitem action="Paste" name="Paste"/>
144 </menu>
145 </menubar><toolbar action="toolbar" name="toolbar">
146 <toolitem action="Quit" name="Quit"/><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"/></toolbar>
147 </ui>]]></ui>
148 </widget>
149 <widget class="GtkWindow" id="main_window">
150 <property name="default_height">250</property>
151 <property name="default_width">440</property>
152 <property name="title" context="yes" translatable="yes">Pysize</property>
153 <signal handler="quit_action" name="destroy" after="True"/>
154 <child>
155 <widget class="GtkVBox" id="vbox1">
156 <property name="visible">True</property>
157 <child>
158 <widget constructor="initial-state" class="GtkMenuBar" id="menubar1">
159 <property name="visible">True</property>
160 </widget>
161 <packing>
162 <property name="expand">False</property>
163 <property name="fill">False</property>
164 </packing>
165 </child>
166 <child>
167 <widget constructor="initial-state" class="GtkToolbar" id="toolbar">
168 <property name="visible">True</property>
169 </widget>
170 <packing>
171 <property name="expand">False</property>
172 <property name="fill">False</property>
173 <property name="position">1</property>
174 </packing>
175 </child>
176 <child>
177 <widget class="GtkScrolledWindow" id="scrolledwindow1">
178 <property name="hscrollbar_policy">automatic</property>
179 <property name="visible">True</property>
180 <property name="vscrollbar_policy">automatic</property>
181 <child>
182 <widget class="GtkViewport" id="viewport1">
183 <property name="shadow_type">etched-in</property>
184 <property name="visible">True</property>
185 <child>
186 <widget class="Custom" id="main_widget">
187 <property name="creation_function">pysize_widget</property>
188 <property name="is_focus">True</property>
189 <property name="visible">True</property>
190 </widget>
191 </child>
192 </widget>
193 </child>
194 </widget>
195 <packing>
196 <property name="position">2</property>
197 </packing>
198 </child>
199 <child>
200 <widget class="GtkHBox" id="hbox1">
201 <property name="visible">True</property>
202 <child>
203 <widget class="GtkStatusbar" id="status_bar">
204 <property name="has_resize_grip">False</property>
205 <property name="visible">True</property>
206 </widget>
207 </child>
208 <child>
209 <widget class="GtkProgressBar" id="progress_bar">
210 <property name="text" context="yes" translatable="yes"></property>
211 <property name="text_xalign">0.0</property>
212 <property name="text_yalign">0.0</property>
213 <property name="visible">True</property>
214 </widget>
215 <packing>
216 <property name="expand">False</property>
217 <property name="fill">False</property>
218 <property name="position">1</property>
219 </packing>
220 </child>
221 <child>
222 <widget class="GtkStatusbar" id="statusbar1">
223 <property name="visible">True</property>
224 <property name="width_request">20</property>
225 </widget>
226 <packing>
227 <property name="expand">False</property>
228 <property name="fill">False</property>
229 <property name="position">2</property>
230 </packing>
231 </child>
232 </widget>
233 <packing>
234 <property name="expand">False</property>
235 <property name="fill">False</property>
236 <property name="position">3</property>
237 </packing>
238 </child>
239 </widget>
240 </child>
241 </widget>
242 </glade-interface>