diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 15:20:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 15:20:52 +0000 |
commit | f84648bcef187a1b81ab6870efbe34d67d576a87 (patch) | |
tree | 419b9c0785b1bf324ed312d8bcfd70bd7e4f8cd2 | |
parent | c09eb56655a35ffba298c42cd976a3c2b8ba4f1a (diff) | |
download | gnunet-gtk-f84648bcef187a1b81ab6870efbe34d67d576a87.tar.gz gnunet-gtk-f84648bcef187a1b81ab6870efbe34d67d576a87.zip |
peerinfo
-rw-r--r-- | contrib/gnunet_peerinfo_gtk_main_window.glade | 521 |
1 files changed, 92 insertions, 429 deletions
diff --git a/contrib/gnunet_peerinfo_gtk_main_window.glade b/contrib/gnunet_peerinfo_gtk_main_window.glade index 79d38685..9873a252 100644 --- a/contrib/gnunet_peerinfo_gtk_main_window.glade +++ b/contrib/gnunet_peerinfo_gtk_main_window.glade | |||
@@ -2,60 +2,6 @@ | |||
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="GtkAdjustment" id="adjustment4"> | ||
6 | <property name="upper">100</property> | ||
7 | <property name="step_increment">1</property> | ||
8 | <property name="page_increment">10</property> | ||
9 | <property name="page_size">10</property> | ||
10 | </object> | ||
11 | <object class="GtkAdjustment" id="adjustment3"> | ||
12 | <property name="upper">100</property> | ||
13 | <property name="step_increment">1</property> | ||
14 | <property name="page_increment">10</property> | ||
15 | <property name="page_size">10</property> | ||
16 | </object> | ||
17 | <object class="GtkAdjustment" id="adjustment2"> | ||
18 | <property name="upper">100</property> | ||
19 | <property name="step_increment">1</property> | ||
20 | <property name="page_increment">10</property> | ||
21 | <property name="page_size">10</property> | ||
22 | </object> | ||
23 | <object class="GtkAdjustment" id="adjustment1"> | ||
24 | <property name="upper">100</property> | ||
25 | <property name="step_increment">1</property> | ||
26 | <property name="page_increment">10</property> | ||
27 | <property name="page_size">10</property> | ||
28 | </object> | ||
29 | <object class="GtkImage" id="image6"> | ||
30 | <property name="visible">True</property> | ||
31 | <property name="stock">gtk-index</property> | ||
32 | </object> | ||
33 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | ||
34 | <columns> | ||
35 | <!-- column-name peer_identity --> | ||
36 | <column type="gchararray"/> | ||
37 | <!-- column-name number_of_known_addresses --> | ||
38 | <column type="guint"/> | ||
39 | <!-- column-name country_name --> | ||
40 | <column type="gchararray"/> | ||
41 | <!-- column-name country_flag --> | ||
42 | <column type="GdkPixbuf"/> | ||
43 | <!-- column-name bandwidth --> | ||
44 | <column type="guint64"/> | ||
45 | </columns> | ||
46 | </object> | ||
47 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> | ||
48 | <columns> | ||
49 | <!-- column-name extractor_meta_type --> | ||
50 | <column type="guint"/> | ||
51 | <!-- column-name extractor_meta_format --> | ||
52 | <column type="guint"/> | ||
53 | <!-- column-name extractor_meta_type_string --> | ||
54 | <column type="gchararray"/> | ||
55 | <!-- column-name extracotr_meta_value --> | ||
56 | <column type="gchararray"/> | ||
57 | </columns> | ||
58 | </object> | ||
59 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> | 5 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> |
60 | <property name="title" translatable="yes">gnunet-gtk</property> | 6 | <property name="title" translatable="yes">gnunet-gtk</property> |
61 | <property name="window_position">center</property> | 7 | <property name="window_position">center</property> |
@@ -70,131 +16,6 @@ | |||
70 | <object class="GtkMenuBar" id="GNUNET_GTK_main_menu"> | 16 | <object class="GtkMenuBar" id="GNUNET_GTK_main_menu"> |
71 | <property name="visible">True</property> | 17 | <property name="visible">True</property> |
72 | <child> | 18 | <child> |
73 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> | ||
74 | <property name="visible">True</property> | ||
75 | <property name="use_action_appearance">False</property> | ||
76 | <property name="label" translatable="yes">_File sharing</property> | ||
77 | <property name="use_underline">True</property> | ||
78 | <child type="submenu"> | ||
79 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_file_sharing_box"> | ||
80 | <property name="visible">True</property> | ||
81 | <child> | ||
82 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_create_pseudonym"> | ||
83 | <property name="label" translatable="yes">_Create pseudonym</property> | ||
84 | <property name="visible">True</property> | ||
85 | <property name="tooltip_text" translatable="yes">Create a pseudonym for publishing content. Note that you can also publish content anonymously (without using a pseudonym).</property> | ||
86 | <property name="use_action_appearance">False</property> | ||
87 | <property name="accel_path"><gnunet-gtk>/File sharing/Create pseudonym</property> | ||
88 | <property name="use_underline">True</property> | ||
89 | <property name="image">image3</property> | ||
90 | <property name="use_stock">False</property> | ||
91 | <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
92 | <signal name="activate" handler="GNUNET_GTK_main_menu_create_pseudonym_activate_cb" swapped="no"/> | ||
93 | </object> | ||
94 | </child> | ||
95 | <child> | ||
96 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_advertise_pseudonym"> | ||
97 | <property name="label" translatable="yes">_Advertise Pseudonym</property> | ||
98 | <property name="visible">True</property> | ||
99 | <property name="use_action_appearance">False</property> | ||
100 | <property name="use_underline">True</property> | ||
101 | <property name="image">image6</property> | ||
102 | <property name="use_stock">False</property> | ||
103 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_advertise_pseudonym_activate_cb" swapped="no"/> | ||
104 | </object> | ||
105 | </child> | ||
106 | <child> | ||
107 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> | ||
108 | <property name="label" translatable="yes">_Publish</property> | ||
109 | <property name="visible">True</property> | ||
110 | <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> | ||
111 | <property name="use_action_appearance">False</property> | ||
112 | <property name="accel_path"><gnunet-gtk>/File sharing/Publish</property> | ||
113 | <property name="use_underline">True</property> | ||
114 | <property name="image">image2</property> | ||
115 | <property name="use_stock">False</property> | ||
116 | <accelerator key="a" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
117 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_publish_activate_cb" swapped="no"/> | ||
118 | </object> | ||
119 | </child> | ||
120 | <child> | ||
121 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep1"> | ||
122 | <property name="visible">True</property> | ||
123 | <property name="use_action_appearance">False</property> | ||
124 | </object> | ||
125 | </child> | ||
126 | <child> | ||
127 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_search"> | ||
128 | <property name="label" translatable="yes">_Search</property> | ||
129 | <property name="visible">True</property> | ||
130 | <property name="tooltip_text" translatable="yes">Search GNUnet for files</property> | ||
131 | <property name="use_action_appearance">False</property> | ||
132 | <property name="accel_path"><gnunet-gtk>/File sharing/Search</property> | ||
133 | <property name="use_underline">True</property> | ||
134 | <property name="image">image4</property> | ||
135 | <property name="use_stock">False</property> | ||
136 | <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
137 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_search_activate_cb" swapped="no"/> | ||
138 | </object> | ||
139 | </child> | ||
140 | <child> | ||
141 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep2"> | ||
142 | <property name="visible">True</property> | ||
143 | <property name="use_action_appearance">False</property> | ||
144 | </object> | ||
145 | </child> | ||
146 | <child> | ||
147 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> | ||
148 | <property name="label" translatable="yes">_Download</property> | ||
149 | <property name="visible">True</property> | ||
150 | <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> | ||
151 | <property name="use_action_appearance">False</property> | ||
152 | <property name="accel_path"><gnunet-gtk>/File sharing/Download</property> | ||
153 | <property name="use_underline">True</property> | ||
154 | <property name="image">image5</property> | ||
155 | <property name="use_stock">False</property> | ||
156 | <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
157 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_download_uri_activate_cb" swapped="no"/> | ||
158 | </object> | ||
159 | </child> | ||
160 | <child> | ||
161 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> | ||
162 | <property name="label" translatable="yes">_Open GNUnet directory</property> | ||
163 | <property name="visible">True</property> | ||
164 | <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> | ||
165 | <property name="use_action_appearance">False</property> | ||
166 | <property name="accel_path"><gnunet-gtk>/File sharing/Open directory</property> | ||
167 | <property name="use_underline">True</property> | ||
168 | <property name="image">image1</property> | ||
169 | <property name="use_stock">False</property> | ||
170 | <accelerator key="F3" signal="activate"/> | ||
171 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_open_gnunet_directory_activate_cb" swapped="no"/> | ||
172 | </object> | ||
173 | </child> | ||
174 | <child> | ||
175 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep3"> | ||
176 | <property name="visible">True</property> | ||
177 | <property name="use_action_appearance">False</property> | ||
178 | </object> | ||
179 | </child> | ||
180 | <child> | ||
181 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> | ||
182 | <property name="label">gtk-quit</property> | ||
183 | <property name="visible">True</property> | ||
184 | <property name="tooltip_text" translatable="yes">Exit gnunet-gtk. Active file-sharing operations will resume upon restart.</property> | ||
185 | <property name="use_action_appearance">False</property> | ||
186 | <property name="accel_path"><gnunet-gtk>/Quit</property> | ||
187 | <property name="use_underline">True</property> | ||
188 | <property name="use_stock">True</property> | ||
189 | <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
190 | <signal name="activate" handler="GNUNET_GTK_quit_cb" swapped="no"/> | ||
191 | </object> | ||
192 | </child> | ||
193 | </object> | ||
194 | </child> | ||
195 | </object> | ||
196 | </child> | ||
197 | <child> | ||
198 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> | 19 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> |
199 | <property name="use_action_appearance">False</property> | 20 | <property name="use_action_appearance">False</property> |
200 | <property name="label" translatable="yes">_Edit</property> | 21 | <property name="label" translatable="yes">_Edit</property> |
@@ -218,52 +39,6 @@ | |||
218 | </object> | 39 | </object> |
219 | </child> | 40 | </child> |
220 | <child> | 41 | <child> |
221 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> | ||
222 | <property name="visible">True</property> | ||
223 | <property name="use_action_appearance">False</property> | ||
224 | <property name="label" translatable="yes">_View</property> | ||
225 | <property name="use_underline">True</property> | ||
226 | <child type="submenu"> | ||
227 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_view_box"> | ||
228 | <property name="visible">True</property> | ||
229 | <child> | ||
230 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> | ||
231 | <property name="visible">True</property> | ||
232 | <property name="tooltip_text" translatable="yes">Show meta data in main window</property> | ||
233 | <property name="use_action_appearance">False</property> | ||
234 | <property name="label" translatable="yes">Metadata</property> | ||
235 | <property name="use_underline">True</property> | ||
236 | <property name="active">True</property> | ||
237 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_metadata_toggled_cb" swapped="no"/> | ||
238 | </object> | ||
239 | </child> | ||
240 | <child> | ||
241 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_neighbours"> | ||
242 | <property name="visible">True</property> | ||
243 | <property name="tooltip_text" translatable="yes">Activates the panel showing information about known and connected peers</property> | ||
244 | <property name="use_action_appearance">False</property> | ||
245 | <property name="label" translatable="yes">Neighbours</property> | ||
246 | <property name="use_underline">True</property> | ||
247 | <property name="active">True</property> | ||
248 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_neighbours_toggled_cb" swapped="no"/> | ||
249 | </object> | ||
250 | </child> | ||
251 | <child> | ||
252 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> | ||
253 | <property name="visible">True</property> | ||
254 | <property name="tooltip_text" translatable="yes">Show preview (when available)</property> | ||
255 | <property name="use_action_appearance">False</property> | ||
256 | <property name="label" translatable="yes">Preview</property> | ||
257 | <property name="use_underline">True</property> | ||
258 | <property name="active">True</property> | ||
259 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_preview_toggled_cb" swapped="no"/> | ||
260 | </object> | ||
261 | </child> | ||
262 | </object> | ||
263 | </child> | ||
264 | </object> | ||
265 | </child> | ||
266 | <child> | ||
267 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> | 42 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> |
268 | <property name="visible">True</property> | 43 | <property name="visible">True</property> |
269 | <property name="use_action_appearance">False</property> | 44 | <property name="use_action_appearance">False</property> |
@@ -291,214 +66,84 @@ | |||
291 | </object> | 66 | </object> |
292 | <packing> | 67 | <packing> |
293 | <property name="expand">False</property> | 68 | <property name="expand">False</property> |
294 | <property name="position">1</property> | 69 | <property name="fill">True</property> |
295 | </packing> | 70 | <property name="position">0</property> |
296 | </child> | ||
297 | <child> | ||
298 | <object class="GtkToolbar" id="GNUNET_GTK_main_window_toolbar"> | ||
299 | <property name="toolbar_style">icons</property> | ||
300 | <child> | ||
301 | <object class="GtkToolButton" id="GNUNET_GTK_toolbar_search"> | ||
302 | <property name="visible">True</property> | ||
303 | <property name="use_action_appearance">False</property> | ||
304 | <property name="label" translatable="yes">_Search</property> | ||
305 | <property name="use_underline">True</property> | ||
306 | <property name="stock_id">gtk-find</property> | ||
307 | </object> | ||
308 | <packing> | ||
309 | <property name="expand">False</property> | ||
310 | <property name="homogeneous">True</property> | ||
311 | </packing> | ||
312 | </child> | ||
313 | </object> | ||
314 | <packing> | ||
315 | <property name="expand">False</property> | ||
316 | <property name="fill">False</property> | ||
317 | <property name="position">2</property> | ||
318 | </packing> | 71 | </packing> |
319 | </child> | 72 | </child> |
320 | <child> | 73 | <child> |
321 | <object class="GtkHBox" id="GNUNET_GTK_main_window_hbox"> | 74 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_peerinfo_scroll"> |
322 | <property name="visible">True</property> | 75 | <property name="visible">True</property> |
76 | <property name="can_focus">True</property> | ||
77 | <property name="hadjustment">adjustment3</property> | ||
78 | <property name="vadjustment">adjustment4</property> | ||
79 | <property name="hscrollbar_policy">automatic</property> | ||
80 | <property name="vscrollbar_policy">automatic</property> | ||
323 | <child> | 81 | <child> |
324 | <object class="GtkNotebook" id="GNUNET_GTK_main_window_notebook"> | 82 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_peerinfo_treeview"> |
325 | <property name="visible">True</property> | 83 | <property name="visible">True</property> |
326 | <property name="can_focus">True</property> | 84 | <property name="can_focus">True</property> |
327 | <property name="scrollable">True</property> | 85 | <property name="model">GNUNET_GTK_peer_info_list_store</property> |
328 | <signal name="switch-page" handler="GNUNET_GTK_main_window_notebook_switch_page_cb" after="yes" swapped="no"/> | 86 | <property name="hadjustment">adjustment3</property> |
329 | </object> | 87 | <property name="vadjustment">adjustment4</property> |
330 | <packing> | 88 | <property name="reorderable">True</property> |
331 | <property name="position">0</property> | 89 | <property name="search_column">0</property> |
332 | </packing> | ||
333 | </child> | ||
334 | <child> | ||
335 | <object class="GtkVSeparator" id="GNUNET_GTK_main_window_separator"> | ||
336 | <property name="visible">True</property> | ||
337 | </object> | ||
338 | <packing> | ||
339 | <property name="expand">False</property> | ||
340 | <property name="position">1</property> | ||
341 | </packing> | ||
342 | </child> | ||
343 | <child> | ||
344 | <object class="GtkVBox" id="GNUNET_GTK_main_window_extras_vbox"> | ||
345 | <property name="visible">True</property> | ||
346 | <child> | 90 | <child> |
347 | <object class="GtkImage" id="GNUNET_GTK_main_window_preview_image"> | 91 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_name_column"> |
348 | <property name="width_request">128</property> | 92 | <property name="sizing">autosize</property> |
349 | <property name="height_request">128</property> | 93 | <property name="title" translatable="yes">Peer</property> |
350 | <property name="visible">True</property> | 94 | <property name="expand">True</property> |
351 | <property name="sensitive">False</property> | 95 | <property name="clickable">True</property> |
352 | <property name="has_tooltip">True</property> | 96 | <property name="reorderable">True</property> |
353 | <property name="tooltip_text" translatable="yes">Thumbnail associated with the currently selected content</property> | 97 | <property name="sort_column_id">0</property> |
354 | <property name="pixel_size">256</property> | 98 | <child> |
99 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_name_renderer"> | ||
100 | <property name="sensitive">False</property> | ||
101 | <property name="width_chars">16</property> | ||
102 | </object> | ||
103 | <attributes> | ||
104 | <attribute name="text">0</attribute> | ||
105 | </attributes> | ||
106 | </child> | ||
355 | </object> | 107 | </object> |
356 | <packing> | ||
357 | <property name="expand">False</property> | ||
358 | <property name="fill">False</property> | ||
359 | <property name="position">0</property> | ||
360 | </packing> | ||
361 | </child> | 108 | </child> |
362 | <child> | 109 | <child> |
363 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_metadata_scroll"> | 110 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_bandwidth_column"> |
364 | <property name="visible">True</property> | 111 | <property name="sizing">autosize</property> |
365 | <property name="can_focus">True</property> | 112 | <property name="title" translatable="yes">Bandwidth</property> |
366 | <property name="hadjustment">adjustment1</property> | 113 | <property name="clickable">True</property> |
367 | <property name="vadjustment">adjustment2</property> | 114 | <property name="sort_order">descending</property> |
368 | <property name="hscrollbar_policy">automatic</property> | 115 | <property name="sort_column_id">5</property> |
369 | <property name="vscrollbar_policy">automatic</property> | 116 | <child> |
370 | <child> | 117 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_bandwidth_renderer"/> |
371 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_metadata_treeview"> | 118 | <attributes> |
372 | <property name="visible">True</property> | 119 | <attribute name="text">4</attribute> |
373 | <property name="can_focus">True</property> | 120 | </attributes> |
374 | <property name="model">GNUNET_GTK_meta_data_list_store</property> | ||
375 | <property name="hadjustment">adjustment1</property> | ||
376 | <property name="vadjustment">adjustment2</property> | ||
377 | <property name="search_column">0</property> | ||
378 | <property name="enable_grid_lines">both</property> | ||
379 | <child> | ||
380 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_type_column"> | ||
381 | <property name="sizing">autosize</property> | ||
382 | <property name="title" translatable="yes">Type</property> | ||
383 | <property name="clickable">True</property> | ||
384 | <property name="reorderable">True</property> | ||
385 | <property name="sort_indicator">True</property> | ||
386 | <child> | ||
387 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_metadata_type_renderer"/> | ||
388 | <attributes> | ||
389 | <attribute name="text">2</attribute> | ||
390 | </attributes> | ||
391 | </child> | ||
392 | </object> | ||
393 | </child> | ||
394 | <child> | ||
395 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_value_column"> | ||
396 | <property name="sizing">autosize</property> | ||
397 | <property name="title" translatable="yes">Value</property> | ||
398 | <property name="expand">True</property> | ||
399 | <property name="clickable">True</property> | ||
400 | <property name="reorderable">True</property> | ||
401 | <property name="sort_indicator">True</property> | ||
402 | <child> | ||
403 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_metadata_value_renderer"> | ||
404 | <property name="sensitive">False</property> | ||
405 | <property name="wrap_mode">word</property> | ||
406 | </object> | ||
407 | <attributes> | ||
408 | <attribute name="text">3</attribute> | ||
409 | </attributes> | ||
410 | </child> | ||
411 | </object> | ||
412 | </child> | ||
413 | </object> | ||
414 | </child> | 121 | </child> |
415 | </object> | 122 | </object> |
416 | <packing> | ||
417 | <property name="position">1</property> | ||
418 | </packing> | ||
419 | </child> | 123 | </child> |
420 | <child> | 124 | <child> |
421 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_peerinfo_scroll"> | 125 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_country_column"> |
422 | <property name="visible">True</property> | 126 | <property name="sizing">autosize</property> |
423 | <property name="can_focus">True</property> | 127 | <property name="title" translatable="yes">Country</property> |
424 | <property name="hadjustment">adjustment3</property> | 128 | <property name="clickable">True</property> |
425 | <property name="vadjustment">adjustment4</property> | 129 | <property name="reorderable">True</property> |
426 | <property name="hscrollbar_policy">automatic</property> | 130 | <property name="sort_indicator">True</property> |
427 | <property name="vscrollbar_policy">automatic</property> | 131 | <property name="sort_column_id">3</property> |
428 | <child> | 132 | <child> |
429 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_peerinfo_treeview"> | 133 | <object class="GtkCellRendererPixbuf" id="GNUNET_GTK_main_window_peerinfo_country_renderer"/> |
430 | <property name="visible">True</property> | 134 | <attributes> |
431 | <property name="can_focus">True</property> | 135 | <attribute name="pixbuf">3</attribute> |
432 | <property name="model">GNUNET_GTK_peer_info_list_store</property> | 136 | </attributes> |
433 | <property name="hadjustment">adjustment3</property> | ||
434 | <property name="vadjustment">adjustment4</property> | ||
435 | <property name="headers_clickable">False</property> | ||
436 | <property name="reorderable">True</property> | ||
437 | <property name="search_column">0</property> | ||
438 | <child> | ||
439 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_name_column"> | ||
440 | <property name="sizing">autosize</property> | ||
441 | <property name="title" translatable="yes">Peer</property> | ||
442 | <property name="expand">True</property> | ||
443 | <property name="clickable">True</property> | ||
444 | <property name="reorderable">True</property> | ||
445 | <property name="sort_column_id">0</property> | ||
446 | <child> | ||
447 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_name_renderer"> | ||
448 | <property name="sensitive">False</property> | ||
449 | <property name="width_chars">16</property> | ||
450 | </object> | ||
451 | <attributes> | ||
452 | <attribute name="text">0</attribute> | ||
453 | </attributes> | ||
454 | </child> | ||
455 | </object> | ||
456 | </child> | ||
457 | <child> | ||
458 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_bandwidth_column"> | ||
459 | <property name="sizing">autosize</property> | ||
460 | <property name="title" translatable="yes">Bandwidth</property> | ||
461 | <property name="sort_order">descending</property> | ||
462 | <property name="sort_column_id">5</property> | ||
463 | <child> | ||
464 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_bandwidth_renderer"/> | ||
465 | <attributes> | ||
466 | <attribute name="text">4</attribute> | ||
467 | </attributes> | ||
468 | </child> | ||
469 | </object> | ||
470 | </child> | ||
471 | <child> | ||
472 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_country_column"> | ||
473 | <property name="sizing">autosize</property> | ||
474 | <property name="title" translatable="yes">Country</property> | ||
475 | <property name="clickable">True</property> | ||
476 | <property name="reorderable">True</property> | ||
477 | <property name="sort_indicator">True</property> | ||
478 | <property name="sort_column_id">3</property> | ||
479 | <child> | ||
480 | <object class="GtkCellRendererPixbuf" id="GNUNET_GTK_main_window_peerinfo_country_renderer"/> | ||
481 | <attributes> | ||
482 | <attribute name="pixbuf">3</attribute> | ||
483 | </attributes> | ||
484 | </child> | ||
485 | </object> | ||
486 | </child> | ||
487 | </object> | ||
488 | </child> | 137 | </child> |
489 | </object> | 138 | </object> |
490 | <packing> | ||
491 | <property name="position">2</property> | ||
492 | </packing> | ||
493 | </child> | 139 | </child> |
494 | </object> | 140 | </object> |
495 | <packing> | ||
496 | <property name="position">2</property> | ||
497 | </packing> | ||
498 | </child> | 141 | </child> |
499 | </object> | 142 | </object> |
500 | <packing> | 143 | <packing> |
501 | <property name="position">3</property> | 144 | <property name="expand">True</property> |
145 | <property name="fill">True</property> | ||
146 | <property name="position">1</property> | ||
502 | </packing> | 147 | </packing> |
503 | </child> | 148 | </child> |
504 | <child> | 149 | <child> |
@@ -508,31 +153,49 @@ | |||
508 | </object> | 153 | </object> |
509 | <packing> | 154 | <packing> |
510 | <property name="expand">False</property> | 155 | <property name="expand">False</property> |
511 | <property name="pack_type">end</property> | 156 | <property name="fill">True</property> |
512 | <property name="position">0</property> | 157 | <property name="position">2</property> |
513 | </packing> | 158 | </packing> |
514 | </child> | 159 | </child> |
515 | </object> | 160 | </object> |
516 | </child> | 161 | </child> |
517 | </object> | 162 | </object> |
518 | <object class="GtkImage" id="image2"> | 163 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> |
519 | <property name="visible">True</property> | 164 | <columns> |
520 | <property name="stock">gtk-go-up</property> | 165 | <!-- column-name extractor_meta_type --> |
521 | </object> | 166 | <column type="guint"/> |
522 | <object class="GtkImage" id="image3"> | 167 | <!-- column-name extractor_meta_format --> |
523 | <property name="visible">True</property> | 168 | <column type="guint"/> |
524 | <property name="stock">gtk-new</property> | 169 | <!-- column-name extractor_meta_type_string --> |
170 | <column type="gchararray"/> | ||
171 | <!-- column-name extracotr_meta_value --> | ||
172 | <column type="gchararray"/> | ||
173 | </columns> | ||
525 | </object> | 174 | </object> |
526 | <object class="GtkImage" id="image1"> | 175 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> |
527 | <property name="visible">True</property> | 176 | <columns> |
528 | <property name="stock">gtk-open</property> | 177 | <!-- column-name peer_identity --> |
178 | <column type="gchararray"/> | ||
179 | <!-- column-name number_of_known_addresses --> | ||
180 | <column type="guint"/> | ||
181 | <!-- column-name country_name --> | ||
182 | <column type="gchararray"/> | ||
183 | <!-- column-name country_flag --> | ||
184 | <column type="GdkPixbuf"/> | ||
185 | <!-- column-name bandwidth --> | ||
186 | <column type="guint64"/> | ||
187 | </columns> | ||
529 | </object> | 188 | </object> |
530 | <object class="GtkImage" id="image4"> | 189 | <object class="GtkAdjustment" id="adjustment3"> |
531 | <property name="visible">True</property> | 190 | <property name="upper">100</property> |
532 | <property name="stock">gtk-find</property> | 191 | <property name="step_increment">1</property> |
192 | <property name="page_increment">10</property> | ||
193 | <property name="page_size">10</property> | ||
533 | </object> | 194 | </object> |
534 | <object class="GtkImage" id="image5"> | 195 | <object class="GtkAdjustment" id="adjustment4"> |
535 | <property name="visible">True</property> | 196 | <property name="upper">100</property> |
536 | <property name="stock">gtk-go-down</property> | 197 | <property name="step_increment">1</property> |
198 | <property name="page_increment">10</property> | ||
199 | <property name="page_size">10</property> | ||
537 | </object> | 200 | </object> |
538 | </interface> | 201 | </interface> |