blob: 42cbe37e2a812c2da7f1ace710289e141ec7999b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="2.20"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkListStore" id="GNUNET_PEERINFO_GTK_list_store">
<columns>
<!-- column-name peer_identity -->
<column type="gchararray"/>
<!-- column-name number_of_known_addresses -->
<column type="guint"/>
<!-- column-name country_name -->
<column type="gchararray"/>
<!-- column-name country_flag -->
<column type="GdkPixbuf"/>
<!-- column-name bandwidth_in -->
<column type="guint"/>
<!-- column-name bandwidth_out -->
<column type="guint"/>
<!-- column-name addresses -->
<column type="gchararray"/>
<!-- column-name connectivity_led -->
<column type="GdkPixbuf"/>
<!-- column-name connected_status -->
<column type="gboolean"/>
<!-- column-name is_friend -->
<column type="gboolean"/>
<!-- column-name peerinfo -->
<column type="gpointer"/>
</columns>
</object>
<object class="GtkWindow" id="GNUNET_PEERINFO_GTK_main_window">
<property name="can_focus">False</property>
<property name="title" translatable="yes">gnunet-peerinfo-gtk</property>
<property name="window_position">center</property>
<property name="default_width">700</property>
<property name="default_height">500</property>
<property name="icon_name">gnunet-gtk</property>
<signal name="delete-event" handler="GNUNET_PEERINFO_GTK_quit_cb" after="yes" swapped="no"/>
<child>
<object class="GtkVBox" id="GNUNET_PEERINFO_GTK_main_window_vbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuBar" id="GNUNET_PEERINFO_GTK_main_menu">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuItem" id="GNUNET_PEERINFO_GTK_main_menu_help">
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Help</property>
<property name="use_underline">True</property>
<child type="submenu">
<object class="GtkMenu" id="GNUNET_PEERINFO_GTK_main_menu_help_abou">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkImageMenuItem" id="GNUNET_PEERINFO_GTK_main_menu_help_about">
<property name="label">gtk-about</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Display information about this version of gnunet-peerinfo-gtk</property>
<property name="accel_path"><gnunet-peerinfo-gtk>/Help/About</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<signal name="activate" handler="GNUNET_PEERINFO_GTK_main_menu_help_about_activate_cb" swapped="no"/>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="GNUNET_PEERINFO_GTK_main_window_scroll">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hadjustment">adjustment3</property>
<property name="vadjustment">adjustment4</property>
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<child>
<object class="GtkTreeView" id="GNUNET_PEERINFO_GTK_main_window_treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="model">GNUNET_PEERINFO_GTK_list_store</property>
<property name="hadjustment">adjustment3</property>
<property name="vadjustment">adjustment4</property>
<property name="reorderable">True</property>
<property name="search_column">0</property>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_name_column">
<property name="spacing">5</property>
<property name="sizing">autosize</property>
<property name="title">Peer</property>
<property name="reorderable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_column_id">0</property>
<child>
<object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_name_renderer">
<property name="sensitive">False</property>
<property name="width_chars">4</property>
</object>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_friends_treeviewcolumn">
<property name="title" translatable="yes">Friend</property>
<property name="clickable">True</property>
<property name="reorderable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_column_id">9</property>
<child>
<object class="GtkCellRendererToggle" id="GNUNET_PEERINFO_GTK_main_window_friends_cellrenderertoggle">
<signal name="toggled" handler="GNUNET_PEERINFO_GTK_main_window_friends_cellrenderertoggle_toggled_cb" swapped="no"/>
</object>
<attributes>
<attribute name="active">9</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_connectivity_treeviewcolumn">
<property name="spacing">2</property>
<property name="sizing">autosize</property>
<property name="widget">connected_image</property>
<property name="reorderable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_column_id">8</property>
<child>
<object class="GtkCellRendererPixbuf" id="GNUNET_PEERINFO_GTK_main_window_led_cellrendererpixbuf"/>
<attributes>
<attribute name="pixbuf">7</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_column">
<property name="title">In</property>
<property name="clickable">True</property>
<property name="reorderable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_order">descending</property>
<property name="sort_column_id">4</property>
<child>
<object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_in_cellrenderertext"/>
<attributes>
<attribute name="text">4</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_out_treeviewcolumn">
<property name="title">Out</property>
<property name="clickable">True</property>
<property name="sort_order">descending</property>
<property name="sort_column_id">5</property>
<child>
<object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_out_cellrenderertext"/>
<attributes>
<attribute name="text">5</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_country_column">
<property name="sizing">autosize</property>
<property name="title">Country</property>
<property name="clickable">True</property>
<property name="reorderable">True</property>
<property name="sort_indicator">True</property>
<property name="sort_column_id">2</property>
<child>
<object class="GtkCellRendererPixbuf" id="GNUNET_PEERINFO_GTK_main_window_country_renderer"/>
<attributes>
<attribute name="pixbuf">3</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_address_treeviewcolumn">
<property name="sizing">autosize</property>
<property name="title">Addresses</property>
<property name="expand">True</property>
<property name="clickable">True</property>
<property name="sort_column_id">6</property>
<child>
<object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_addresses_cellrenderertext"/>
<attributes>
<attribute name="text">6</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
<object class="GtkAdjustment" id="adjustment3">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
<property name="page_size">10</property>
</object>
<object class="GtkAdjustment" id="adjustment4">
<property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
<property name="page_size">10</property>
</object>
<object class="GtkImage" id="connected_image">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-connect</property>
</object>
</interface>
|