diff options
Diffstat (limited to 'contrib/publish_dialog.glade')
-rw-r--r-- | contrib/publish_dialog.glade | 413 |
1 files changed, 413 insertions, 0 deletions
diff --git a/contrib/publish_dialog.glade b/contrib/publish_dialog.glade new file mode 100644 index 00000000..40393d7d --- /dev/null +++ b/contrib/publish_dialog.glade | |||
@@ -0,0 +1,413 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <interface> | ||
3 | <requires lib="gtk+" version="2.20"/> | ||
4 | <!-- interface-naming-policy project-wide --> | ||
5 | <object class="GtkTreeStore" id="GNUNET_GTK_pseudonym_tree_store"> | ||
6 | <columns> | ||
7 | <!-- column-name local_name --> | ||
8 | <column type="gchararray"/> | ||
9 | <!-- column-name namespace_handle --> | ||
10 | <column type="gpointer"/> | ||
11 | <!-- column-name last_id --> | ||
12 | <column type="gchararray"/> | ||
13 | <!-- column-name last_uri --> | ||
14 | <column type="gchararray"/> | ||
15 | <!-- column-name last_meta --> | ||
16 | <column type="gpointer"/> | ||
17 | <!-- column-name next_id --> | ||
18 | <column type="gchararray"/> | ||
19 | <!-- column-name last_description_from_meta --> | ||
20 | <column type="gchararray"/> | ||
21 | <!-- column-name next_id_editable --> | ||
22 | <column type="gboolean"/> | ||
23 | </columns> | ||
24 | </object> | ||
25 | <object class="GtkDialog" id="GNUNET_GTK_master_publish_dialog"> | ||
26 | <property name="height_request">500</property> | ||
27 | <property name="border_width">5</property> | ||
28 | <property name="title" translatable="yes">Publish content on GNUnet</property> | ||
29 | <property name="modal">True</property> | ||
30 | <property name="window_position">center-on-parent</property> | ||
31 | <property name="type_hint">dialog</property> | ||
32 | <property name="skip_taskbar_hint">True</property> | ||
33 | <property name="has_separator">False</property> | ||
34 | <child internal-child="vbox"> | ||
35 | <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_vbox"> | ||
36 | <property name="visible">True</property> | ||
37 | <property name="spacing">2</property> | ||
38 | <child> | ||
39 | <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_file_information_vbox"> | ||
40 | <property name="visible">True</property> | ||
41 | <child> | ||
42 | <object class="GtkTreeView" id="GNUNET_GTK_master_publish_dialog_file_information_tree_view"> | ||
43 | <property name="visible">True</property> | ||
44 | <property name="can_focus">True</property> | ||
45 | <property name="model">GNUNET_GTK_file_sharing_publishing_tree_store</property> | ||
46 | <property name="enable_tree_lines">True</property> | ||
47 | <child> | ||
48 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_file_information_filesize_column"> | ||
49 | <property name="sizing">autosize</property> | ||
50 | <property name="title" translatable="yes">Size</property> | ||
51 | <child> | ||
52 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_file_information_filesize_renderer"/> | ||
53 | <attributes> | ||
54 | <attribute name="text">0</attribute> | ||
55 | </attributes> | ||
56 | </child> | ||
57 | </object> | ||
58 | </child> | ||
59 | <child> | ||
60 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_file_information_filename_column"> | ||
61 | <property name="resizable">True</property> | ||
62 | <property name="sizing">autosize</property> | ||
63 | <property name="title" translatable="yes">Filename</property> | ||
64 | <property name="expand">True</property> | ||
65 | <property name="clickable">True</property> | ||
66 | <property name="reorderable">True</property> | ||
67 | <property name="sort_indicator">True</property> | ||
68 | <child> | ||
69 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_file_information_filename_renderer"/> | ||
70 | <attributes> | ||
71 | <attribute name="text">2</attribute> | ||
72 | </attributes> | ||
73 | </child> | ||
74 | </object> | ||
75 | </child> | ||
76 | </object> | ||
77 | <packing> | ||
78 | <property name="position">0</property> | ||
79 | </packing> | ||
80 | </child> | ||
81 | </object> | ||
82 | <packing> | ||
83 | <property name="padding">8</property> | ||
84 | <property name="position">0</property> | ||
85 | </packing> | ||
86 | </child> | ||
87 | <child> | ||
88 | <object class="GtkHBox" id="GNUNET_GTK_master_dialog_modification_button_hbox"> | ||
89 | <property name="visible">True</property> | ||
90 | <child> | ||
91 | <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_action_table"> | ||
92 | <property name="visible">True</property> | ||
93 | <property name="n_rows">2</property> | ||
94 | <property name="n_columns">3</property> | ||
95 | <property name="homogeneous">True</property> | ||
96 | <child> | ||
97 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_add_button"> | ||
98 | <property name="label">gtk-add</property> | ||
99 | <property name="visible">True</property> | ||
100 | <property name="can_focus">True</property> | ||
101 | <property name="receives_default">True</property> | ||
102 | <property name="use_action_appearance">False</property> | ||
103 | <property name="use_stock">True</property> | ||
104 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_add_button_clicked_cb" swapped="no"/> | ||
105 | </object> | ||
106 | </child> | ||
107 | <child> | ||
108 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_open_button"> | ||
109 | <property name="label">gtk-open</property> | ||
110 | <property name="visible">True</property> | ||
111 | <property name="can_focus">True</property> | ||
112 | <property name="receives_default">True</property> | ||
113 | <property name="use_action_appearance">False</property> | ||
114 | <property name="use_stock">True</property> | ||
115 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_open_button_clicked_cb" swapped="no"/> | ||
116 | </object> | ||
117 | <packing> | ||
118 | <property name="top_attach">1</property> | ||
119 | <property name="bottom_attach">2</property> | ||
120 | </packing> | ||
121 | </child> | ||
122 | <child> | ||
123 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_delete_button"> | ||
124 | <property name="label">gtk-delete</property> | ||
125 | <property name="visible">True</property> | ||
126 | <property name="sensitive">False</property> | ||
127 | <property name="can_focus">True</property> | ||
128 | <property name="receives_default">True</property> | ||
129 | <property name="use_action_appearance">False</property> | ||
130 | <property name="use_stock">True</property> | ||
131 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_delete_button_clicked_cb" swapped="no"/> | ||
132 | </object> | ||
133 | <packing> | ||
134 | <property name="left_attach">2</property> | ||
135 | <property name="right_attach">3</property> | ||
136 | <property name="top_attach">1</property> | ||
137 | <property name="bottom_attach">2</property> | ||
138 | </packing> | ||
139 | </child> | ||
140 | <child> | ||
141 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_edit_button"> | ||
142 | <property name="label">gtk-edit</property> | ||
143 | <property name="visible">True</property> | ||
144 | <property name="sensitive">False</property> | ||
145 | <property name="can_focus">True</property> | ||
146 | <property name="receives_default">True</property> | ||
147 | <property name="use_action_appearance">False</property> | ||
148 | <property name="use_stock">True</property> | ||
149 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb" swapped="no"/> | ||
150 | </object> | ||
151 | <packing> | ||
152 | <property name="left_attach">1</property> | ||
153 | <property name="right_attach">2</property> | ||
154 | <property name="top_attach">1</property> | ||
155 | <property name="bottom_attach">2</property> | ||
156 | </packing> | ||
157 | </child> | ||
158 | <child> | ||
159 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_new_button"> | ||
160 | <property name="label">gtk-new</property> | ||
161 | <property name="visible">True</property> | ||
162 | <property name="can_focus">True</property> | ||
163 | <property name="receives_default">True</property> | ||
164 | <property name="use_action_appearance">False</property> | ||
165 | <property name="use_stock">True</property> | ||
166 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_new_button_clicked_cb" swapped="no"/> | ||
167 | </object> | ||
168 | <packing> | ||
169 | <property name="left_attach">1</property> | ||
170 | <property name="right_attach">2</property> | ||
171 | </packing> | ||
172 | </child> | ||
173 | <child> | ||
174 | <placeholder/> | ||
175 | </child> | ||
176 | </object> | ||
177 | <packing> | ||
178 | <property name="expand">False</property> | ||
179 | <property name="padding">50</property> | ||
180 | <property name="position">0</property> | ||
181 | </packing> | ||
182 | </child> | ||
183 | <child> | ||
184 | <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_arrow_table"> | ||
185 | <property name="visible">True</property> | ||
186 | <property name="n_rows">2</property> | ||
187 | <property name="n_columns">3</property> | ||
188 | <property name="homogeneous">True</property> | ||
189 | <child> | ||
190 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_up_button"> | ||
191 | <property name="label">gtk-go-up</property> | ||
192 | <property name="visible">True</property> | ||
193 | <property name="sensitive">False</property> | ||
194 | <property name="can_focus">True</property> | ||
195 | <property name="receives_default">True</property> | ||
196 | <property name="use_action_appearance">False</property> | ||
197 | <property name="use_stock">True</property> | ||
198 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_up_button_clicked_cb" swapped="no"/> | ||
199 | </object> | ||
200 | <packing> | ||
201 | <property name="left_attach">1</property> | ||
202 | <property name="right_attach">2</property> | ||
203 | </packing> | ||
204 | </child> | ||
205 | <child> | ||
206 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_down_button"> | ||
207 | <property name="label">gtk-go-down</property> | ||
208 | <property name="visible">True</property> | ||
209 | <property name="sensitive">False</property> | ||
210 | <property name="can_focus">True</property> | ||
211 | <property name="receives_default">True</property> | ||
212 | <property name="use_action_appearance">False</property> | ||
213 | <property name="use_stock">True</property> | ||
214 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_down_button_clicked_cb" swapped="no"/> | ||
215 | </object> | ||
216 | <packing> | ||
217 | <property name="left_attach">1</property> | ||
218 | <property name="right_attach">2</property> | ||
219 | <property name="top_attach">1</property> | ||
220 | <property name="bottom_attach">2</property> | ||
221 | </packing> | ||
222 | </child> | ||
223 | <child> | ||
224 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_left_button"> | ||
225 | <property name="label">gtk-go-back</property> | ||
226 | <property name="visible">True</property> | ||
227 | <property name="sensitive">False</property> | ||
228 | <property name="can_focus">True</property> | ||
229 | <property name="receives_default">True</property> | ||
230 | <property name="use_action_appearance">False</property> | ||
231 | <property name="use_stock">True</property> | ||
232 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_left_button_clicked_cb" swapped="no"/> | ||
233 | </object> | ||
234 | <packing> | ||
235 | <property name="top_attach">1</property> | ||
236 | <property name="bottom_attach">2</property> | ||
237 | </packing> | ||
238 | </child> | ||
239 | <child> | ||
240 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_right_button"> | ||
241 | <property name="label">gtk-go-forward</property> | ||
242 | <property name="visible">True</property> | ||
243 | <property name="sensitive">False</property> | ||
244 | <property name="can_focus">True</property> | ||
245 | <property name="receives_default">True</property> | ||
246 | <property name="use_action_appearance">False</property> | ||
247 | <property name="use_stock">True</property> | ||
248 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_right_button_clicked_cb" swapped="no"/> | ||
249 | </object> | ||
250 | <packing> | ||
251 | <property name="left_attach">2</property> | ||
252 | <property name="right_attach">3</property> | ||
253 | <property name="top_attach">1</property> | ||
254 | <property name="bottom_attach">2</property> | ||
255 | </packing> | ||
256 | </child> | ||
257 | <child> | ||
258 | <placeholder/> | ||
259 | </child> | ||
260 | <child> | ||
261 | <placeholder/> | ||
262 | </child> | ||
263 | </object> | ||
264 | <packing> | ||
265 | <property name="expand">False</property> | ||
266 | <property name="padding">50</property> | ||
267 | <property name="position">1</property> | ||
268 | </packing> | ||
269 | </child> | ||
270 | </object> | ||
271 | <packing> | ||
272 | <property name="expand">False</property> | ||
273 | <property name="position">1</property> | ||
274 | </packing> | ||
275 | </child> | ||
276 | <child> | ||
277 | <object class="GtkTreeView" id="GNUNET_GTK_master_publish_dialog_pseudonym_tree_view"> | ||
278 | <property name="can_focus">True</property> | ||
279 | <property name="model">GNUNET_GTK_pseudonym_tree_store</property> | ||
280 | <property name="reorderable">True</property> | ||
281 | <property name="rubber_banding">True</property> | ||
282 | <property name="enable_grid_lines">both</property> | ||
283 | <child> | ||
284 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_name_column"> | ||
285 | <property name="resizable">True</property> | ||
286 | <property name="title" translatable="yes">Pseudonym</property> | ||
287 | <property name="clickable">True</property> | ||
288 | <property name="reorderable">True</property> | ||
289 | <property name="sort_indicator">True</property> | ||
290 | <child> | ||
291 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_name_renderer"/> | ||
292 | <attributes> | ||
293 | <attribute name="text">0</attribute> | ||
294 | </attributes> | ||
295 | </child> | ||
296 | </object> | ||
297 | </child> | ||
298 | <child> | ||
299 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_identifier_column"> | ||
300 | <property name="resizable">True</property> | ||
301 | <property name="sizing">autosize</property> | ||
302 | <property name="title" translatable="yes">Current identifier</property> | ||
303 | <property name="clickable">True</property> | ||
304 | <child> | ||
305 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_identifier_renderer"> | ||
306 | <property name="ellipsize">end</property> | ||
307 | </object> | ||
308 | <attributes> | ||
309 | <attribute name="editable">7</attribute> | ||
310 | <attribute name="text">5</attribute> | ||
311 | </attributes> | ||
312 | </child> | ||
313 | </object> | ||
314 | </child> | ||
315 | <child> | ||
316 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_updates_column"> | ||
317 | <property name="resizable">True</property> | ||
318 | <property name="sizing">autosize</property> | ||
319 | <property name="fixed_width">5</property> | ||
320 | <property name="title" translatable="yes">Previous identifier</property> | ||
321 | <child> | ||
322 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_updates_renderer"/> | ||
323 | <attributes> | ||
324 | <attribute name="text">2</attribute> | ||
325 | </attributes> | ||
326 | </child> | ||
327 | </object> | ||
328 | </child> | ||
329 | <child> | ||
330 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_description_column"> | ||
331 | <property name="title" translatable="yes">Description (of existing content)</property> | ||
332 | <child> | ||
333 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_description_renderer"> | ||
334 | <property name="wrap_mode">word</property> | ||
335 | </object> | ||
336 | <attributes> | ||
337 | <attribute name="text">6</attribute> | ||
338 | </attributes> | ||
339 | </child> | ||
340 | </object> | ||
341 | </child> | ||
342 | </object> | ||
343 | <packing> | ||
344 | <property name="expand">False</property> | ||
345 | <property name="position">2</property> | ||
346 | </packing> | ||
347 | </child> | ||
348 | <child internal-child="action_area"> | ||
349 | <object class="GtkHButtonBox" id="GNUNET_GTK_master_publish_dialog_master_action_area"> | ||
350 | <property name="visible">True</property> | ||
351 | <property name="layout_style">end</property> | ||
352 | <child> | ||
353 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_cancel_button"> | ||
354 | <property name="label">gtk-cancel</property> | ||
355 | <property name="visible">True</property> | ||
356 | <property name="can_focus">True</property> | ||
357 | <property name="receives_default">True</property> | ||
358 | <property name="use_action_appearance">False</property> | ||
359 | <property name="use_stock">True</property> | ||
360 | </object> | ||
361 | <packing> | ||
362 | <property name="expand">False</property> | ||
363 | <property name="fill">False</property> | ||
364 | <property name="position">0</property> | ||
365 | </packing> | ||
366 | </child> | ||
367 | <child> | ||
368 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_execute_button"> | ||
369 | <property name="label">gtk-execute</property> | ||
370 | <property name="visible">True</property> | ||
371 | <property name="sensitive">False</property> | ||
372 | <property name="can_focus">True</property> | ||
373 | <property name="receives_default">True</property> | ||
374 | <property name="use_action_appearance">False</property> | ||
375 | <property name="use_stock">True</property> | ||
376 | </object> | ||
377 | <packing> | ||
378 | <property name="expand">False</property> | ||
379 | <property name="fill">False</property> | ||
380 | <property name="position">1</property> | ||
381 | </packing> | ||
382 | </child> | ||
383 | </object> | ||
384 | <packing> | ||
385 | <property name="expand">False</property> | ||
386 | <property name="pack_type">end</property> | ||
387 | <property name="position">3</property> | ||
388 | </packing> | ||
389 | </child> | ||
390 | </object> | ||
391 | </child> | ||
392 | <action-widgets> | ||
393 | <action-widget response="-6">GNUNET_GTK_master_publish_dialog_cancel_button</action-widget> | ||
394 | <action-widget response="-5">GNUNET_GTK_master_publish_dialog_execute_button</action-widget> | ||
395 | </action-widgets> | ||
396 | </object> | ||
397 | <object class="GtkTreeStore" id="GNUNET_GTK_file_sharing_publishing_tree_store"> | ||
398 | <columns> | ||
399 | <!-- column-name filesize --> | ||
400 | <column type="gchararray"/> | ||
401 | <!-- column-name do_index --> | ||
402 | <column type="gboolean"/> | ||
403 | <!-- column-name filename --> | ||
404 | <column type="gchararray"/> | ||
405 | <!-- column-name anonymity_level --> | ||
406 | <column type="guint"/> | ||
407 | <!-- column-name priority --> | ||
408 | <column type="guint"/> | ||
409 | <!-- column-name file_information_struct --> | ||
410 | <column type="gpointer"/> | ||
411 | </columns> | ||
412 | </object> | ||
413 | </interface> | ||