diff options
Diffstat (limited to 'contrib/gnunet_fs_gtk_publish_directory_dialog.glade')
-rw-r--r-- | contrib/gnunet_fs_gtk_publish_directory_dialog.glade | 387 |
1 files changed, 205 insertions, 182 deletions
diff --git a/contrib/gnunet_fs_gtk_publish_directory_dialog.glade b/contrib/gnunet_fs_gtk_publish_directory_dialog.glade index 3b23603c..dea894f0 100644 --- a/contrib/gnunet_fs_gtk_publish_directory_dialog.glade +++ b/contrib/gnunet_fs_gtk_publish_directory_dialog.glade | |||
@@ -1,4 +1,4 @@ | |||
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 --> |
@@ -8,84 +8,51 @@ | |||
8 | <property name="page_increment">10</property> | 8 | <property name="page_increment">10</property> |
9 | </object> | 9 | </object> |
10 | <object class="GtkAdjustment" id="priority_adjustment"> | 10 | <object class="GtkAdjustment" id="priority_adjustment"> |
11 | <property name="value">1000</property> | 11 | <property name="upper">10000000</property> |
12 | <property name="upper">100000000</property> | ||
13 | <property name="step_increment">1</property> | 12 | <property name="step_increment">1</property> |
14 | <property name="page_increment">10</property> | 13 | <property name="page_increment">10</property> |
15 | </object> | 14 | </object> |
16 | <object class="GtkListStore" id="GNUNET_GTK_publish_directory_dialog_expiration_list_store"> | 15 | <object class="GtkAdjustment" id="replication_adjustment"> |
17 | <columns> | 16 | <property name="upper">999999</property> |
18 | <!-- column-name human_readable_time --> | 17 | <property name="step_increment">1</property> |
19 | <column type="gchararray"/> | 18 | <property name="page_increment">10</property> |
20 | <!-- column-name time_in_ms --> | ||
21 | <column type="guint64"/> | ||
22 | </columns> | ||
23 | </object> | 19 | </object> |
20 | <object class="GtkFileFilter" id="gnunet_directory_filter"/> | ||
24 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_directory_dialog"> | 21 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_directory_dialog"> |
22 | <property name="can_focus">False</property> | ||
25 | <property name="can_default">True</property> | 23 | <property name="can_default">True</property> |
24 | <property name="events">GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property> | ||
26 | <property name="border_width">5</property> | 25 | <property name="border_width">5</property> |
27 | <property name="type_hint">normal</property> | 26 | <property name="modal">True</property> |
28 | <property name="has_separator">False</property> | 27 | <property name="window_position">center-on-parent</property> |
29 | <property name="select_multiple">True</property> | 28 | <property name="default_width">800</property> |
30 | <property name="create_folders">False</property> | 29 | <property name="default_height">600</property> |
30 | <property name="destroy_with_parent">True</property> | ||
31 | <property name="type_hint">dialog</property> | ||
32 | <property name="skip_taskbar_hint">True</property> | ||
33 | <property name="skip_pager_hint">True</property> | ||
31 | <property name="action">select-folder</property> | 34 | <property name="action">select-folder</property> |
35 | <property name="create_folders">False</property> | ||
36 | <property name="filter">gnunet_directory_filter</property> | ||
37 | <property name="select_multiple">True</property> | ||
32 | <child internal-child="vbox"> | 38 | <child internal-child="vbox"> |
33 | <object class="GtkVBox" id="dialog-vbox2"> | 39 | <object class="GtkVBox" id="dialog-vbox8"> |
34 | <property name="visible">True</property> | 40 | <property name="visible">True</property> |
35 | <property name="orientation">vertical</property> | 41 | <property name="can_focus">False</property> |
36 | <property name="spacing">2</property> | 42 | <property name="spacing">2</property> |
37 | <child> | 43 | <child internal-child="action_area"> |
38 | <object class="GtkVBox" id="vbox1"> | 44 | <object class="GtkHButtonBox" id="dialog-action_area9"> |
39 | <property name="visible">True</property> | 45 | <property name="visible">True</property> |
40 | <property name="orientation">vertical</property> | 46 | <property name="can_focus">False</property> |
47 | <property name="layout_style">end</property> | ||
41 | <child> | 48 | <child> |
42 | <object class="GtkHBox" id="hbox1"> | 49 | <object class="GtkButton" id="GNUNET_GTK_publish_dialog_cancel_button"> |
50 | <property name="label">gtk-cancel</property> | ||
51 | <property name="use_action_appearance">False</property> | ||
43 | <property name="visible">True</property> | 52 | <property name="visible">True</property> |
44 | <child> | 53 | <property name="can_focus">True</property> |
45 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_directory_dialog_do_index_checkbutton"> | 54 | <property name="receives_default">True</property> |
46 | <property name="label" translatable="yes">Index files</property> | 55 | <property name="use_stock">True</property> |
47 | <property name="visible">True</property> | ||
48 | <property name="can_focus">True</property> | ||
49 | <property name="receives_default">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_directory_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_directory_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> | 56 | </object> |
90 | <packing> | 57 | <packing> |
91 | <property name="expand">False</property> | 58 | <property name="expand">False</property> |
@@ -94,149 +61,216 @@ | |||
94 | </packing> | 61 | </packing> |
95 | </child> | 62 | </child> |
96 | <child> | 63 | <child> |
97 | <object class="GtkHBox" id="hbox2"> | 64 | <object class="GtkButton" id="GNUNET_GTK_publish_directory_dialog_ok_button"> |
65 | <property name="label">gtk-ok</property> | ||
66 | <property name="use_action_appearance">False</property> | ||
98 | <property name="visible">True</property> | 67 | <property name="visible">True</property> |
99 | <child> | 68 | <property name="can_focus">True</property> |
100 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_expiration_label"> | 69 | <property name="can_default">True</property> |
101 | <property name="visible">True</property> | 70 | <property name="receives_default">True</property> |
102 | <property name="label" translatable="yes">Expiration year:</property> | 71 | <property name="use_stock">True</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="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_expiration_year_spin_button"> | ||
113 | <property name="visible">True</property> | ||
114 | <property name="can_focus">True</property> | ||
115 | <property name="invisible_char">•</property> | ||
116 | <property name="adjustment">expiration_year_adjustment</property> | ||
117 | </object> | ||
118 | <packing> | ||
119 | <property name="expand">False</property> | ||
120 | <property name="fill">False</property> | ||
121 | <property name="position">1</property> | ||
122 | </packing> | ||
123 | </child> | ||
124 | <child> | ||
125 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_anonymity_label"> | ||
126 | <property name="visible">True</property> | ||
127 | <property name="label" translatable="yes">Anonymity:</property> | ||
128 | </object> | ||
129 | <packing> | ||
130 | <property name="expand">False</property> | ||
131 | <property name="padding">5</property> | ||
132 | <property name="position">2</property> | ||
133 | </packing> | ||
134 | </child> | ||
135 | <child> | ||
136 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_anonymity_spin_button"> | ||
137 | <property name="visible">True</property> | ||
138 | <property name="can_focus">True</property> | ||
139 | <property name="invisible_char">•</property> | ||
140 | <property name="adjustment">anonymity_adjustment</property> | ||
141 | <property name="numeric">True</property> | ||
142 | <signal name="value_changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb"/> | ||
143 | </object> | ||
144 | <packing> | ||
145 | <property name="expand">False</property> | ||
146 | <property name="padding">20</property> | ||
147 | <property name="position">3</property> | ||
148 | </packing> | ||
149 | </child> | ||
150 | </object> | 72 | </object> |
151 | <packing> | 73 | <packing> |
152 | <property name="expand">False</property> | 74 | <property name="expand">False</property> |
75 | <property name="fill">False</property> | ||
153 | <property name="position">1</property> | 76 | <property name="position">1</property> |
154 | </packing> | 77 | </packing> |
155 | </child> | 78 | </child> |
79 | </object> | ||
80 | <packing> | ||
81 | <property name="expand">False</property> | ||
82 | <property name="fill">True</property> | ||
83 | <property name="pack_type">end</property> | ||
84 | <property name="position">0</property> | ||
85 | </packing> | ||
86 | </child> | ||
87 | <child> | ||
88 | <object class="GtkTable" id="table1"> | ||
89 | <property name="visible">True</property> | ||
90 | <property name="can_focus">False</property> | ||
91 | <property name="n_rows">2</property> | ||
92 | <property name="n_columns">4</property> | ||
156 | <child> | 93 | <child> |
157 | <object class="GtkHBox" id="hbox3"> | 94 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_priority_label"> |
158 | <property name="visible">True</property> | 95 | <property name="visible">True</property> |
96 | <property name="can_focus">False</property> | ||
97 | <property name="label" translatable="yes">Priority:</property> | ||
98 | </object> | ||
99 | <packing> | ||
100 | <property name="left_attach">2</property> | ||
101 | <property name="right_attach">3</property> | ||
102 | <property name="x_options"></property> | ||
103 | <property name="y_options"></property> | ||
104 | </packing> | ||
105 | </child> | ||
106 | <child> | ||
107 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_priority_spin_button"> | ||
108 | <property name="visible">True</property> | ||
109 | <property name="can_focus">True</property> | ||
110 | <property name="invisible_char">•</property> | ||
111 | <property name="invisible_char_set">True</property> | ||
112 | <property name="primary_icon_activatable">False</property> | ||
113 | <property name="secondary_icon_activatable">False</property> | ||
114 | <property name="primary_icon_sensitive">True</property> | ||
115 | <property name="secondary_icon_sensitive">True</property> | ||
116 | <property name="adjustment">priority_adjustment</property> | ||
117 | <property name="numeric">True</property> | ||
118 | </object> | ||
119 | <packing> | ||
120 | <property name="left_attach">3</property> | ||
121 | <property name="right_attach">4</property> | ||
122 | <property name="y_options"></property> | ||
123 | </packing> | ||
124 | </child> | ||
125 | <child> | ||
126 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_expiration_label"> | ||
127 | <property name="visible">True</property> | ||
128 | <property name="can_focus">False</property> | ||
129 | <property name="label" translatable="yes">Expiration year:</property> | ||
130 | </object> | ||
131 | <packing> | ||
132 | <property name="x_options"></property> | ||
133 | <property name="y_options"></property> | ||
134 | </packing> | ||
135 | </child> | ||
136 | <child> | ||
137 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_expiration_year_spin_button"> | ||
138 | <property name="visible">True</property> | ||
139 | <property name="can_focus">True</property> | ||
140 | <property name="invisible_char">•</property> | ||
141 | <property name="invisible_char_set">True</property> | ||
142 | <property name="primary_icon_activatable">False</property> | ||
143 | <property name="secondary_icon_activatable">False</property> | ||
144 | <property name="primary_icon_sensitive">True</property> | ||
145 | <property name="secondary_icon_sensitive">True</property> | ||
146 | <property name="adjustment">expiration_year_adjustment</property> | ||
147 | </object> | ||
148 | <packing> | ||
149 | <property name="left_attach">1</property> | ||
150 | <property name="right_attach">2</property> | ||
151 | <property name="y_options"></property> | ||
152 | </packing> | ||
153 | </child> | ||
154 | <child> | ||
155 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_anonymity_label"> | ||
156 | <property name="visible">True</property> | ||
157 | <property name="can_focus">False</property> | ||
158 | <property name="label" translatable="yes">Anonymity:</property> | ||
159 | </object> | ||
160 | <packing> | ||
161 | <property name="top_attach">1</property> | ||
162 | <property name="bottom_attach">2</property> | ||
163 | <property name="x_options"></property> | ||
164 | <property name="y_options"></property> | ||
165 | </packing> | ||
166 | </child> | ||
167 | <child> | ||
168 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_replication_label"> | ||
169 | <property name="visible">True</property> | ||
170 | <property name="can_focus">False</property> | ||
171 | <property name="label" translatable="yes">_Replication:</property> | ||
172 | <property name="use_underline">True</property> | ||
173 | </object> | ||
174 | <packing> | ||
175 | <property name="left_attach">2</property> | ||
176 | <property name="right_attach">3</property> | ||
177 | <property name="top_attach">1</property> | ||
178 | <property name="bottom_attach">2</property> | ||
179 | <property name="x_options"></property> | ||
180 | <property name="y_options"></property> | ||
181 | </packing> | ||
182 | </child> | ||
183 | <child> | ||
184 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_replication_spin_button"> | ||
185 | <property name="visible">True</property> | ||
186 | <property name="can_focus">True</property> | ||
187 | <property name="invisible_char">●</property> | ||
188 | <property name="invisible_char_set">True</property> | ||
189 | <property name="primary_icon_activatable">False</property> | ||
190 | <property name="secondary_icon_activatable">False</property> | ||
191 | <property name="primary_icon_sensitive">True</property> | ||
192 | <property name="secondary_icon_sensitive">True</property> | ||
193 | <property name="adjustment">replication_adjustment</property> | ||
194 | <property name="numeric">True</property> | ||
195 | </object> | ||
196 | <packing> | ||
197 | <property name="left_attach">3</property> | ||
198 | <property name="right_attach">4</property> | ||
199 | <property name="top_attach">1</property> | ||
200 | <property name="bottom_attach">2</property> | ||
201 | <property name="y_options"></property> | ||
202 | </packing> | ||
203 | </child> | ||
204 | <child> | ||
205 | <object class="GtkAlignment" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_alignment"> | ||
206 | <property name="visible">True</property> | ||
207 | <property name="can_focus">False</property> | ||
208 | <property name="yscale">0</property> | ||
159 | <child> | 209 | <child> |
160 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_replication_label"> | 210 | <object class="GtkComboBox" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox"> |
161 | <property name="visible">True</property> | ||
162 | <property name="label" translatable="yes">_Replication:</property> | ||
163 | <property name="use_underline">True</property> | ||
164 | </object> | ||
165 | <packing> | ||
166 | <property name="expand">False</property> | ||
167 | <property name="padding">20</property> | ||
168 | <property name="position">0</property> | ||
169 | </packing> | ||
170 | </child> | ||
171 | <child> | ||
172 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_replication_spin_button"> | ||
173 | <property name="visible">True</property> | 211 | <property name="visible">True</property> |
174 | <property name="can_focus">True</property> | 212 | <property name="can_focus">False</property> |
175 | <property name="invisible_char">●</property> | 213 | <property name="active">1</property> |
176 | <property name="adjustment">replication_adjustment</property> | 214 | <child> |
177 | <property name="numeric">True</property> | 215 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_renderer"/> |
216 | <attributes> | ||
217 | <attribute name="foreground">2</attribute> | ||
218 | <attribute name="text">0</attribute> | ||
219 | </attributes> | ||
220 | </child> | ||
221 | <child> | ||
222 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_renerer_level"/> | ||
223 | <attributes> | ||
224 | <attribute name="text">1</attribute> | ||
225 | </attributes> | ||
226 | </child> | ||
178 | </object> | 227 | </object> |
179 | <packing> | ||
180 | <property name="expand">False</property> | ||
181 | <property name="padding">1</property> | ||
182 | <property name="position">1</property> | ||
183 | </packing> | ||
184 | </child> | ||
185 | <child> | ||
186 | <placeholder/> | ||
187 | </child> | ||
188 | <child> | ||
189 | <placeholder/> | ||
190 | </child> | 228 | </child> |
191 | </object> | 229 | </object> |
192 | <packing> | 230 | <packing> |
193 | <property name="expand">False</property> | 231 | <property name="left_attach">1</property> |
194 | <property name="position">2</property> | 232 | <property name="right_attach">2</property> |
233 | <property name="top_attach">1</property> | ||
234 | <property name="bottom_attach">2</property> | ||
235 | <property name="y_options"></property> | ||
195 | </packing> | 236 | </packing> |
196 | </child> | 237 | </child> |
197 | </object> | 238 | </object> |
198 | <packing> | 239 | <packing> |
240 | <property name="expand">False</property> | ||
241 | <property name="fill">False</property> | ||
199 | <property name="position">2</property> | 242 | <property name="position">2</property> |
200 | </packing> | 243 | </packing> |
201 | </child> | 244 | </child> |
202 | <child internal-child="action_area"> | 245 | <child> |
203 | <object class="GtkHButtonBox" id="dialog-action_area3"> | 246 | <object class="GtkHBox" id="hbox1"> |
204 | <property name="visible">True</property> | 247 | <property name="visible">True</property> |
205 | <property name="layout_style">end</property> | 248 | <property name="can_focus">False</property> |
206 | <child> | 249 | <child> |
207 | <object class="GtkButton" id="GNUNET_GTK_publish_dialog_cancel_button"> | 250 | <placeholder/> |
208 | <property name="label">gtk-cancel</property> | ||
209 | <property name="visible">True</property> | ||
210 | <property name="can_focus">True</property> | ||
211 | <property name="receives_default">True</property> | ||
212 | <property name="use_stock">True</property> | ||
213 | </object> | ||
214 | <packing> | ||
215 | <property name="expand">False</property> | ||
216 | <property name="fill">False</property> | ||
217 | <property name="position">0</property> | ||
218 | </packing> | ||
219 | </child> | 251 | </child> |
220 | <child> | 252 | <child> |
221 | <object class="GtkButton" id="GNUNET_GTK_publish_directory_dialog_ok_button"> | 253 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_directory_dialog_do_index_checkbutton"> |
222 | <property name="label">gtk-ok</property> | 254 | <property name="label" translatable="yes">Index files</property> |
255 | <property name="use_action_appearance">False</property> | ||
223 | <property name="visible">True</property> | 256 | <property name="visible">True</property> |
224 | <property name="can_focus">True</property> | 257 | <property name="can_focus">True</property> |
225 | <property name="can_default">True</property> | 258 | <property name="receives_default">False</property> |
226 | <property name="receives_default">True</property> | 259 | <property name="use_underline">True</property> |
227 | <property name="use_stock">True</property> | 260 | <property name="active">True</property> |
261 | <property name="draw_indicator">True</property> | ||
228 | </object> | 262 | </object> |
229 | <packing> | 263 | <packing> |
230 | <property name="expand">False</property> | 264 | <property name="expand">False</property> |
231 | <property name="fill">False</property> | 265 | <property name="fill">True</property> |
232 | <property name="position">1</property> | 266 | <property name="position">1</property> |
233 | </packing> | 267 | </packing> |
234 | </child> | 268 | </child> |
235 | </object> | 269 | </object> |
236 | <packing> | 270 | <packing> |
237 | <property name="expand">False</property> | 271 | <property name="expand">False</property> |
238 | <property name="pack_type">end</property> | 272 | <property name="fill">False</property> |
239 | <property name="position">0</property> | 273 | <property name="position">3</property> |
240 | </packing> | 274 | </packing> |
241 | </child> | 275 | </child> |
242 | </object> | 276 | </object> |
@@ -246,15 +280,4 @@ | |||
246 | <action-widget response="-5">GNUNET_GTK_publish_directory_dialog_ok_button</action-widget> | 280 | <action-widget response="-5">GNUNET_GTK_publish_directory_dialog_ok_button</action-widget> |
247 | </action-widgets> | 281 | </action-widgets> |
248 | </object> | 282 | </object> |
249 | <object class="GtkAdjustment" id="anonymity_adjustment"> | ||
250 | <property name="value">1</property> | ||
251 | <property name="upper">10000000</property> | ||
252 | <property name="step_increment">1</property> | ||
253 | <property name="page_increment">10</property> | ||
254 | </object> | ||
255 | <object class="GtkAdjustment" id="replication_adjustment"> | ||
256 | <property name="upper">100</property> | ||
257 | <property name="step_increment">1</property> | ||
258 | <property name="page_increment">10</property> | ||
259 | </object> | ||
260 | </interface> | 283 | </interface> |