aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryids <yids@140774ce-b5e7-0310-ab8b-a85725594a96>2014-02-17 02:19:55 +0000
committeryids <yids@140774ce-b5e7-0310-ab8b-a85725594a96>2014-02-17 02:19:55 +0000
commit8bbcf9b17c31bd4d9033307f6edd2db38c4aa43f (patch)
tree922f81599c441985fd6a15165c8be8ce4230fcfa
parente0113124a63e28e185cc3aa1defe4d59db483ae9 (diff)
downloadgnunet-gtk-8bbcf9b17c31bd4d9033307f6edd2db38c4aa43f.tar.gz
gnunet-gtk-8bbcf9b17c31bd4d9033307f6edd2db38c4aa43f.zip
- removed some unnecesary stuff
-rw-r--r--src/conversation/gnunet-conversation-gtk.c24
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;
220static GtkListStore *zone_liststore; 220static GtkListStore *zone_liststore;
221 221
222/** 222/**
223 * zone treeview
224 */
225static GtkTreeView *zone_treeview;
226
227/**
228 * zone tree model 223 * zone tree model
229 */ 224 */
230static GtkTreeModel *zone_treemodel; 225static 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));