aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_contacts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_contacts.c')
-rw-r--r--src/conversation/gnunet-conversation-gtk_contacts.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_contacts.c b/src/conversation/gnunet-conversation-gtk_contacts.c
index 057ed40d..0b3023d3 100644
--- a/src/conversation/gnunet-conversation-gtk_contacts.c
+++ b/src/conversation/gnunet-conversation-gtk_contacts.c
@@ -265,17 +265,19 @@ gnunet_conversation_gtk_contacts_zone_combobox_changed_cb (GtkComboBox *widget,
265void 265void
266GCG_CONTACTS_init () 266GCG_CONTACTS_init ()
267{ 267{
268#if GTK_CHECK_VERSION(3,10,0)
268 GtkTreeView *contacts_treeview; 269 GtkTreeView *contacts_treeview;
269 270
271 contacts_treeview
272 = GTK_TREE_VIEW (GCG_get_main_window_object ("gnunet_conversation_gtk_treeview"));
273 gtk_tree_view_set_activate_on_single_click (contacts_treeview,
274 TRUE);
275#endif
270 contacts_liststore 276 contacts_liststore
271 = GTK_LIST_STORE (GCG_get_main_window_object 277 = GTK_LIST_STORE (GCG_get_main_window_object
272 ("gnunet_conversation_gtk_contacts_liststore")); 278 ("gnunet_conversation_gtk_contacts_liststore"));
273 contacts_treemodel 279 contacts_treemodel
274 = GTK_TREE_MODEL (contacts_liststore); 280 = GTK_TREE_MODEL (contacts_liststore);
275 contacts_treeview
276 = GTK_TREE_VIEW (GCG_get_main_window_object ("gnunet_conversation_gtk_treeview"));
277 gtk_tree_view_set_activate_on_single_click (contacts_treeview,
278 TRUE);
279} 281}
280 282
281 283