diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-11 12:33:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-11 12:33:59 +0000 |
commit | 568a8d319b5291177a35b72bf5dc2ad5fd090ea8 (patch) | |
tree | 8d4573cdaa26ed89e47cfaf2bc011439bd36a874 | |
parent | 53474ae4ed557c4432e2748dd334c1b20386ee0f (diff) | |
download | gnunet-gtk-568a8d319b5291177a35b72bf5dc2ad5fd090ea8.tar.gz gnunet-gtk-568a8d319b5291177a35b72bf5dc2ad5fd090ea8.zip |
-working on identity dialogs
-rw-r--r-- | contrib/gnunet_fs_gtk_publish_dialog.glade | 24 | ||||
-rw-r--r-- | contrib/gnunet_identity_gtk_about_window.glade | 360 | ||||
-rw-r--r-- | contrib/gnunet_identity_gtk_advertise_dialog.glade | 60 |
3 files changed, 415 insertions, 29 deletions
diff --git a/contrib/gnunet_fs_gtk_publish_dialog.glade b/contrib/gnunet_fs_gtk_publish_dialog.glade index 89c10207..dc4679e9 100644 --- a/contrib/gnunet_fs_gtk_publish_dialog.glade +++ b/contrib/gnunet_fs_gtk_publish_dialog.glade | |||
@@ -348,6 +348,12 @@ | |||
348 | <child> | 348 | <child> |
349 | <placeholder/> | 349 | <placeholder/> |
350 | </child> | 350 | </child> |
351 | <child> | ||
352 | <placeholder/> | ||
353 | </child> | ||
354 | <child> | ||
355 | <placeholder/> | ||
356 | </child> | ||
351 | </object> | 357 | </object> |
352 | <packing> | 358 | <packing> |
353 | <property name="expand">False</property> | 359 | <property name="expand">False</property> |
@@ -450,9 +456,13 @@ Publishing in both global and private namespaces will not double storage require | |||
450 | <property name="visible">True</property> | 456 | <property name="visible">True</property> |
451 | <property name="can_focus">False</property> | 457 | <property name="can_focus">False</property> |
452 | <property name="model">GNUNET_GTK_master_publish_dialog_ego_liststore</property> | 458 | <property name="model">GNUNET_GTK_master_publish_dialog_ego_liststore</property> |
453 | <property name="has_entry">True</property> | ||
454 | <property name="entry_text_column">0</property> | ||
455 | <signal name="changed" handler="GNUNET_GTK_master_publish_dialog_ego_combobox_changed_cb" swapped="no"/> | 459 | <signal name="changed" handler="GNUNET_GTK_master_publish_dialog_ego_combobox_changed_cb" swapped="no"/> |
460 | <child> | ||
461 | <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_ego_cellrenderertext"/> | ||
462 | <attributes> | ||
463 | <attribute name="text">0</attribute> | ||
464 | </attributes> | ||
465 | </child> | ||
456 | </object> | 466 | </object> |
457 | <packing> | 467 | <packing> |
458 | <property name="expand">True</property> | 468 | <property name="expand">True</property> |
@@ -790,11 +800,6 @@ Note that meta data is unaffected when using this function.</property> | |||
790 | <column type="gchararray"/> | 800 | <column type="gchararray"/> |
791 | </columns> | 801 | </columns> |
792 | </object> | 802 | </object> |
793 | <object class="GtkImage" id="left_stock_image"> | ||
794 | <property name="visible">True</property> | ||
795 | <property name="can_focus">False</property> | ||
796 | <property name="stock">gtk-go-back</property> | ||
797 | </object> | ||
798 | <object class="GtkImage" id="new_stock_image"> | 803 | <object class="GtkImage" id="new_stock_image"> |
799 | <property name="visible">True</property> | 804 | <property name="visible">True</property> |
800 | <property name="can_focus">False</property> | 805 | <property name="can_focus">False</property> |
@@ -805,6 +810,11 @@ Note that meta data is unaffected when using this function.</property> | |||
805 | <property name="can_focus">False</property> | 810 | <property name="can_focus">False</property> |
806 | <property name="stock">gtk-go-forward</property> | 811 | <property name="stock">gtk-go-forward</property> |
807 | </object> | 812 | </object> |
813 | <object class="GtkImage" id="left_stock_image"> | ||
814 | <property name="visible">True</property> | ||
815 | <property name="can_focus">False</property> | ||
816 | <property name="stock">gtk-go-back</property> | ||
817 | </object> | ||
808 | <object class="GtkSizeGroup" id="GNUNET_GTK_master_publish_dialog_labels_sizegroup"> | 818 | <object class="GtkSizeGroup" id="GNUNET_GTK_master_publish_dialog_labels_sizegroup"> |
809 | <widgets> | 819 | <widgets> |
810 | <widget name="GNUNET_GTK_master_publish_dialog_identifier_label"/> | 820 | <widget name="GNUNET_GTK_master_publish_dialog_identifier_label"/> |
diff --git a/contrib/gnunet_identity_gtk_about_window.glade b/contrib/gnunet_identity_gtk_about_window.glade new file mode 100644 index 00000000..31a906fb --- /dev/null +++ b/contrib/gnunet_identity_gtk_about_window.glade | |||
@@ -0,0 +1,360 @@ | |||
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="GtkTextBuffer" id="credits_art_contents"> | ||
6 | <property name="text">Jakub 'jimmac' Steiner <jimmac@ximian.org> | ||
7 | Christian Muellner <chris@flop.de> | ||
8 | Alex Jones <alexrjones@ntlworld.com> | ||
9 | Nicklas Larsson <whybill@gmail.com></property> | ||
10 | </object> | ||
11 | <object class="GtkTextBuffer" id="credits_authors_contents"> | ||
12 | <property name="text">Juergen Appel <jappel@linux01.gwdg.de> | ||
13 | Krista Grothoff <krista@grothoff.org> | ||
14 | James Blackwell <jblack@linuxguru.net> | ||
15 | Ludovic Courtes <ludo@chbouib.org> | ||
16 | Nils Durner <durner@gnunet.org> | ||
17 | Renaldo Ferreira <rf@cs.purdue.edu> | ||
18 | Christian Grothoff <christian@grothoff.org> | ||
19 | Eric Haumant | ||
20 | Tzvetan Horozov <horozov@motorola.com> | ||
21 | Gerd Knorr <kraxel@bytesex.org> | ||
22 | Werner Koch <libgcrypt@g10code.com> | ||
23 | Uli Luckas <luckas@musoft.de> | ||
24 | Blake Matheny | ||
25 | Glenn McGrath | ||
26 | Hendrik Pagenhardt <Hendrik.Pagenhardt@gmx.net> | ||
27 | Ioana Patrascu <ioanapatrascu@yahoo.com> | ||
28 | Marko Raeihae | ||
29 | Paul Ruth <ruth@cs.purdue.edu> | ||
30 | Risto Saarelma | ||
31 | Antti Salonen | ||
32 | Tiberius Stef <tstef@cs.purdue.edu> | ||
33 | Tuomas Toivonen | ||
34 | Tomi Tukiainen | ||
35 | Kevin Vandersloot <kfv101@psu.edu> | ||
36 | Simo Viitanen | ||
37 | Larry Waldo | ||
38 | Igor Wronsky <iwronsky@users.sourceforge.net> | ||
39 | <january@hushmail.com></property> | ||
40 | </object> | ||
41 | <object class="GtkTextBuffer" id="credits_docs_contents"> | ||
42 | <property name="text">Christian Grothoff <christian@grothoff.org> | ||
43 | Anders Carlsson <andersca@gnu.org> | ||
44 | Nils Durner <durner@gnunet.org> | ||
45 | Nicklas Larsson <whybill@gmail.com> | ||
46 | Milan Bouchet-Valat <nalimilan@club.fr> | ||
47 | Igor Wronsky <iwronsky@users.sourceforge.net></property> | ||
48 | </object> | ||
49 | <object class="GtkTextBuffer" id="credits_trans_contents"> | ||
50 | <property name="text">Di Ma | ||
51 | Jens Palsberg <palsberg@cs.ucla.edu> | ||
52 | Christian Grothoff <christian@grothoff.org> | ||
53 | Nils Durner <durner@gnunet.org> | ||
54 | Mathieu <mollo@bghflt.org> | ||
55 | Eric Haumant | ||
56 | milan@skoid.org | ||
57 | Hiroshi Yamauchi <yamauchi@cs.purdue.edu> | ||
58 | Adam Welc <welc@cs.purdue.edu> | ||
59 | Bogdan Carbunar <carbunar@cs.purdue.edu> | ||
60 | Steven Michael Murphy <murf@e-tools.com> | ||
61 | Phan Vinh Thinh <teppi82@gmail.com> | ||
62 | Daniel Nylander <po@danielnylander.se></property> | ||
63 | </object> | ||
64 | <object class="GtkTextBuffer" id="license_contents"> | ||
65 | <property name="text" translatable="yes">License should be loaded here at runtime from the license file (no need to copy the whole GPL in here...).</property> | ||
66 | </object> | ||
67 | <object class="GtkWindow" id="about_window"> | ||
68 | <property name="can_focus">False</property> | ||
69 | <property name="modal">True</property> | ||
70 | <property name="destroy_with_parent">True</property> | ||
71 | <signal name="realize" handler="GNUNET_GTK_about_window_realized" swapped="no"/> | ||
72 | <signal name="delete-event" handler="GNUNET_GTK_about_window_got_delete_event" swapped="no"/> | ||
73 | <child> | ||
74 | <object class="GtkVBox" id="about_main_vbox"> | ||
75 | <property name="visible">True</property> | ||
76 | <property name="can_focus">False</property> | ||
77 | <property name="border_width">10</property> | ||
78 | <child> | ||
79 | <object class="GtkImage" id="about_logo_image"> | ||
80 | <property name="visible">True</property> | ||
81 | <property name="can_focus">False</property> | ||
82 | <property name="pixbuf">gnunet_logo.png</property> | ||
83 | </object> | ||
84 | <packing> | ||
85 | <property name="expand">False</property> | ||
86 | <property name="fill">True</property> | ||
87 | <property name="position">0</property> | ||
88 | </packing> | ||
89 | </child> | ||
90 | <child> | ||
91 | <object class="GtkLabel" id="about_name_version_label"> | ||
92 | <property name="visible">True</property> | ||
93 | <property name="can_focus">False</property> | ||
94 | <property name="label">GNUnet-Peerinfo-GTK r28462</property> | ||
95 | <attributes> | ||
96 | <attribute name="weight" value="bold"/> | ||
97 | <attribute name="size" value="200"/> | ||
98 | </attributes> | ||
99 | </object> | ||
100 | <packing> | ||
101 | <property name="expand">False</property> | ||
102 | <property name="fill">True</property> | ||
103 | <property name="position">1</property> | ||
104 | </packing> | ||
105 | </child> | ||
106 | <child> | ||
107 | <object class="GtkLabel" id="about_copyright_label"> | ||
108 | <property name="visible">True</property> | ||
109 | <property name="can_focus">False</property> | ||
110 | <property name="label">(C) 2010-2013 The GNUnet Project</property> | ||
111 | </object> | ||
112 | <packing> | ||
113 | <property name="expand">False</property> | ||
114 | <property name="fill">True</property> | ||
115 | <property name="position">2</property> | ||
116 | </packing> | ||
117 | </child> | ||
118 | <child> | ||
119 | <object class="GtkLabel" id="about_link_label"> | ||
120 | <property name="visible">True</property> | ||
121 | <property name="can_focus">False</property> | ||
122 | <property name="label"><a href="https://gnunet.org/">GNUnet: GNU's Framework for Secure P2P Networking</a></property> | ||
123 | <property name="use_markup">True</property> | ||
124 | <property name="wrap">True</property> | ||
125 | </object> | ||
126 | <packing> | ||
127 | <property name="expand">False</property> | ||
128 | <property name="fill">True</property> | ||
129 | <property name="position">3</property> | ||
130 | </packing> | ||
131 | </child> | ||
132 | <child> | ||
133 | <object class="GtkNotebook" id="about_credits_notebook"> | ||
134 | <property name="can_focus">True</property> | ||
135 | <child> | ||
136 | <object class="GtkScrolledWindow" id="about_credits_authors_scroller"> | ||
137 | <property name="visible">True</property> | ||
138 | <property name="can_focus">True</property> | ||
139 | <property name="hscrollbar_policy">automatic</property> | ||
140 | <property name="vscrollbar_policy">automatic</property> | ||
141 | <child> | ||
142 | <object class="GtkTextView" id="about_credits_authors_textview"> | ||
143 | <property name="visible">True</property> | ||
144 | <property name="can_focus">True</property> | ||
145 | <property name="editable">False</property> | ||
146 | <property name="wrap_mode">word</property> | ||
147 | <property name="cursor_visible">False</property> | ||
148 | <property name="buffer">credits_authors_contents</property> | ||
149 | <property name="accepts_tab">False</property> | ||
150 | </object> | ||
151 | </child> | ||
152 | </object> | ||
153 | </child> | ||
154 | <child type="tab"> | ||
155 | <object class="GtkLabel" id="about_credits_authors_tab"> | ||
156 | <property name="visible">True</property> | ||
157 | <property name="can_focus">False</property> | ||
158 | <property name="label" translatable="yes">Developed by</property> | ||
159 | </object> | ||
160 | <packing> | ||
161 | <property name="tab_fill">False</property> | ||
162 | </packing> | ||
163 | </child> | ||
164 | <child> | ||
165 | <object class="GtkScrolledWindow" id="about_credits_docs_scroller"> | ||
166 | <property name="visible">True</property> | ||
167 | <property name="can_focus">True</property> | ||
168 | <property name="hscrollbar_policy">automatic</property> | ||
169 | <property name="vscrollbar_policy">automatic</property> | ||
170 | <child> | ||
171 | <object class="GtkTextView" id="about_credits_docs_textview"> | ||
172 | <property name="visible">True</property> | ||
173 | <property name="can_focus">True</property> | ||
174 | <property name="editable">False</property> | ||
175 | <property name="wrap_mode">word</property> | ||
176 | <property name="cursor_visible">False</property> | ||
177 | <property name="buffer">credits_docs_contents</property> | ||
178 | <property name="accepts_tab">False</property> | ||
179 | </object> | ||
180 | </child> | ||
181 | </object> | ||
182 | <packing> | ||
183 | <property name="position">1</property> | ||
184 | </packing> | ||
185 | </child> | ||
186 | <child type="tab"> | ||
187 | <object class="GtkLabel" id="about_credits_docs_tab"> | ||
188 | <property name="visible">True</property> | ||
189 | <property name="can_focus">False</property> | ||
190 | <property name="label" translatable="yes">Documented by</property> | ||
191 | </object> | ||
192 | <packing> | ||
193 | <property name="position">1</property> | ||
194 | <property name="tab_fill">False</property> | ||
195 | </packing> | ||
196 | </child> | ||
197 | <child> | ||
198 | <object class="GtkScrolledWindow" id="about_credits_trans_scroller"> | ||
199 | <property name="visible">True</property> | ||
200 | <property name="can_focus">True</property> | ||
201 | <property name="hscrollbar_policy">automatic</property> | ||
202 | <property name="vscrollbar_policy">automatic</property> | ||
203 | <child> | ||
204 | <object class="GtkTextView" id="about_credits_trans_textview"> | ||
205 | <property name="visible">True</property> | ||
206 | <property name="can_focus">True</property> | ||
207 | <property name="editable">False</property> | ||
208 | <property name="wrap_mode">word</property> | ||
209 | <property name="cursor_visible">False</property> | ||
210 | <property name="buffer">credits_trans_contents</property> | ||
211 | <property name="accepts_tab">False</property> | ||
212 | </object> | ||
213 | </child> | ||
214 | </object> | ||
215 | <packing> | ||
216 | <property name="position">2</property> | ||
217 | </packing> | ||
218 | </child> | ||
219 | <child type="tab"> | ||
220 | <object class="GtkLabel" id="about_credits_trans_tab"> | ||
221 | <property name="visible">True</property> | ||
222 | <property name="can_focus">False</property> | ||
223 | <property name="label" translatable="yes">Translated by</property> | ||
224 | </object> | ||
225 | <packing> | ||
226 | <property name="position">2</property> | ||
227 | <property name="tab_fill">False</property> | ||
228 | </packing> | ||
229 | </child> | ||
230 | <child> | ||
231 | <object class="GtkScrolledWindow" id="about_credits_art_scroller"> | ||
232 | <property name="visible">True</property> | ||
233 | <property name="can_focus">True</property> | ||
234 | <property name="hscrollbar_policy">automatic</property> | ||
235 | <property name="vscrollbar_policy">automatic</property> | ||
236 | <child> | ||
237 | <object class="GtkTextView" id="about_credits_art_textview"> | ||
238 | <property name="visible">True</property> | ||
239 | <property name="can_focus">True</property> | ||
240 | <property name="editable">False</property> | ||
241 | <property name="wrap_mode">word</property> | ||
242 | <property name="cursor_visible">False</property> | ||
243 | <property name="buffer">credits_art_contents</property> | ||
244 | <property name="accepts_tab">False</property> | ||
245 | </object> | ||
246 | </child> | ||
247 | </object> | ||
248 | <packing> | ||
249 | <property name="position">3</property> | ||
250 | </packing> | ||
251 | </child> | ||
252 | <child type="tab"> | ||
253 | <object class="GtkLabel" id="about_credits_art_tab"> | ||
254 | <property name="visible">True</property> | ||
255 | <property name="can_focus">False</property> | ||
256 | <property name="label" translatable="yes">Artwork by</property> | ||
257 | </object> | ||
258 | <packing> | ||
259 | <property name="position">3</property> | ||
260 | <property name="tab_fill">False</property> | ||
261 | </packing> | ||
262 | </child> | ||
263 | </object> | ||
264 | <packing> | ||
265 | <property name="expand">True</property> | ||
266 | <property name="fill">True</property> | ||
267 | <property name="position">4</property> | ||
268 | </packing> | ||
269 | </child> | ||
270 | <child> | ||
271 | <object class="GtkScrolledWindow" id="about_license_scroller"> | ||
272 | <property name="can_focus">True</property> | ||
273 | <property name="hscrollbar_policy">never</property> | ||
274 | <property name="shadow_type">out</property> | ||
275 | <child> | ||
276 | <object class="GtkTextView" id="about_license_textview"> | ||
277 | <property name="visible">True</property> | ||
278 | <property name="can_focus">True</property> | ||
279 | <property name="editable">False</property> | ||
280 | <property name="wrap_mode">word</property> | ||
281 | <property name="cursor_visible">False</property> | ||
282 | <property name="buffer">license_contents</property> | ||
283 | <property name="accepts_tab">False</property> | ||
284 | </object> | ||
285 | </child> | ||
286 | </object> | ||
287 | <packing> | ||
288 | <property name="expand">True</property> | ||
289 | <property name="fill">True</property> | ||
290 | <property name="position">5</property> | ||
291 | </packing> | ||
292 | </child> | ||
293 | <child> | ||
294 | <object class="GtkHBox" id="about_buttons_hbox"> | ||
295 | <property name="visible">True</property> | ||
296 | <property name="can_focus">False</property> | ||
297 | <property name="border_width">5</property> | ||
298 | <property name="homogeneous">True</property> | ||
299 | <child> | ||
300 | <object class="GtkButton" id="about_credits_button"> | ||
301 | <property name="label" translatable="yes">Credits</property> | ||
302 | <property name="use_action_appearance">False</property> | ||
303 | <property name="visible">True</property> | ||
304 | <property name="can_focus">True</property> | ||
305 | <property name="receives_default">True</property> | ||
306 | <signal name="clicked" handler="GNUNET_GTK_about_credits_button_clicked" swapped="no"/> | ||
307 | </object> | ||
308 | <packing> | ||
309 | <property name="expand">True</property> | ||
310 | <property name="fill">False</property> | ||
311 | <property name="position">0</property> | ||
312 | </packing> | ||
313 | </child> | ||
314 | <child> | ||
315 | <object class="GtkButton" id="about_license_button"> | ||
316 | <property name="label" translatable="yes">License</property> | ||
317 | <property name="use_action_appearance">False</property> | ||
318 | <property name="visible">True</property> | ||
319 | <property name="can_focus">True</property> | ||
320 | <property name="receives_default">True</property> | ||
321 | <signal name="clicked" handler="GNUNET_GTK_about_license_button_clicked" swapped="no"/> | ||
322 | </object> | ||
323 | <packing> | ||
324 | <property name="expand">True</property> | ||
325 | <property name="fill">False</property> | ||
326 | <property name="position">1</property> | ||
327 | </packing> | ||
328 | </child> | ||
329 | <child> | ||
330 | <object class="GtkButton" id="about_close_button"> | ||
331 | <property name="label">gtk-close</property> | ||
332 | <property name="use_action_appearance">False</property> | ||
333 | <property name="visible">True</property> | ||
334 | <property name="can_focus">True</property> | ||
335 | <property name="receives_default">True</property> | ||
336 | <property name="use_stock">True</property> | ||
337 | <signal name="clicked" handler="GNUNET_GTK_about_close_button_clicked" swapped="no"/> | ||
338 | </object> | ||
339 | <packing> | ||
340 | <property name="expand">True</property> | ||
341 | <property name="fill">False</property> | ||
342 | <property name="pack_type">end</property> | ||
343 | <property name="position">2</property> | ||
344 | </packing> | ||
345 | </child> | ||
346 | <child> | ||
347 | <placeholder/> | ||
348 | </child> | ||
349 | </object> | ||
350 | <packing> | ||
351 | <property name="expand">False</property> | ||
352 | <property name="fill">False</property> | ||
353 | <property name="pack_type">end</property> | ||
354 | <property name="position">6</property> | ||
355 | </packing> | ||
356 | </child> | ||
357 | </object> | ||
358 | </child> | ||
359 | </object> | ||
360 | </interface> | ||
diff --git a/contrib/gnunet_identity_gtk_advertise_dialog.glade b/contrib/gnunet_identity_gtk_advertise_dialog.glade index c15398f4..5baf4504 100644 --- a/contrib/gnunet_identity_gtk_advertise_dialog.glade +++ b/contrib/gnunet_identity_gtk_advertise_dialog.glade | |||
@@ -7,22 +7,13 @@ | |||
7 | <property name="step_increment">1</property> | 7 | <property name="step_increment">1</property> |
8 | <property name="page_increment">10</property> | 8 | <property name="page_increment">10</property> |
9 | </object> | 9 | </object> |
10 | <object class="GtkListStore" id="GNUNET_GTK_identity_advertise_metadata_liststore"> | 10 | <object class="GtkListStore" id="GNUNET_GTK_identity_advertise_keywords_liststore"> |
11 | <columns> | 11 | <columns> |
12 | <!-- column-name TypeBin --> | 12 | <!-- column-name Keyword --> |
13 | <column type="gint"/> | ||
14 | <!-- column-name Type --> | ||
15 | <column type="gchararray"/> | ||
16 | <!-- column-name Value --> | ||
17 | <column type="gchararray"/> | 13 | <column type="gchararray"/> |
18 | </columns> | 14 | </columns> |
19 | </object> | 15 | </object> |
20 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_metadata_vadj"> | 16 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_keywords_vadj"> |
21 | <property name="upper">100</property> | ||
22 | <property name="step_increment">1</property> | ||
23 | <property name="page_increment">10</property> | ||
24 | </object> | ||
25 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_metadata_hadj"> | ||
26 | <property name="upper">100</property> | 17 | <property name="upper">100</property> |
27 | <property name="step_increment">1</property> | 18 | <property name="step_increment">1</property> |
28 | <property name="page_increment">10</property> | 19 | <property name="page_increment">10</property> |
@@ -54,7 +45,7 @@ | |||
54 | <property name="visible">True</property> | 45 | <property name="visible">True</property> |
55 | <property name="can_focus">False</property> | 46 | <property name="can_focus">False</property> |
56 | <child> | 47 | <child> |
57 | <object class="GtkHBox" id="hbox1"> | 48 | <object class="GtkHBox" id="GNUNET_GTK_identity_advertise_metadata_add_hbox"> |
58 | <property name="visible">True</property> | 49 | <property name="visible">True</property> |
59 | <property name="can_focus">False</property> | 50 | <property name="can_focus">False</property> |
60 | <child> | 51 | <child> |
@@ -74,6 +65,13 @@ | |||
74 | <object class="GtkComboBox" id="GNUNET_GTK_identity_advertise_metadata_type_combobox"> | 65 | <object class="GtkComboBox" id="GNUNET_GTK_identity_advertise_metadata_type_combobox"> |
75 | <property name="visible">True</property> | 66 | <property name="visible">True</property> |
76 | <property name="can_focus">False</property> | 67 | <property name="can_focus">False</property> |
68 | <property name="model">GNUNET_GTK_identity_metadata_types_liststore</property> | ||
69 | <child> | ||
70 | <object class="GtkCellRendererText" id="GNUNET_GTK_identity_metadata_type_cellrenderertext"/> | ||
71 | <attributes> | ||
72 | <attribute name="text">0</attribute> | ||
73 | </attributes> | ||
74 | </child> | ||
77 | </object> | 75 | </object> |
78 | <packing> | 76 | <packing> |
79 | <property name="expand">True</property> | 77 | <property name="expand">True</property> |
@@ -163,8 +161,8 @@ | |||
163 | <property name="visible">True</property> | 161 | <property name="visible">True</property> |
164 | <property name="can_focus">True</property> | 162 | <property name="can_focus">True</property> |
165 | <property name="model">GNUNET_GTK_identity_advertise_keywords_liststore</property> | 163 | <property name="model">GNUNET_GTK_identity_advertise_keywords_liststore</property> |
166 | <property name="hadjustment">GNUNET_GTK_identity_advertise_keywords_hadj</property> | 164 | <property name="hadjustment">GNUNET_GTK_identity_advertise_metadata_hadj</property> |
167 | <property name="vadjustment">GNUNET_GTK_identity_advertise_keywords_vadj</property> | 165 | <property name="vadjustment">GNUNET_GTK_identity_advertise_metadata_vadj</property> |
168 | <property name="headers_clickable">False</property> | 166 | <property name="headers_clickable">False</property> |
169 | <property name="rules_hint">True</property> | 167 | <property name="rules_hint">True</property> |
170 | <property name="search_column">0</property> | 168 | <property name="search_column">0</property> |
@@ -237,6 +235,7 @@ | |||
237 | <object class="GtkButton" id="GNUNET_GTK_identity_advertise_ok_button"> | 235 | <object class="GtkButton" id="GNUNET_GTK_identity_advertise_ok_button"> |
238 | <property name="label">gtk-execute</property> | 236 | <property name="label">gtk-execute</property> |
239 | <property name="visible">True</property> | 237 | <property name="visible">True</property> |
238 | <property name="sensitive">False</property> | ||
240 | <property name="can_focus">True</property> | 239 | <property name="can_focus">True</property> |
241 | <property name="receives_default">True</property> | 240 | <property name="receives_default">True</property> |
242 | <property name="tooltip_text" translatable="yes">Execute advertisement.</property> | 241 | <property name="tooltip_text" translatable="yes">Execute advertisement.</property> |
@@ -286,8 +285,8 @@ | |||
286 | <object class="GtkScrolledWindow" id="GNUNET_GTK_identity_advertise_keywords_scrolledwindow"> | 285 | <object class="GtkScrolledWindow" id="GNUNET_GTK_identity_advertise_keywords_scrolledwindow"> |
287 | <property name="visible">True</property> | 286 | <property name="visible">True</property> |
288 | <property name="can_focus">True</property> | 287 | <property name="can_focus">True</property> |
289 | <property name="hadjustment">GNUNET_GTK_identity_advertise_keywords_order_hadj</property> | 288 | <property name="hadjustment">GNUNET_GTK_identity_advertise_keywords_hadj</property> |
290 | <property name="vadjustment">GNUNET_GTK_identity_advertise_keywords_order_vadj</property> | 289 | <property name="vadjustment">GNUNET_GTK_identity_advertise_keywords_vadj</property> |
291 | <property name="hscrollbar_policy">automatic</property> | 290 | <property name="hscrollbar_policy">automatic</property> |
292 | <property name="vscrollbar_policy">automatic</property> | 291 | <property name="vscrollbar_policy">automatic</property> |
293 | <child> | 292 | <child> |
@@ -295,8 +294,8 @@ | |||
295 | <property name="visible">True</property> | 294 | <property name="visible">True</property> |
296 | <property name="can_focus">True</property> | 295 | <property name="can_focus">True</property> |
297 | <property name="model">GNUNET_GTK_identity_advertise_keywords_liststore</property> | 296 | <property name="model">GNUNET_GTK_identity_advertise_keywords_liststore</property> |
298 | <property name="hadjustment">GNUNET_GTK_identity_advertise_keywords_order_hadj</property> | 297 | <property name="hadjustment">GNUNET_GTK_identity_advertise_keywords_hadj</property> |
299 | <property name="vadjustment">GNUNET_GTK_identity_advertise_keywords_order_vadj</property> | 298 | <property name="vadjustment">GNUNET_GTK_identity_advertise_keywords_vadj</property> |
300 | <property name="reorderable">True</property> | 299 | <property name="reorderable">True</property> |
301 | <property name="enable_search">False</property> | 300 | <property name="enable_search">False</property> |
302 | <property name="search_column">0</property> | 301 | <property name="search_column">0</property> |
@@ -346,15 +345,32 @@ | |||
346 | <action-widget response="-6">GNUNET_GTK_identity_advertise_cancel_button</action-widget> | 345 | <action-widget response="-6">GNUNET_GTK_identity_advertise_cancel_button</action-widget> |
347 | </action-widgets> | 346 | </action-widgets> |
348 | </object> | 347 | </object> |
349 | <object class="GtkListStore" id="GNUNET_GTK_identity_advertise_keywords_liststore"> | 348 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_metadata_hadj"> |
349 | <property name="upper">100</property> | ||
350 | <property name="step_increment">1</property> | ||
351 | <property name="page_increment">10</property> | ||
352 | </object> | ||
353 | <object class="GtkListStore" id="GNUNET_GTK_identity_advertise_metadata_liststore"> | ||
350 | <columns> | 354 | <columns> |
351 | <!-- column-name Keyword --> | 355 | <!-- column-name TypeBin --> |
356 | <column type="gint"/> | ||
357 | <!-- column-name Type --> | ||
358 | <column type="gchararray"/> | ||
359 | <!-- column-name Value --> | ||
352 | <column type="gchararray"/> | 360 | <column type="gchararray"/> |
353 | </columns> | 361 | </columns> |
354 | </object> | 362 | </object> |
355 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_keywords_vadj"> | 363 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_metadata_vadj"> |
356 | <property name="upper">100</property> | 364 | <property name="upper">100</property> |
357 | <property name="step_increment">1</property> | 365 | <property name="step_increment">1</property> |
358 | <property name="page_increment">10</property> | 366 | <property name="page_increment">10</property> |
359 | </object> | 367 | </object> |
368 | <object class="GtkListStore" id="GNUNET_GTK_identity_metadata_types_liststore"> | ||
369 | <columns> | ||
370 | <!-- column-name type_as_string --> | ||
371 | <column type="gchararray"/> | ||
372 | <!-- column-name type_as_enum --> | ||
373 | <column type="guint"/> | ||
374 | </columns> | ||
375 | </object> | ||
360 | </interface> | 376 | </interface> |