diff options
Diffstat (limited to 'contrib/publish-file-dialog.glade')
-rw-r--r-- | contrib/publish-file-dialog.glade | 219 |
1 files changed, 219 insertions, 0 deletions
diff --git a/contrib/publish-file-dialog.glade b/contrib/publish-file-dialog.glade new file mode 100644 index 00000000..2ebe4f30 --- /dev/null +++ b/contrib/publish-file-dialog.glade | |||
@@ -0,0 +1,219 @@ | |||
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="GtkAdjustment" id="anonymity_adjustment"> | ||
6 | <property name="upper">10000000</property> | ||
7 | <property name="value">1</property> | ||
8 | <property name="step_increment">1</property> | ||
9 | <property name="page_increment">10</property> | ||
10 | </object> | ||
11 | <object class="GtkListStore" id="GNUNET_GTK_publish_file_dialog_expiration_list_store"> | ||
12 | <columns> | ||
13 | <!-- column-name human_readable_time --> | ||
14 | <column type="gchararray"/> | ||
15 | <!-- column-name time_in_ms --> | ||
16 | <column type="guint64"/> | ||
17 | </columns> | ||
18 | </object> | ||
19 | <object class="GtkAdjustment" id="priority_adjustment"> | ||
20 | <property name="upper">100000000</property> | ||
21 | <property name="value">1000</property> | ||
22 | <property name="step_increment">1</property> | ||
23 | <property name="page_increment">10</property> | ||
24 | </object> | ||
25 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_file_dialog"> | ||
26 | <property name="can_default">True</property> | ||
27 | <property name="border_width">5</property> | ||
28 | <property name="title" translatable="yes">Publish file...</property> | ||
29 | <property name="type_hint">normal</property> | ||
30 | <property name="has_separator">False</property> | ||
31 | <property name="select_multiple">True</property> | ||
32 | <property name="create_folders">False</property> | ||
33 | <child internal-child="vbox"> | ||
34 | <object class="GtkVBox" id="dialog-vbox1"> | ||
35 | <property name="visible">True</property> | ||
36 | <property name="spacing">2</property> | ||
37 | <child> | ||
38 | <object class="GtkVBox" id="vbox1"> | ||
39 | <property name="visible">True</property> | ||
40 | <child> | ||
41 | <object class="GtkHBox" id="hbox1"> | ||
42 | <property name="visible">True</property> | ||
43 | <child> | ||
44 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_file_dialog_do_index_checkbutton"> | ||
45 | <property name="label" translatable="yes">Index file</property> | ||
46 | <property name="visible">True</property> | ||
47 | <property name="can_focus">True</property> | ||
48 | <property name="receives_default">False</property> | ||
49 | <property name="use_action_appearance">False</property> | ||
50 | <property name="use_underline">True</property> | ||
51 | <property name="active">True</property> | ||
52 | <property name="draw_indicator">True</property> | ||
53 | </object> | ||
54 | <packing> | ||
55 | <property name="expand">False</property> | ||
56 | <property name="fill">False</property> | ||
57 | <property name="padding">20</property> | ||
58 | <property name="position">0</property> | ||
59 | </packing> | ||
60 | </child> | ||
61 | <child> | ||
62 | <placeholder/> | ||
63 | </child> | ||
64 | <child> | ||
65 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_priority_label"> | ||
66 | <property name="visible">True</property> | ||
67 | <property name="label" translatable="yes">Priority:</property> | ||
68 | </object> | ||
69 | <packing> | ||
70 | <property name="expand">False</property> | ||
71 | <property name="padding">13</property> | ||
72 | <property name="position">2</property> | ||
73 | </packing> | ||
74 | </child> | ||
75 | <child> | ||
76 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_priority_spin_button"> | ||
77 | <property name="visible">True</property> | ||
78 | <property name="can_focus">True</property> | ||
79 | <property name="invisible_char">•</property> | ||
80 | <property name="adjustment">priority_adjustment</property> | ||
81 | <property name="numeric">True</property> | ||
82 | </object> | ||
83 | <packing> | ||
84 | <property name="expand">False</property> | ||
85 | <property name="padding">20</property> | ||
86 | <property name="position">3</property> | ||
87 | </packing> | ||
88 | </child> | ||
89 | </object> | ||
90 | <packing> | ||
91 | <property name="expand">False</property> | ||
92 | <property name="fill">False</property> | ||
93 | <property name="position">0</property> | ||
94 | </packing> | ||
95 | </child> | ||
96 | <child> | ||
97 | <object class="GtkHBox" id="hbox2"> | ||
98 | <property name="visible">True</property> | ||
99 | <child> | ||
100 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_expiration_label"> | ||
101 | <property name="visible">True</property> | ||
102 | <property name="label" translatable="yes">Expires in:</property> | ||
103 | </object> | ||
104 | <packing> | ||
105 | <property name="expand">False</property> | ||
106 | <property name="fill">False</property> | ||
107 | <property name="padding">20</property> | ||
108 | <property name="position">0</property> | ||
109 | </packing> | ||
110 | </child> | ||
111 | <child> | ||
112 | <object class="GtkComboBox" id="GNUNET_GTK_publish_file_dialog_expiration_combo_box"> | ||
113 | <property name="visible">True</property> | ||
114 | <property name="model">GNUNET_GTK_publish_file_dialog_expiration_list_store</property> | ||
115 | <property name="active">0</property> | ||
116 | <child> | ||
117 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_file_dialog_expiration_box_time_renderer"/> | ||
118 | <attributes> | ||
119 | <attribute name="text">0</attribute> | ||
120 | </attributes> | ||
121 | </child> | ||
122 | </object> | ||
123 | <packing> | ||
124 | <property name="expand">False</property> | ||
125 | <property name="fill">False</property> | ||
126 | <property name="padding">5</property> | ||
127 | <property name="position">1</property> | ||
128 | </packing> | ||
129 | </child> | ||
130 | <child> | ||
131 | <placeholder/> | ||
132 | </child> | ||
133 | <child> | ||
134 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_anonymity_label"> | ||
135 | <property name="visible">True</property> | ||
136 | <property name="label" translatable="yes">Anonymity:</property> | ||
137 | </object> | ||
138 | <packing> | ||
139 | <property name="expand">False</property> | ||
140 | <property name="padding">5</property> | ||
141 | <property name="position">3</property> | ||
142 | </packing> | ||
143 | </child> | ||
144 | <child> | ||
145 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_anonymity_spin_button"> | ||
146 | <property name="visible">True</property> | ||
147 | <property name="can_focus">True</property> | ||
148 | <property name="invisible_char">•</property> | ||
149 | <property name="adjustment">anonymity_adjustment</property> | ||
150 | <property name="numeric">True</property> | ||
151 | <signal name="value-changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb" swapped="no"/> | ||
152 | </object> | ||
153 | <packing> | ||
154 | <property name="expand">False</property> | ||
155 | <property name="padding">20</property> | ||
156 | <property name="position">4</property> | ||
157 | </packing> | ||
158 | </child> | ||
159 | </object> | ||
160 | <packing> | ||
161 | <property name="expand">False</property> | ||
162 | <property name="position">1</property> | ||
163 | </packing> | ||
164 | </child> | ||
165 | </object> | ||
166 | <packing> | ||
167 | <property name="position">2</property> | ||
168 | </packing> | ||
169 | </child> | ||
170 | <child internal-child="action_area"> | ||
171 | <object class="GtkHButtonBox" id="dialog-action_area2"> | ||
172 | <property name="visible">True</property> | ||
173 | <property name="layout_style">end</property> | ||
174 | <child> | ||
175 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_cancel_button"> | ||
176 | <property name="label">gtk-cancel</property> | ||
177 | <property name="visible">True</property> | ||
178 | <property name="can_focus">True</property> | ||
179 | <property name="receives_default">True</property> | ||
180 | <property name="use_action_appearance">False</property> | ||
181 | <property name="use_stock">True</property> | ||
182 | </object> | ||
183 | <packing> | ||
184 | <property name="expand">False</property> | ||
185 | <property name="fill">False</property> | ||
186 | <property name="position">0</property> | ||
187 | </packing> | ||
188 | </child> | ||
189 | <child> | ||
190 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_ok_button"> | ||
191 | <property name="label">gtk-ok</property> | ||
192 | <property name="visible">True</property> | ||
193 | <property name="can_focus">True</property> | ||
194 | <property name="can_default">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 | </object> | ||
199 | <packing> | ||
200 | <property name="expand">False</property> | ||
201 | <property name="fill">False</property> | ||
202 | <property name="position">1</property> | ||
203 | </packing> | ||
204 | </child> | ||
205 | </object> | ||
206 | <packing> | ||
207 | <property name="expand">False</property> | ||
208 | <property name="pack_type">end</property> | ||
209 | <property name="position">0</property> | ||
210 | </packing> | ||
211 | </child> | ||
212 | </object> | ||
213 | </child> | ||
214 | <action-widgets> | ||
215 | <action-widget response="-6">GNUNET_GTK_publish_file_dialog_cancel_button</action-widget> | ||
216 | <action-widget response="-5">GNUNET_GTK_publish_file_dialog_ok_button</action-widget> | ||
217 | </action-widgets> | ||
218 | </object> | ||
219 | </interface> | ||