diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk.c | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/src/conversation/gnunet-conversation-gtk.c b/src/conversation/gnunet-conversation-gtk.c index e7b8cf7e..aa7bba1f 100644 --- a/src/conversation/gnunet-conversation-gtk.c +++ b/src/conversation/gnunet-conversation-gtk.c | |||
@@ -220,11 +220,6 @@ static char *address; | |||
220 | static GtkListStore *zone_liststore; | 220 | static GtkListStore *zone_liststore; |
221 | 221 | ||
222 | /** | 222 | /** |
223 | * zone treeview | ||
224 | */ | ||
225 | static GtkTreeView *zone_treeview; | ||
226 | |||
227 | /** | ||
228 | * zone tree model | 223 | * zone tree model |
229 | */ | 224 | */ |
230 | static GtkTreeModel *zone_treemodel; | 225 | static GtkTreeModel *zone_treemodel; |
@@ -1122,19 +1117,7 @@ identity_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego, void **ctx, | |||
1122 | struct GNUNET_CRYPTO_EcdsaPublicKey pk; | 1117 | struct GNUNET_CRYPTO_EcdsaPublicKey pk; |
1123 | char *s; | 1118 | char *s; |
1124 | GtkTreeIter iter; | 1119 | GtkTreeIter iter; |
1125 | 1120 | ||
1126 | if (NULL != ego) | ||
1127 | { | ||
1128 | GNUNET_IDENTITY_ego_get_public_key (ego, &pk); | ||
1129 | s = GNUNET_CRYPTO_ecdsa_public_key_to_string (&pk); | ||
1130 | // fprintf (stdout, "%s \n", name); | ||
1131 | gtk_list_store_insert_with_values (zone_liststore, | ||
1132 | &iter, -1, | ||
1133 | 0, name, | ||
1134 | 1, ego, | ||
1135 | -1); | ||
1136 | } | ||
1137 | |||
1138 | if (NULL == name) | 1121 | if (NULL == name) |
1139 | return; | 1122 | return; |
1140 | if (ego == caller_id) | 1123 | if (ego == caller_id) |
@@ -1297,10 +1280,7 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1297 | 1280 | ||
1298 | GNUNET_CONVERSATION_GTK_history_init(); | 1281 | GNUNET_CONVERSATION_GTK_history_init(); |
1299 | 1282 | ||
1300 | //zone_treeview = | 1283 | //gtk_tree_view_set_activate_on_single_click(contacts_treeview, TRUE); |
1301 | // GTK_TREE_VIEW (get_object ("gnunet_conversation_gtk_zone_treeview")); | ||
1302 | |||
1303 | //gtk_tree_view_set_activate_on_single_click(contacts_treeview, TRUE); | ||
1304 | 1284 | ||
1305 | 1285 | ||
1306 | // gtk_window_maximize (GTK_WINDOW (main_window)); | 1286 | // gtk_window_maximize (GTK_WINDOW (main_window)); |