diff options
author | hark <hark@puscii.nl> | 2014-01-30 20:51:12 +0000 |
---|---|---|
committer | hark <hark@puscii.nl> | 2014-01-30 20:51:12 +0000 |
commit | c550669862607e6f764f6579f0154fe472255990 (patch) | |
tree | b4b875b45871474c7c904cdbd4681838047875bc | |
parent | 9313c4b0e9f540697fd462119267ef119848a931 (diff) | |
download | gnunet-gtk-c550669862607e6f764f6579f0154fe472255990.tar.gz gnunet-gtk-c550669862607e6f764f6579f0154fe472255990.zip |
new design of gui
-rw-r--r-- | contrib/gnunet_conversation_gtk_main_window.glade | 693 |
1 files changed, 498 insertions, 195 deletions
diff --git a/contrib/gnunet_conversation_gtk_main_window.glade b/contrib/gnunet_conversation_gtk_main_window.glade index 2672f308..24cee986 100644 --- a/contrib/gnunet_conversation_gtk_main_window.glade +++ b/contrib/gnunet_conversation_gtk_main_window.glade | |||
@@ -75,104 +75,207 @@ | |||
75 | </packing> | 75 | </packing> |
76 | </child> | 76 | </child> |
77 | <child> | 77 | <child> |
78 | <object class="GtkBox" id="box1"> | 78 | <placeholder/> |
79 | </child> | ||
80 | <child> | ||
81 | <object class="GtkGrid" id="grid4"> | ||
79 | <property name="visible">True</property> | 82 | <property name="visible">True</property> |
80 | <property name="can_focus">False</property> | 83 | <property name="can_focus">False</property> |
81 | <property name="orientation">vertical</property> | ||
82 | <child> | ||
83 | <placeholder/> | ||
84 | </child> | ||
85 | <child> | 84 | <child> |
86 | <object class="GtkGrid" id="grid1"> | 85 | <object class="GtkBox" id="contacts_toplevel_box"> |
87 | <property name="visible">True</property> | 86 | <property name="visible">True</property> |
88 | <property name="can_focus">False</property> | 87 | <property name="can_focus">False</property> |
88 | <property name="orientation">vertical</property> | ||
89 | <child> | 89 | <child> |
90 | <object class="GtkEntry" id="GNUNET_GTK_conversation_address"> | 90 | <object class="GtkLabel" id="contacts_label"> |
91 | <property name="visible">True</property> | 91 | <property name="visible">True</property> |
92 | <property name="can_focus">True</property> | 92 | <property name="can_focus">False</property> |
93 | <property name="invisible_char">•</property> | 93 | <property name="label" translatable="yes">Contacts</property> |
94 | <property name="text" translatable="yes">Address</property> | 94 | <attributes> |
95 | <attribute name="style" value="oblique"/> | ||
96 | </attributes> | ||
95 | </object> | 97 | </object> |
96 | <packing> | 98 | <packing> |
97 | <property name="left_attach">0</property> | 99 | <property name="expand">False</property> |
98 | <property name="top_attach">0</property> | 100 | <property name="fill">True</property> |
99 | <property name="width">1</property> | 101 | <property name="position">0</property> |
100 | <property name="height">1</property> | ||
101 | </packing> | 102 | </packing> |
102 | </child> | 103 | </child> |
103 | <child> | 104 | <child> |
104 | <object class="GtkButtonBox" id="GNUNET_GTK_conversation_buttons"> | 105 | <object class="GtkGrid" id="contacts_buttons_grid"> |
105 | <property name="visible">True</property> | 106 | <property name="visible">True</property> |
106 | <property name="can_focus">False</property> | 107 | <property name="can_focus">False</property> |
107 | <property name="layout_style">start</property> | ||
108 | <child> | 108 | <child> |
109 | <object class="GtkButton" id="GNUNET_GTK_conversation_call_button"> | 109 | <object class="GtkButton" id="GNUNET_GTK_conversation_add_contact_button"> |
110 | <property name="label" translatable="yes">call</property> | 110 | <property name="label" translatable="yes">Add contact</property> |
111 | <property name="use_action_appearance">False</property> | 111 | <property name="use_action_appearance">False</property> |
112 | <property name="visible">True</property> | 112 | <property name="visible">True</property> |
113 | <property name="can_focus">True</property> | 113 | <property name="can_focus">True</property> |
114 | <property name="receives_default">True</property> | 114 | <property name="receives_default">True</property> |
115 | <property name="use_action_appearance">False</property> | 115 | <property name="use_action_appearance">False</property> |
116 | <property name="use_underline">True</property> | 116 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_add_clicked" swapped="no"/> |
117 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_call_clicked" swapped="no"/> | ||
118 | </object> | 117 | </object> |
119 | <packing> | 118 | <packing> |
120 | <property name="expand">False</property> | 119 | <property name="left_attach">0</property> |
121 | <property name="fill">True</property> | 120 | <property name="top_attach">0</property> |
122 | <property name="position">0</property> | 121 | <property name="width">1</property> |
122 | <property name="height">1</property> | ||
123 | </packing> | 123 | </packing> |
124 | </child> | 124 | </child> |
125 | <child> | 125 | <child> |
126 | <object class="GtkButton" id="GNUNET_GTK_conversation_hangup_button"> | 126 | <object class="GtkButton" id="GNUNET_GTK_conversation_remove_contact_button"> |
127 | <property name="label" translatable="yes">hangup</property> | 127 | <property name="label" translatable="yes">Remove contact</property> |
128 | <property name="use_action_appearance">False</property> | 128 | <property name="use_action_appearance">False</property> |
129 | <property name="visible">True</property> | 129 | <property name="visible">True</property> |
130 | <property name="can_focus">True</property> | 130 | <property name="can_focus">True</property> |
131 | <property name="receives_default">True</property> | 131 | <property name="receives_default">True</property> |
132 | <property name="use_action_appearance">False</property> | 132 | <property name="use_action_appearance">False</property> |
133 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_hangup_clicked" swapped="no"/> | 133 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_remove_clicked" swapped="no"/> |
134 | </object> | 134 | </object> |
135 | <packing> | 135 | <packing> |
136 | <property name="expand">False</property> | 136 | <property name="left_attach">1</property> |
137 | <property name="fill">True</property> | 137 | <property name="top_attach">0</property> |
138 | <property name="position">1</property> | 138 | <property name="width">1</property> |
139 | <property name="height">1</property> | ||
139 | </packing> | 140 | </packing> |
140 | </child> | 141 | </child> |
141 | <child> | 142 | <child> |
142 | <object class="GtkImage" id="GNUNET_GTK_status_icon"> | 143 | <object class="GtkComboBox" id="gnunet_conversation_gtk_contacts_zone_combobox"> |
143 | <property name="visible">True</property> | 144 | <property name="visible">True</property> |
144 | <property name="can_focus">False</property> | 145 | <property name="can_focus">False</property> |
145 | <property name="tooltip_text" translatable="yes">Status indicator</property> | 146 | <property name="model">gnunet_conversation_gtk_contacts_zone_liststore</property> |
146 | <property name="icon_name">bluefish</property> | 147 | <property name="tearoff_title">Phonebook:</property> |
148 | <child> | ||
149 | <object class="GtkCellRendererText" id="gnunet_conversation_gtk_contacts_zone_ego_name_cellrenderertext"/> | ||
150 | <attributes> | ||
151 | <attribute name="text">0</attribute> | ||
152 | </attributes> | ||
153 | </child> | ||
147 | </object> | 154 | </object> |
148 | <packing> | 155 | <packing> |
149 | <property name="expand">False</property> | 156 | <property name="left_attach">3</property> |
150 | <property name="fill">True</property> | 157 | <property name="top_attach">0</property> |
151 | <property name="position">2</property> | 158 | <property name="width">1</property> |
159 | <property name="height">1</property> | ||
152 | </packing> | 160 | </packing> |
153 | </child> | 161 | </child> |
154 | <child> | 162 | <child> |
155 | <placeholder/> | 163 | <object class="GtkLabel" id="contacts_zone_chooser_label"> |
164 | <property name="visible">True</property> | ||
165 | <property name="can_focus">False</property> | ||
166 | <property name="label" translatable="yes">Zone:</property> | ||
167 | </object> | ||
168 | <packing> | ||
169 | <property name="left_attach">2</property> | ||
170 | <property name="top_attach">0</property> | ||
171 | <property name="width">1</property> | ||
172 | <property name="height">1</property> | ||
173 | </packing> | ||
156 | </child> | 174 | </child> |
175 | </object> | ||
176 | <packing> | ||
177 | <property name="expand">False</property> | ||
178 | <property name="fill">True</property> | ||
179 | <property name="position">1</property> | ||
180 | </packing> | ||
181 | </child> | ||
182 | <child> | ||
183 | <object class="GtkScrolledWindow" id="contacts_scrolledwindow"> | ||
184 | <property name="visible">True</property> | ||
185 | <property name="can_focus">True</property> | ||
186 | <property name="shadow_type">in</property> | ||
187 | <child> | ||
188 | <object class="GtkTreeView" id="gnunet_conversation_gtk_treeview"> | ||
189 | <property name="visible">True</property> | ||
190 | <property name="can_focus">True</property> | ||
191 | <property name="model">gnunet_conversation_gtk_contacts_liststore</property> | ||
192 | <property name="headers_clickable">False</property> | ||
193 | <property name="search_column">0</property> | ||
194 | <signal name="row-activated" handler="GNUNET_CONVERSATION_GTK_row_activated" swapped="no"/> | ||
195 | <child internal-child="selection"> | ||
196 | <object class="GtkTreeSelection" id="treeview-selection"/> | ||
197 | </child> | ||
198 | <child> | ||
199 | <object class="GtkTreeViewColumn" id="contactName"> | ||
200 | <property name="title" translatable="yes">Type</property> | ||
201 | <child> | ||
202 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_type_window_name_renderer"/> | ||
203 | <attributes> | ||
204 | <attribute name="text">1</attribute> | ||
205 | </attributes> | ||
206 | </child> | ||
207 | </object> | ||
208 | </child> | ||
209 | <child> | ||
210 | <object class="GtkTreeViewColumn" id="contactType"> | ||
211 | <property name="title" translatable="yes">Contact</property> | ||
212 | <child> | ||
213 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_main_window_name_renderer"/> | ||
214 | <attributes> | ||
215 | <attribute name="text">0</attribute> | ||
216 | </attributes> | ||
217 | </child> | ||
218 | </object> | ||
219 | </child> | ||
220 | </object> | ||
221 | </child> | ||
222 | </object> | ||
223 | <packing> | ||
224 | <property name="expand">True</property> | ||
225 | <property name="fill">True</property> | ||
226 | <property name="position">2</property> | ||
227 | </packing> | ||
228 | </child> | ||
229 | </object> | ||
230 | <packing> | ||
231 | <property name="left_attach">0</property> | ||
232 | <property name="top_attach">1</property> | ||
233 | <property name="width">1</property> | ||
234 | <property name="height">1</property> | ||
235 | </packing> | ||
236 | </child> | ||
237 | <child> | ||
238 | <object class="GtkBox" id="log_box"> | ||
239 | <property name="visible">True</property> | ||
240 | <property name="can_focus">False</property> | ||
241 | <property name="orientation">vertical</property> | ||
242 | <property name="spacing">1</property> | ||
243 | <child> | ||
244 | <object class="GtkLabel" id="log_label"> | ||
245 | <property name="visible">True</property> | ||
246 | <property name="can_focus">False</property> | ||
247 | <property name="label" translatable="yes">Debug Log</property> | ||
248 | </object> | ||
249 | <packing> | ||
250 | <property name="expand">False</property> | ||
251 | <property name="fill">True</property> | ||
252 | <property name="position">0</property> | ||
253 | </packing> | ||
254 | </child> | ||
255 | <child> | ||
256 | <object class="GtkButtonBox" id="log_buttonbox"> | ||
257 | <property name="visible">True</property> | ||
258 | <property name="can_focus">False</property> | ||
259 | <property name="layout_style">start</property> | ||
157 | <child> | 260 | <child> |
158 | <object class="GtkButton" id="GNUNET_GTK_conversation_pause_button"> | 261 | <object class="GtkButton" id="gnunet-contact-test"> |
159 | <property name="label" translatable="yes">pause call</property> | 262 | <property name="label" translatable="yes">test_button</property> |
160 | <property name="use_action_appearance">False</property> | 263 | <property name="use_action_appearance">False</property> |
161 | <property name="visible">True</property> | 264 | <property name="visible">True</property> |
162 | <property name="can_focus">True</property> | 265 | <property name="can_focus">True</property> |
163 | <property name="receives_default">True</property> | 266 | <property name="receives_default">True</property> |
164 | <property name="use_action_appearance">False</property> | 267 | <property name="use_action_appearance">False</property> |
165 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_pause_clicked" swapped="no"/> | 268 | <signal name="clicked" handler="GNUNET_contact_test" swapped="no"/> |
166 | </object> | 269 | </object> |
167 | <packing> | 270 | <packing> |
168 | <property name="expand">False</property> | 271 | <property name="expand">False</property> |
169 | <property name="fill">True</property> | 272 | <property name="fill">True</property> |
170 | <property name="position">4</property> | 273 | <property name="position">0</property> |
171 | </packing> | 274 | </packing> |
172 | </child> | 275 | </child> |
173 | <child> | 276 | <child> |
174 | <object class="GtkButton" id="GNUNET_GTK_conversation_status_button"> | 277 | <object class="GtkButton" id="GNUNET_GTK_conversation_status_button"> |
175 | <property name="label" translatable="yes">status</property> | 278 | <property name="label" translatable="yes">test_update_status</property> |
176 | <property name="use_action_appearance">False</property> | 279 | <property name="use_action_appearance">False</property> |
177 | <property name="visible">True</property> | 280 | <property name="visible">True</property> |
178 | <property name="can_focus">True</property> | 281 | <property name="can_focus">True</property> |
@@ -183,247 +286,421 @@ | |||
183 | <packing> | 286 | <packing> |
184 | <property name="expand">False</property> | 287 | <property name="expand">False</property> |
185 | <property name="fill">True</property> | 288 | <property name="fill">True</property> |
186 | <property name="position">5</property> | 289 | <property name="position">1</property> |
187 | </packing> | 290 | </packing> |
188 | </child> | 291 | </child> |
189 | <child> | 292 | <child> |
190 | <object class="GtkSpinner" id="GNUNET_GTK_conversation_spinner"> | 293 | <placeholder/> |
191 | <property name="visible">True</property> | ||
192 | <property name="can_focus">False</property> | ||
193 | <property name="active">True</property> | ||
194 | </object> | ||
195 | <packing> | ||
196 | <property name="expand">False</property> | ||
197 | <property name="fill">True</property> | ||
198 | <property name="position">6</property> | ||
199 | </packing> | ||
200 | </child> | 294 | </child> |
201 | <child> | 295 | <child> |
202 | <object class="GtkButton" id="gnunet-contact-test"> | 296 | <placeholder/> |
203 | <property name="label" translatable="yes">button</property> | 297 | </child> |
204 | <property name="use_action_appearance">False</property> | 298 | </object> |
299 | <packing> | ||
300 | <property name="expand">False</property> | ||
301 | <property name="fill">True</property> | ||
302 | <property name="position">1</property> | ||
303 | </packing> | ||
304 | </child> | ||
305 | <child> | ||
306 | <object class="GtkScrolledWindow" id="GNUNET_GTK_conversation_log_scroll"> | ||
307 | <property name="visible">True</property> | ||
308 | <property name="can_focus">True</property> | ||
309 | <property name="hscrollbar_policy">always</property> | ||
310 | <property name="shadow_type">in</property> | ||
311 | <child> | ||
312 | <object class="GtkTextView" id="GNUNET_GTK_conversation_log"> | ||
205 | <property name="visible">True</property> | 313 | <property name="visible">True</property> |
206 | <property name="can_focus">True</property> | 314 | <property name="can_focus">True</property> |
207 | <property name="receives_default">True</property> | 315 | <property name="editable">False</property> |
208 | <property name="use_action_appearance">False</property> | 316 | <property name="left_margin">1</property> |
209 | <signal name="clicked" handler="GNUNET_contact_test" swapped="no"/> | 317 | <property name="right_margin">1</property> |
318 | <property name="indent">1</property> | ||
210 | </object> | 319 | </object> |
211 | <packing> | ||
212 | <property name="expand">False</property> | ||
213 | <property name="fill">True</property> | ||
214 | <property name="position">7</property> | ||
215 | </packing> | ||
216 | </child> | 320 | </child> |
217 | </object> | 321 | </object> |
218 | <packing> | 322 | <packing> |
219 | <property name="left_attach">1</property> | 323 | <property name="expand">True</property> |
220 | <property name="top_attach">0</property> | 324 | <property name="fill">True</property> |
221 | <property name="width">1</property> | 325 | <property name="position">2</property> |
222 | <property name="height">1</property> | ||
223 | </packing> | 326 | </packing> |
224 | </child> | 327 | </child> |
225 | </object> | 328 | </object> |
226 | <packing> | 329 | <packing> |
227 | <property name="expand">False</property> | 330 | <property name="left_attach">0</property> |
228 | <property name="fill">True</property> | 331 | <property name="top_attach">4</property> |
229 | <property name="position">1</property> | 332 | <property name="width">1</property> |
333 | <property name="height">1</property> | ||
230 | </packing> | 334 | </packing> |
231 | </child> | 335 | </child> |
232 | <child> | 336 | <child> |
233 | <object class="GtkScrolledWindow" id="GNUNET_GTK_conversation_log_scroll"> | 337 | <object class="GtkBox" id="call_toplevel_box"> |
234 | <property name="visible">True</property> | 338 | <property name="visible">True</property> |
235 | <property name="can_focus">True</property> | 339 | <property name="can_focus">False</property> |
236 | <property name="hscrollbar_policy">always</property> | 340 | <property name="orientation">vertical</property> |
237 | <property name="shadow_type">in</property> | ||
238 | <child> | 341 | <child> |
239 | <object class="GtkTextView" id="GNUNET_GTK_conversation_log"> | 342 | <object class="GtkLabel" id="call_label"> |
240 | <property name="visible">True</property> | 343 | <property name="visible">True</property> |
241 | <property name="can_focus">True</property> | 344 | <property name="can_focus">False</property> |
242 | <property name="editable">False</property> | 345 | <property name="label" translatable="yes">Phone Controls</property> |
243 | <property name="left_margin">1</property> | 346 | <attributes> |
244 | <property name="right_margin">1</property> | 347 | <attribute name="style" value="oblique"/> |
245 | <property name="indent">1</property> | 348 | </attributes> |
246 | </object> | 349 | </object> |
350 | <packing> | ||
351 | <property name="expand">False</property> | ||
352 | <property name="fill">True</property> | ||
353 | <property name="position">0</property> | ||
354 | </packing> | ||
247 | </child> | 355 | </child> |
248 | </object> | ||
249 | <packing> | ||
250 | <property name="expand">True</property> | ||
251 | <property name="fill">True</property> | ||
252 | <property name="position">2</property> | ||
253 | </packing> | ||
254 | </child> | ||
255 | <child> | ||
256 | <object class="GtkScrolledWindow" id="scrolledwindow1"> | ||
257 | <property name="visible">True</property> | ||
258 | <property name="can_focus">True</property> | ||
259 | <property name="shadow_type">in</property> | ||
260 | <child> | 356 | <child> |
261 | <object class="GtkTreeView" id="gnunet_conversation_gtk_treeview"> | 357 | <object class="GtkBox" id="outgoing_ego_chooser_box"> |
262 | <property name="visible">True</property> | 358 | <property name="visible">True</property> |
263 | <property name="can_focus">True</property> | 359 | <property name="can_focus">False</property> |
264 | <property name="model">gnunet_conversation_gtk_contacts_liststore</property> | ||
265 | <property name="headers_clickable">False</property> | ||
266 | <property name="search_column">0</property> | ||
267 | <signal name="row-activated" handler="GNUNET_CONVERSATION_GTK_row_activated" swapped="no"/> | ||
268 | <child internal-child="selection"> | ||
269 | <object class="GtkTreeSelection" id="treeview-selection"/> | ||
270 | </child> | ||
271 | <child> | 360 | <child> |
272 | <object class="GtkTreeViewColumn" id="contactName"> | 361 | <object class="GtkLabel" id="ego_label"> |
273 | <property name="title" translatable="yes">Type</property> | 362 | <property name="visible">True</property> |
274 | <child> | 363 | <property name="can_focus">False</property> |
275 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_type_window_name_renderer"/> | 364 | <property name="label" translatable="yes">Ego:</property> |
276 | <attributes> | ||
277 | <attribute name="text">1</attribute> | ||
278 | </attributes> | ||
279 | </child> | ||
280 | </object> | 365 | </object> |
366 | <packing> | ||
367 | <property name="expand">False</property> | ||
368 | <property name="fill">True</property> | ||
369 | <property name="position">0</property> | ||
370 | </packing> | ||
281 | </child> | 371 | </child> |
282 | <child> | 372 | <child> |
283 | <object class="GtkTreeViewColumn" id="contactType"> | 373 | <object class="GtkComboBox" id="gnunet_conversation_gtk_outgoing_zone_combobox"> |
284 | <property name="title" translatable="yes">Contact</property> | 374 | <property name="visible">True</property> |
375 | <property name="can_focus">False</property> | ||
376 | <property name="model">gnunet_conversation_gtk_outgoing_zone_liststore</property> | ||
285 | <child> | 377 | <child> |
286 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_main_window_name_renderer"/> | 378 | <object class="GtkCellRendererText" id="gnunet_conversation_gtk_outgoing_zone_ego_name_cellrenderertext"/> |
287 | <attributes> | 379 | <attributes> |
288 | <attribute name="text">0</attribute> | 380 | <attribute name="text">0</attribute> |
289 | </attributes> | 381 | </attributes> |
290 | </child> | 382 | </child> |
291 | </object> | 383 | </object> |
384 | <packing> | ||
385 | <property name="expand">True</property> | ||
386 | <property name="fill">True</property> | ||
387 | <property name="position">1</property> | ||
388 | </packing> | ||
292 | </child> | 389 | </child> |
293 | </object> | 390 | </object> |
391 | <packing> | ||
392 | <property name="expand">False</property> | ||
393 | <property name="fill">True</property> | ||
394 | <property name="position">1</property> | ||
395 | </packing> | ||
294 | </child> | 396 | </child> |
295 | </object> | ||
296 | <packing> | ||
297 | <property name="expand">True</property> | ||
298 | <property name="fill">True</property> | ||
299 | <property name="position">3</property> | ||
300 | </packing> | ||
301 | </child> | ||
302 | <child> | ||
303 | <object class="GtkStatusbar" id="GNUNET_GTK_conversation_statusbar"> | ||
304 | <property name="visible">True</property> | ||
305 | <property name="can_focus">False</property> | ||
306 | <property name="orientation">vertical</property> | ||
307 | <property name="spacing">8</property> | ||
308 | </object> | ||
309 | <packing> | ||
310 | <property name="expand">False</property> | ||
311 | <property name="fill">True</property> | ||
312 | <property name="pack_type">end</property> | ||
313 | <property name="position">3</property> | ||
314 | </packing> | ||
315 | </child> | ||
316 | <child> | ||
317 | <object class="GtkScrolledWindow" id="scrolledwindow2"> | ||
318 | <property name="visible">True</property> | ||
319 | <property name="can_focus">True</property> | ||
320 | <property name="shadow_type">in</property> | ||
321 | <child> | 397 | <child> |
322 | <object class="GtkTreeView" id="gnunet_conversation_gtk_history_treeview"> | 398 | <object class="GtkBox" id="call_hbox"> |
323 | <property name="visible">True</property> | 399 | <property name="visible">True</property> |
324 | <property name="can_focus">True</property> | 400 | <property name="can_focus">False</property> |
325 | <property name="model">gnunet_conversation_gtk_history_liststore</property> | ||
326 | <property name="headers_clickable">False</property> | ||
327 | <child internal-child="selection"> | ||
328 | <object class="GtkTreeSelection" id="treeview-selection2"/> | ||
329 | </child> | ||
330 | <child> | 401 | <child> |
331 | <object class="GtkTreeViewColumn" id="timeColumn"> | 402 | <object class="GtkBox" id="address_active_calls_box"> |
332 | <property name="title" translatable="yes">Time</property> | 403 | <property name="visible">True</property> |
404 | <property name="can_focus">False</property> | ||
405 | <property name="orientation">vertical</property> | ||
333 | <child> | 406 | <child> |
334 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_time_window_renderer"/> | 407 | <object class="GtkEntry" id="GNUNET_GTK_conversation_address"> |
335 | <attributes> | 408 | <property name="visible">True</property> |
336 | <attribute name="text">0</attribute> | 409 | <property name="can_focus">True</property> |
337 | </attributes> | 410 | <property name="invisible_char">•</property> |
411 | <property name="text" translatable="yes">Address</property> | ||
412 | <property name="invisible_char_set">True</property> | ||
413 | </object> | ||
414 | <packing> | ||
415 | <property name="expand">False</property> | ||
416 | <property name="fill">True</property> | ||
417 | <property name="position">0</property> | ||
418 | </packing> | ||
338 | </child> | 419 | </child> |
339 | </object> | ||
340 | </child> | ||
341 | <child> | ||
342 | <object class="GtkTreeViewColumn" id="eventColumn"> | ||
343 | <property name="title" translatable="yes">Event</property> | ||
344 | <child> | 420 | <child> |
345 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_event_window_renderer"/> | 421 | <object class="GtkScrolledWindow" id="active_calls_scrolledwindow"> |
346 | <attributes> | 422 | <property name="visible">True</property> |
347 | <attribute name="text">1</attribute> | 423 | <property name="can_focus">True</property> |
348 | </attributes> | 424 | <property name="shadow_type">in</property> |
425 | <child> | ||
426 | <object class="GtkTreeView" id="gnunet_conversation_gtk_active_calls_treeview"> | ||
427 | <property name="visible">True</property> | ||
428 | <property name="can_focus">True</property> | ||
429 | <property name="model">gnunet_conversation_gtk_active_calls_liststore</property> | ||
430 | <property name="headers_clickable">False</property> | ||
431 | <property name="enable_search">False</property> | ||
432 | <property name="search_column">0</property> | ||
433 | <child internal-child="selection"> | ||
434 | <object class="GtkTreeSelection" id="treeview-selection4"/> | ||
435 | </child> | ||
436 | <child> | ||
437 | <object class="GtkTreeViewColumn" id="caller_numColumn"> | ||
438 | <property name="title" translatable="yes">#</property> | ||
439 | <child> | ||
440 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_active_calls_num"> | ||
441 | <property name="background_gdk">#000000000000</property> | ||
442 | <property name="font">Normal</property> | ||
443 | <property name="foreground_gdk">#000000000000</property> | ||
444 | <property name="background_rgba">rgba(0,0,0,0)</property> | ||
445 | <property name="foreground_rgba">rgba(0,0,0,0)</property> | ||
446 | </object> | ||
447 | <attributes> | ||
448 | <attribute name="text">2</attribute> | ||
449 | </attributes> | ||
450 | </child> | ||
451 | </object> | ||
452 | </child> | ||
453 | <child> | ||
454 | <object class="GtkTreeViewColumn" id="caller_idColumn"> | ||
455 | <property name="title" translatable="yes">Caller ID</property> | ||
456 | <child> | ||
457 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_event_window_renderer1"/> | ||
458 | <attributes> | ||
459 | <attribute name="text">0</attribute> | ||
460 | </attributes> | ||
461 | </child> | ||
462 | </object> | ||
463 | </child> | ||
464 | </object> | ||
465 | </child> | ||
466 | </object> | ||
467 | <packing> | ||
468 | <property name="expand">False</property> | ||
469 | <property name="fill">True</property> | ||
470 | <property name="position">1</property> | ||
471 | </packing> | ||
349 | </child> | 472 | </child> |
350 | </object> | 473 | </object> |
474 | <packing> | ||
475 | <property name="expand">True</property> | ||
476 | <property name="fill">True</property> | ||
477 | <property name="position">0</property> | ||
478 | </packing> | ||
351 | </child> | 479 | </child> |
352 | <child> | 480 | <child> |
353 | <object class="GtkTreeViewColumn" id="contactColumn"> | 481 | <object class="GtkButtonBox" id="GNUNET_GTK_conversation_buttons"> |
354 | <property name="title" translatable="yes">Contact</property> | 482 | <property name="visible">True</property> |
483 | <property name="can_focus">False</property> | ||
484 | <property name="orientation">vertical</property> | ||
485 | <property name="layout_style">start</property> | ||
355 | <child> | 486 | <child> |
356 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_contact_window_renderer"/> | 487 | <object class="GtkImage" id="GNUNET_GTK_status_icon"> |
357 | <attributes> | 488 | <property name="visible">True</property> |
358 | <attribute name="text">2</attribute> | 489 | <property name="can_focus">False</property> |
359 | </attributes> | 490 | <property name="tooltip_text" translatable="yes">Status indicator</property> |
491 | <property name="icon_name">bluefish</property> | ||
492 | </object> | ||
493 | <packing> | ||
494 | <property name="expand">False</property> | ||
495 | <property name="fill">True</property> | ||
496 | <property name="position">0</property> | ||
497 | </packing> | ||
498 | </child> | ||
499 | <child> | ||
500 | <object class="GtkButton" id="GNUNET_GTK_conversation_call_button"> | ||
501 | <property name="label" translatable="yes">call</property> | ||
502 | <property name="use_action_appearance">False</property> | ||
503 | <property name="visible">True</property> | ||
504 | <property name="can_focus">True</property> | ||
505 | <property name="receives_default">True</property> | ||
506 | <property name="use_action_appearance">False</property> | ||
507 | <property name="use_underline">True</property> | ||
508 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_call_clicked" swapped="no"/> | ||
509 | </object> | ||
510 | <packing> | ||
511 | <property name="expand">False</property> | ||
512 | <property name="fill">True</property> | ||
513 | <property name="position">1</property> | ||
514 | </packing> | ||
515 | </child> | ||
516 | <child> | ||
517 | <object class="GtkButton" id="GNUNET_GTK_conversation_hangup_button"> | ||
518 | <property name="label" translatable="yes">hangup</property> | ||
519 | <property name="use_action_appearance">False</property> | ||
520 | <property name="visible">True</property> | ||
521 | <property name="can_focus">True</property> | ||
522 | <property name="receives_default">True</property> | ||
523 | <property name="use_action_appearance">False</property> | ||
524 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_hangup_clicked" swapped="no"/> | ||
525 | </object> | ||
526 | <packing> | ||
527 | <property name="expand">False</property> | ||
528 | <property name="fill">True</property> | ||
529 | <property name="position">2</property> | ||
530 | </packing> | ||
531 | </child> | ||
532 | <child> | ||
533 | <object class="GtkButton" id="GNUNET_GTK_conversation_pause_button"> | ||
534 | <property name="label" translatable="yes">pause call</property> | ||
535 | <property name="use_action_appearance">False</property> | ||
536 | <property name="visible">True</property> | ||
537 | <property name="can_focus">True</property> | ||
538 | <property name="receives_default">True</property> | ||
539 | <property name="use_action_appearance">False</property> | ||
540 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_pause_clicked" swapped="no"/> | ||
541 | </object> | ||
542 | <packing> | ||
543 | <property name="expand">False</property> | ||
544 | <property name="fill">True</property> | ||
545 | <property name="position">4</property> | ||
546 | </packing> | ||
547 | </child> | ||
548 | <child> | ||
549 | <placeholder/> | ||
550 | </child> | ||
551 | <child> | ||
552 | <placeholder/> | ||
360 | </child> | 553 | </child> |
361 | </object> | 554 | </object> |
555 | <packing> | ||
556 | <property name="expand">False</property> | ||
557 | <property name="fill">True</property> | ||
558 | <property name="position">1</property> | ||
559 | </packing> | ||
560 | </child> | ||
561 | <child> | ||
562 | <placeholder/> | ||
362 | </child> | 563 | </child> |
363 | </object> | 564 | </object> |
565 | <packing> | ||
566 | <property name="expand">False</property> | ||
567 | <property name="fill">True</property> | ||
568 | <property name="position">2</property> | ||
569 | </packing> | ||
570 | </child> | ||
571 | <child> | ||
572 | <placeholder/> | ||
364 | </child> | 573 | </child> |
365 | </object> | 574 | </object> |
366 | <packing> | 575 | <packing> |
367 | <property name="expand">True</property> | 576 | <property name="left_attach">0</property> |
368 | <property name="fill">True</property> | 577 | <property name="top_attach">0</property> |
369 | <property name="position">4</property> | 578 | <property name="width">1</property> |
579 | <property name="height">1</property> | ||
370 | </packing> | 580 | </packing> |
371 | </child> | 581 | </child> |
372 | <child> | 582 | <child> |
373 | <object class="GtkGrid" id="grid2"> | 583 | <object class="GtkBox" id="call_history_toplevel_box"> |
374 | <property name="visible">True</property> | 584 | <property name="visible">True</property> |
375 | <property name="can_focus">False</property> | 585 | <property name="can_focus">False</property> |
586 | <property name="orientation">vertical</property> | ||
376 | <child> | 587 | <child> |
377 | <object class="GtkButton" id="GNUNET_GTK_conversation_add_contact_button"> | 588 | <object class="GtkLabel" id="call_history_label"> |
378 | <property name="label" translatable="yes">Add contact</property> | ||
379 | <property name="use_action_appearance">False</property> | ||
380 | <property name="visible">True</property> | 589 | <property name="visible">True</property> |
381 | <property name="can_focus">True</property> | 590 | <property name="can_focus">False</property> |
382 | <property name="receives_default">True</property> | 591 | <property name="label" translatable="yes">Call History</property> |
383 | <property name="use_action_appearance">False</property> | 592 | <attributes> |
384 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_add_clicked" swapped="no"/> | 593 | <attribute name="style" value="oblique"/> |
594 | </attributes> | ||
385 | </object> | 595 | </object> |
386 | <packing> | 596 | <packing> |
387 | <property name="left_attach">0</property> | 597 | <property name="expand">False</property> |
388 | <property name="top_attach">0</property> | 598 | <property name="fill">True</property> |
389 | <property name="width">1</property> | 599 | <property name="position">0</property> |
390 | <property name="height">1</property> | ||
391 | </packing> | 600 | </packing> |
392 | </child> | 601 | </child> |
393 | <child> | 602 | <child> |
394 | <object class="GtkButton" id="GNUNET_GTK_conversation_remove_contact_button"> | 603 | <object class="GtkScrolledWindow" id="call_history_scrolledwindow"> |
395 | <property name="label" translatable="yes">Remove contact</property> | ||
396 | <property name="use_action_appearance">False</property> | ||
397 | <property name="visible">True</property> | 604 | <property name="visible">True</property> |
398 | <property name="can_focus">True</property> | 605 | <property name="can_focus">True</property> |
399 | <property name="receives_default">True</property> | 606 | <property name="shadow_type">in</property> |
400 | <property name="use_action_appearance">False</property> | 607 | <child> |
401 | <signal name="clicked" handler="GNUNET_CONVERSATION_GTK_on_remove_clicked" swapped="no"/> | 608 | <object class="GtkTreeView" id="gnunet_conversation_gtk_history_treeview"> |
609 | <property name="visible">True</property> | ||
610 | <property name="can_focus">True</property> | ||
611 | <property name="model">gnunet_conversation_gtk_history_liststore</property> | ||
612 | <property name="headers_clickable">False</property> | ||
613 | <property name="search_column">0</property> | ||
614 | <child internal-child="selection"> | ||
615 | <object class="GtkTreeSelection" id="treeview-selection2"/> | ||
616 | </child> | ||
617 | <child> | ||
618 | <object class="GtkTreeViewColumn" id="timeColumn"> | ||
619 | <property name="title" translatable="yes">Time</property> | ||
620 | <child> | ||
621 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_time_window_renderer"/> | ||
622 | <attributes> | ||
623 | <attribute name="text">0</attribute> | ||
624 | </attributes> | ||
625 | </child> | ||
626 | </object> | ||
627 | </child> | ||
628 | <child> | ||
629 | <object class="GtkTreeViewColumn" id="eventColumn"> | ||
630 | <property name="title" translatable="yes">Event</property> | ||
631 | <child> | ||
632 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_event_window_renderer"/> | ||
633 | <attributes> | ||
634 | <attribute name="text">1</attribute> | ||
635 | </attributes> | ||
636 | </child> | ||
637 | </object> | ||
638 | </child> | ||
639 | <child> | ||
640 | <object class="GtkTreeViewColumn" id="contactColumn"> | ||
641 | <property name="title" translatable="yes">Contact</property> | ||
642 | <child> | ||
643 | <object class="GtkCellRendererText" id="GNUNET_CONVERSATION_GTK_contact_window_renderer"/> | ||
644 | <attributes> | ||
645 | <attribute name="text">2</attribute> | ||
646 | </attributes> | ||
647 | </child> | ||
648 | </object> | ||
649 | </child> | ||
650 | </object> | ||
651 | </child> | ||
402 | </object> | 652 | </object> |
403 | <packing> | 653 | <packing> |
404 | <property name="left_attach">1</property> | 654 | <property name="expand">False</property> |
405 | <property name="top_attach">0</property> | 655 | <property name="fill">True</property> |
406 | <property name="width">1</property> | 656 | <property name="position">1</property> |
407 | <property name="height">1</property> | ||
408 | </packing> | 657 | </packing> |
409 | </child> | 658 | </child> |
410 | </object> | 659 | </object> |
411 | <packing> | 660 | <packing> |
412 | <property name="expand">False</property> | 661 | <property name="left_attach">0</property> |
413 | <property name="fill">True</property> | 662 | <property name="top_attach">2</property> |
414 | <property name="position">5</property> | 663 | <property name="width">1</property> |
664 | <property name="height">1</property> | ||
415 | </packing> | 665 | </packing> |
416 | </child> | 666 | </child> |
667 | <child> | ||
668 | <placeholder/> | ||
669 | </child> | ||
417 | </object> | 670 | </object> |
418 | <packing> | 671 | <packing> |
419 | <property name="expand">True</property> | 672 | <property name="expand">True</property> |
420 | <property name="fill">True</property> | 673 | <property name="fill">True</property> |
421 | <property name="position">1</property> | 674 | <property name="position">2</property> |
675 | </packing> | ||
676 | </child> | ||
677 | <child> | ||
678 | <object class="GtkStatusbar" id="GNUNET_GTK_conversation_statusbar"> | ||
679 | <property name="visible">True</property> | ||
680 | <property name="can_focus">False</property> | ||
681 | <property name="orientation">vertical</property> | ||
682 | <property name="spacing">8</property> | ||
683 | </object> | ||
684 | <packing> | ||
685 | <property name="expand">False</property> | ||
686 | <property name="fill">True</property> | ||
687 | <property name="pack_type">end</property> | ||
688 | <property name="position">3</property> | ||
422 | </packing> | 689 | </packing> |
423 | </child> | 690 | </child> |
424 | </object> | 691 | </object> |
425 | </child> | 692 | </child> |
426 | </object> | 693 | </object> |
694 | <object class="GtkListStore" id="gnunet_conversation_gtk_active_calls_liststore"> | ||
695 | <columns> | ||
696 | <!-- column-name caller_id --> | ||
697 | <column type="gchararray"/> | ||
698 | <!-- column-name caller --> | ||
699 | <column type="gpointer"/> | ||
700 | <!-- column-name caller_num --> | ||
701 | <column type="gint"/> | ||
702 | </columns> | ||
703 | </object> | ||
427 | <object class="GtkListStore" id="gnunet_conversation_gtk_contacts_liststore"> | 704 | <object class="GtkListStore" id="gnunet_conversation_gtk_contacts_liststore"> |
428 | <columns> | 705 | <columns> |
429 | <!-- column-name contactName --> | 706 | <!-- column-name contactName --> |
@@ -438,6 +715,19 @@ | |||
438 | <column type="gchararray"/> | 715 | <column type="gchararray"/> |
439 | </columns> | 716 | </columns> |
440 | </object> | 717 | </object> |
718 | <object class="GtkListStore" id="gnunet_conversation_gtk_contacts_zone_liststore"> | ||
719 | <columns> | ||
720 | <!-- column-name ego_name --> | ||
721 | <column type="gchararray"/> | ||
722 | <!-- column-name ego --> | ||
723 | <column type="gpointer"/> | ||
724 | </columns> | ||
725 | <data> | ||
726 | <row> | ||
727 | <col id="0" translatable="yes">not working yet</col> | ||
728 | </row> | ||
729 | </data> | ||
730 | </object> | ||
441 | <object class="GtkListStore" id="gnunet_conversation_gtk_history_liststore"> | 731 | <object class="GtkListStore" id="gnunet_conversation_gtk_history_liststore"> |
442 | <columns> | 732 | <columns> |
443 | <!-- column-name logTime --> | 733 | <!-- column-name logTime --> |
@@ -449,4 +739,17 @@ | |||
449 | </columns> | 739 | </columns> |
450 | </object> | 740 | </object> |
451 | <object class="GtkTreeStore" id="gnunet_conversation_gtk_history_treestore"/> | 741 | <object class="GtkTreeStore" id="gnunet_conversation_gtk_history_treestore"/> |
742 | <object class="GtkListStore" id="gnunet_conversation_gtk_outgoing_zone_liststore"> | ||
743 | <columns> | ||
744 | <!-- column-name ego_name --> | ||
745 | <column type="gchararray"/> | ||
746 | <!-- column-name ego --> | ||
747 | <column type="gpointer"/> | ||
748 | </columns> | ||
749 | <data> | ||
750 | <row> | ||
751 | <col id="0" translatable="yes">Outgoing identity, doesn't work yet.</col> | ||
752 | </row> | ||
753 | </data> | ||
754 | </object> | ||
452 | </interface> | 755 | </interface> |