diff options
Diffstat (limited to 'contrib/gnunet_fs_gtk_publish_file_dialog.glade')
-rw-r--r-- | contrib/gnunet_fs_gtk_publish_file_dialog.glade | 366 |
1 files changed, 199 insertions, 167 deletions
diff --git a/contrib/gnunet_fs_gtk_publish_file_dialog.glade b/contrib/gnunet_fs_gtk_publish_file_dialog.glade index 0d67aa11..14857449 100644 --- a/contrib/gnunet_fs_gtk_publish_file_dialog.glade +++ b/contrib/gnunet_fs_gtk_publish_file_dialog.glade | |||
@@ -1,72 +1,35 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <interface> | 2 | <interface> |
3 | <requires lib="gtk+" version="2.20"/> | 3 | <requires lib="gtk+" version="2.20"/> |
4 | <!-- interface-naming-policy project-wide --> | 4 | <!-- interface-naming-policy project-wide --> |
5 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_file_dialog"> | 5 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_file_dialog"> |
6 | <property name="can_focus">False</property> | ||
6 | <property name="can_default">True</property> | 7 | <property name="can_default">True</property> |
7 | <property name="border_width">5</property> | 8 | <property name="border_width">5</property> |
8 | <property name="title" translatable="yes">Publish file...</property> | 9 | <property name="title" translatable="yes">Publish file...</property> |
10 | <property name="modal">True</property> | ||
11 | <property name="destroy_with_parent">True</property> | ||
9 | <property name="type_hint">normal</property> | 12 | <property name="type_hint">normal</property> |
10 | <property name="has_separator">False</property> | ||
11 | <property name="select_multiple">True</property> | ||
12 | <property name="create_folders">False</property> | 13 | <property name="create_folders">False</property> |
14 | <property name="select_multiple">True</property> | ||
13 | <child internal-child="vbox"> | 15 | <child internal-child="vbox"> |
14 | <object class="GtkVBox" id="dialog-vbox1"> | 16 | <object class="GtkVBox" id="dialog-vbox1"> |
15 | <property name="visible">True</property> | 17 | <property name="visible">True</property> |
16 | <property name="orientation">vertical</property> | 18 | <property name="can_focus">False</property> |
17 | <property name="spacing">2</property> | 19 | <property name="spacing">2</property> |
18 | <child> | 20 | <child internal-child="action_area"> |
19 | <object class="GtkVBox" id="vbox1"> | 21 | <object class="GtkHButtonBox" id="dialog-action_area2"> |
20 | <property name="visible">True</property> | 22 | <property name="visible">True</property> |
21 | <property name="orientation">vertical</property> | 23 | <property name="can_focus">False</property> |
24 | <property name="layout_style">end</property> | ||
22 | <child> | 25 | <child> |
23 | <object class="GtkHBox" id="hbox1"> | 26 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_cancel_button"> |
27 | <property name="label">gtk-cancel</property> | ||
28 | <property name="use_action_appearance">False</property> | ||
24 | <property name="visible">True</property> | 29 | <property name="visible">True</property> |
25 | <child> | 30 | <property name="can_focus">True</property> |
26 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_file_dialog_do_index_checkbutton"> | 31 | <property name="receives_default">True</property> |
27 | <property name="label" translatable="yes">Index file</property> | 32 | <property name="use_stock">True</property> |
28 | <property name="visible">True</property> | ||
29 | <property name="can_focus">True</property> | ||
30 | <property name="receives_default">False</property> | ||
31 | <property name="use_underline">True</property> | ||
32 | <property name="active">True</property> | ||
33 | <property name="draw_indicator">True</property> | ||
34 | </object> | ||
35 | <packing> | ||
36 | <property name="expand">False</property> | ||
37 | <property name="fill">False</property> | ||
38 | <property name="padding">20</property> | ||
39 | <property name="position">0</property> | ||
40 | </packing> | ||
41 | </child> | ||
42 | <child> | ||
43 | <placeholder/> | ||
44 | </child> | ||
45 | <child> | ||
46 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_priority_label"> | ||
47 | <property name="visible">True</property> | ||
48 | <property name="label" translatable="yes">Priority:</property> | ||
49 | </object> | ||
50 | <packing> | ||
51 | <property name="expand">False</property> | ||
52 | <property name="padding">13</property> | ||
53 | <property name="position">2</property> | ||
54 | </packing> | ||
55 | </child> | ||
56 | <child> | ||
57 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_priority_spin_button"> | ||
58 | <property name="visible">True</property> | ||
59 | <property name="can_focus">True</property> | ||
60 | <property name="invisible_char">•</property> | ||
61 | <property name="adjustment">priority_adjustment</property> | ||
62 | <property name="numeric">True</property> | ||
63 | </object> | ||
64 | <packing> | ||
65 | <property name="expand">False</property> | ||
66 | <property name="padding">20</property> | ||
67 | <property name="position">3</property> | ||
68 | </packing> | ||
69 | </child> | ||
70 | </object> | 33 | </object> |
71 | <packing> | 34 | <packing> |
72 | <property name="expand">False</property> | 35 | <property name="expand">False</property> |
@@ -75,150 +38,219 @@ | |||
75 | </packing> | 38 | </packing> |
76 | </child> | 39 | </child> |
77 | <child> | 40 | <child> |
78 | <object class="GtkHBox" id="hbox2"> | 41 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_ok_button"> |
42 | <property name="label">gtk-ok</property> | ||
43 | <property name="use_action_appearance">False</property> | ||
79 | <property name="visible">True</property> | 44 | <property name="visible">True</property> |
80 | <child> | 45 | <property name="can_focus">True</property> |
81 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_expiration_label"> | 46 | <property name="can_default">True</property> |
82 | <property name="visible">True</property> | 47 | <property name="receives_default">True</property> |
83 | <property name="label" translatable="yes">Expiration year:</property> | 48 | <property name="use_stock">True</property> |
84 | </object> | ||
85 | <packing> | ||
86 | <property name="expand">False</property> | ||
87 | <property name="fill">False</property> | ||
88 | <property name="padding">20</property> | ||
89 | <property name="position">0</property> | ||
90 | </packing> | ||
91 | </child> | ||
92 | <child> | ||
93 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_expiration_year_spin_button"> | ||
94 | <property name="visible">True</property> | ||
95 | <property name="can_focus">True</property> | ||
96 | <property name="invisible_char">•</property> | ||
97 | <property name="adjustment">expiration_year_adjustment</property> | ||
98 | <property name="numeric">True</property> | ||
99 | </object> | ||
100 | <packing> | ||
101 | <property name="expand">False</property> | ||
102 | <property name="fill">False</property> | ||
103 | <property name="position">1</property> | ||
104 | </packing> | ||
105 | </child> | ||
106 | <child> | ||
107 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_anonymity_label"> | ||
108 | <property name="visible">True</property> | ||
109 | <property name="label" translatable="yes">Anonymity:</property> | ||
110 | </object> | ||
111 | <packing> | ||
112 | <property name="expand">False</property> | ||
113 | <property name="padding">5</property> | ||
114 | <property name="position">2</property> | ||
115 | </packing> | ||
116 | </child> | ||
117 | <child> | ||
118 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_anonymity_spin_button"> | ||
119 | <property name="visible">True</property> | ||
120 | <property name="can_focus">True</property> | ||
121 | <property name="invisible_char">•</property> | ||
122 | <property name="adjustment">anonymity_adjustment</property> | ||
123 | <property name="numeric">True</property> | ||
124 | <signal name="value_changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb"/> | ||
125 | </object> | ||
126 | <packing> | ||
127 | <property name="expand">False</property> | ||
128 | <property name="padding">20</property> | ||
129 | <property name="position">3</property> | ||
130 | </packing> | ||
131 | </child> | ||
132 | </object> | 49 | </object> |
133 | <packing> | 50 | <packing> |
134 | <property name="expand">False</property> | 51 | <property name="expand">False</property> |
52 | <property name="fill">False</property> | ||
135 | <property name="position">1</property> | 53 | <property name="position">1</property> |
136 | </packing> | 54 | </packing> |
137 | </child> | 55 | </child> |
56 | </object> | ||
57 | <packing> | ||
58 | <property name="expand">False</property> | ||
59 | <property name="fill">True</property> | ||
60 | <property name="pack_type">end</property> | ||
61 | <property name="position">0</property> | ||
62 | </packing> | ||
63 | </child> | ||
64 | <child> | ||
65 | <object class="GtkHBox" id="hbox1"> | ||
66 | <property name="visible">True</property> | ||
67 | <property name="can_focus">False</property> | ||
138 | <child> | 68 | <child> |
139 | <object class="GtkHBox" id="hbox3"> | 69 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_file_dialog_do_index_checkbutton"> |
70 | <property name="label" translatable="yes">Index file</property> | ||
71 | <property name="use_action_appearance">False</property> | ||
140 | <property name="visible">True</property> | 72 | <property name="visible">True</property> |
141 | <child> | 73 | <property name="can_focus">True</property> |
142 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_replication_label"> | 74 | <property name="receives_default">False</property> |
143 | <property name="visible">True</property> | 75 | <property name="use_underline">True</property> |
144 | <property name="label" translatable="yes">_Replication:</property> | 76 | <property name="active">True</property> |
145 | <property name="use_underline">True</property> | 77 | <property name="draw_indicator">True</property> |
146 | </object> | ||
147 | <packing> | ||
148 | <property name="expand">False</property> | ||
149 | <property name="padding">20</property> | ||
150 | <property name="position">0</property> | ||
151 | </packing> | ||
152 | </child> | ||
153 | <child> | ||
154 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_replication_spin_button"> | ||
155 | <property name="visible">True</property> | ||
156 | <property name="can_focus">True</property> | ||
157 | <property name="invisible_char">●</property> | ||
158 | <property name="adjustment">replication_adjustment</property> | ||
159 | <property name="numeric">True</property> | ||
160 | </object> | ||
161 | <packing> | ||
162 | <property name="expand">False</property> | ||
163 | <property name="padding">1</property> | ||
164 | <property name="position">1</property> | ||
165 | </packing> | ||
166 | </child> | ||
167 | <child> | ||
168 | <placeholder/> | ||
169 | </child> | ||
170 | <child> | ||
171 | <placeholder/> | ||
172 | </child> | ||
173 | </object> | 78 | </object> |
174 | <packing> | 79 | <packing> |
175 | <property name="expand">False</property> | 80 | <property name="expand">False</property> |
176 | <property name="position">2</property> | 81 | <property name="fill">False</property> |
82 | <property name="padding">20</property> | ||
83 | <property name="pack_type">end</property> | ||
84 | <property name="position">0</property> | ||
177 | </packing> | 85 | </packing> |
178 | </child> | 86 | </child> |
87 | <child> | ||
88 | <placeholder/> | ||
89 | </child> | ||
179 | </object> | 90 | </object> |
180 | <packing> | 91 | <packing> |
181 | <property name="position">2</property> | 92 | <property name="expand">False</property> |
93 | <property name="fill">False</property> | ||
94 | <property name="pack_type">end</property> | ||
95 | <property name="position">1</property> | ||
182 | </packing> | 96 | </packing> |
183 | </child> | 97 | </child> |
184 | <child internal-child="action_area"> | 98 | <child> |
185 | <object class="GtkHButtonBox" id="dialog-action_area2"> | 99 | <object class="GtkTable" id="table1"> |
186 | <property name="visible">True</property> | 100 | <property name="visible">True</property> |
187 | <property name="layout_style">end</property> | 101 | <property name="can_focus">False</property> |
102 | <property name="n_rows">2</property> | ||
103 | <property name="n_columns">4</property> | ||
104 | <property name="column_spacing">4</property> | ||
105 | <property name="row_spacing">3</property> | ||
188 | <child> | 106 | <child> |
189 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_cancel_button"> | 107 | <object class="GtkAlignment" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox_alignment"> |
190 | <property name="label">gtk-cancel</property> | 108 | <property name="visible">True</property> |
109 | <property name="can_focus">False</property> | ||
110 | <property name="yscale">0</property> | ||
111 | <child> | ||
112 | <object class="GtkComboBox" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox"> | ||
113 | <property name="visible">True</property> | ||
114 | <property name="can_focus">False</property> | ||
115 | <property name="active">1</property> | ||
116 | <child> | ||
117 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox_renderer"/> | ||
118 | <attributes> | ||
119 | <attribute name="foreground">2</attribute> | ||
120 | <attribute name="text">0</attribute> | ||
121 | </attributes> | ||
122 | </child> | ||
123 | <child> | ||
124 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox_renerer_level"/> | ||
125 | <attributes> | ||
126 | <attribute name="text">1</attribute> | ||
127 | </attributes> | ||
128 | </child> | ||
129 | </object> | ||
130 | </child> | ||
131 | </object> | ||
132 | <packing> | ||
133 | <property name="left_attach">3</property> | ||
134 | <property name="right_attach">4</property> | ||
135 | <property name="top_attach">1</property> | ||
136 | <property name="bottom_attach">2</property> | ||
137 | </packing> | ||
138 | </child> | ||
139 | <child> | ||
140 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_anonymity_label"> | ||
141 | <property name="visible">True</property> | ||
142 | <property name="can_focus">False</property> | ||
143 | <property name="label" translatable="yes">Anonymity:</property> | ||
144 | </object> | ||
145 | <packing> | ||
146 | <property name="left_attach">2</property> | ||
147 | <property name="right_attach">3</property> | ||
148 | <property name="top_attach">1</property> | ||
149 | <property name="bottom_attach">2</property> | ||
150 | <property name="x_options"></property> | ||
151 | <property name="y_options"></property> | ||
152 | </packing> | ||
153 | </child> | ||
154 | <child> | ||
155 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_priority_label"> | ||
156 | <property name="visible">True</property> | ||
157 | <property name="can_focus">False</property> | ||
158 | <property name="label" translatable="yes">Priority:</property> | ||
159 | </object> | ||
160 | <packing> | ||
161 | <property name="left_attach">2</property> | ||
162 | <property name="right_attach">3</property> | ||
163 | <property name="x_options"></property> | ||
164 | <property name="y_options"></property> | ||
165 | </packing> | ||
166 | </child> | ||
167 | <child> | ||
168 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_priority_spin_button"> | ||
191 | <property name="visible">True</property> | 169 | <property name="visible">True</property> |
192 | <property name="can_focus">True</property> | 170 | <property name="can_focus">True</property> |
193 | <property name="receives_default">True</property> | 171 | <property name="invisible_char">•</property> |
194 | <property name="use_stock">True</property> | 172 | <property name="invisible_char_set">True</property> |
173 | <property name="primary_icon_activatable">False</property> | ||
174 | <property name="secondary_icon_activatable">False</property> | ||
175 | <property name="primary_icon_sensitive">True</property> | ||
176 | <property name="secondary_icon_sensitive">True</property> | ||
177 | <property name="adjustment">priority_adjustment</property> | ||
178 | <property name="numeric">True</property> | ||
195 | </object> | 179 | </object> |
196 | <packing> | 180 | <packing> |
197 | <property name="expand">False</property> | 181 | <property name="left_attach">3</property> |
198 | <property name="fill">False</property> | 182 | <property name="right_attach">4</property> |
199 | <property name="position">0</property> | ||
200 | </packing> | 183 | </packing> |
201 | </child> | 184 | </child> |
202 | <child> | 185 | <child> |
203 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_ok_button"> | 186 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_expiration_label"> |
204 | <property name="label">gtk-ok</property> | 187 | <property name="visible">True</property> |
188 | <property name="can_focus">False</property> | ||
189 | <property name="label" translatable="yes">Expiration year:</property> | ||
190 | </object> | ||
191 | <packing> | ||
192 | <property name="x_options"></property> | ||
193 | <property name="y_options"></property> | ||
194 | </packing> | ||
195 | </child> | ||
196 | <child> | ||
197 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_expiration_year_spin_button"> | ||
205 | <property name="visible">True</property> | 198 | <property name="visible">True</property> |
206 | <property name="can_focus">True</property> | 199 | <property name="can_focus">True</property> |
207 | <property name="can_default">True</property> | 200 | <property name="invisible_char">•</property> |
208 | <property name="receives_default">True</property> | 201 | <property name="invisible_char_set">True</property> |
209 | <property name="use_stock">True</property> | 202 | <property name="primary_icon_activatable">False</property> |
203 | <property name="secondary_icon_activatable">False</property> | ||
204 | <property name="primary_icon_sensitive">True</property> | ||
205 | <property name="secondary_icon_sensitive">True</property> | ||
206 | <property name="adjustment">expiration_year_adjustment</property> | ||
207 | <property name="numeric">True</property> | ||
210 | </object> | 208 | </object> |
211 | <packing> | 209 | <packing> |
212 | <property name="expand">False</property> | 210 | <property name="left_attach">1</property> |
213 | <property name="fill">False</property> | 211 | <property name="right_attach">2</property> |
214 | <property name="position">1</property> | 212 | </packing> |
213 | </child> | ||
214 | <child> | ||
215 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_replication_label"> | ||
216 | <property name="visible">True</property> | ||
217 | <property name="can_focus">False</property> | ||
218 | <property name="label" translatable="yes">_Replication:</property> | ||
219 | <property name="use_underline">True</property> | ||
220 | </object> | ||
221 | <packing> | ||
222 | <property name="top_attach">1</property> | ||
223 | <property name="bottom_attach">2</property> | ||
224 | <property name="x_options"></property> | ||
225 | <property name="y_options"></property> | ||
226 | </packing> | ||
227 | </child> | ||
228 | <child> | ||
229 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_replication_spin_button"> | ||
230 | <property name="visible">True</property> | ||
231 | <property name="can_focus">True</property> | ||
232 | <property name="invisible_char">●</property> | ||
233 | <property name="invisible_char_set">True</property> | ||
234 | <property name="primary_icon_activatable">False</property> | ||
235 | <property name="secondary_icon_activatable">False</property> | ||
236 | <property name="primary_icon_sensitive">True</property> | ||
237 | <property name="secondary_icon_sensitive">True</property> | ||
238 | <property name="adjustment">replication_adjustment</property> | ||
239 | <property name="numeric">True</property> | ||
240 | </object> | ||
241 | <packing> | ||
242 | <property name="left_attach">1</property> | ||
243 | <property name="right_attach">2</property> | ||
244 | <property name="top_attach">1</property> | ||
245 | <property name="bottom_attach">2</property> | ||
215 | </packing> | 246 | </packing> |
216 | </child> | 247 | </child> |
217 | </object> | 248 | </object> |
218 | <packing> | 249 | <packing> |
219 | <property name="expand">False</property> | 250 | <property name="expand">False</property> |
251 | <property name="fill">False</property> | ||
220 | <property name="pack_type">end</property> | 252 | <property name="pack_type">end</property> |
221 | <property name="position">0</property> | 253 | <property name="position">2</property> |
222 | </packing> | 254 | </packing> |
223 | </child> | 255 | </child> |
224 | </object> | 256 | </object> |
@@ -228,12 +260,6 @@ | |||
228 | <action-widget response="-5">GNUNET_GTK_publish_file_dialog_ok_button</action-widget> | 260 | <action-widget response="-5">GNUNET_GTK_publish_file_dialog_ok_button</action-widget> |
229 | </action-widgets> | 261 | </action-widgets> |
230 | </object> | 262 | </object> |
231 | <object class="GtkAdjustment" id="priority_adjustment"> | ||
232 | <property name="value">1000</property> | ||
233 | <property name="upper">100000000</property> | ||
234 | <property name="step_increment">1</property> | ||
235 | <property name="page_increment">10</property> | ||
236 | </object> | ||
237 | <object class="GtkListStore" id="GNUNET_GTK_publish_file_dialog_expiration_list_store"> | 263 | <object class="GtkListStore" id="GNUNET_GTK_publish_file_dialog_expiration_list_store"> |
238 | <columns> | 264 | <columns> |
239 | <!-- column-name human_readable_time --> | 265 | <!-- column-name human_readable_time --> |
@@ -243,8 +269,8 @@ | |||
243 | </columns> | 269 | </columns> |
244 | </object> | 270 | </object> |
245 | <object class="GtkAdjustment" id="anonymity_adjustment"> | 271 | <object class="GtkAdjustment" id="anonymity_adjustment"> |
246 | <property name="value">1</property> | ||
247 | <property name="upper">10000000</property> | 272 | <property name="upper">10000000</property> |
273 | <property name="value">1</property> | ||
248 | <property name="step_increment">1</property> | 274 | <property name="step_increment">1</property> |
249 | <property name="page_increment">10</property> | 275 | <property name="page_increment">10</property> |
250 | </object> | 276 | </object> |
@@ -253,6 +279,12 @@ | |||
253 | <property name="step_increment">1</property> | 279 | <property name="step_increment">1</property> |
254 | <property name="page_increment">10</property> | 280 | <property name="page_increment">10</property> |
255 | </object> | 281 | </object> |
282 | <object class="GtkAdjustment" id="priority_adjustment"> | ||
283 | <property name="upper">100000000</property> | ||
284 | <property name="value">1000</property> | ||
285 | <property name="step_increment">1</property> | ||
286 | <property name="page_increment">10</property> | ||
287 | </object> | ||
256 | <object class="GtkAdjustment" id="replication_adjustment"> | 288 | <object class="GtkAdjustment" id="replication_adjustment"> |
257 | <property name="upper">99999</property> | 289 | <property name="upper">99999</property> |
258 | <property name="step_increment">1</property> | 290 | <property name="step_increment">1</property> |