[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32330 - gnunet-gtk/src/conversation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32330 - gnunet-gtk/src/conversation |
Date: |
Wed, 12 Feb 2014 18:32:30 +0100 |
Author: yids
Date: 2014-02-12 18:32:30 +0100 (Wed, 12 Feb 2014)
New Revision: 32330
Modified:
gnunet-gtk/src/conversation/gnunet-conversation-gtk.c
Log:
- you can now select your identity for outgoing calls
Modified: gnunet-gtk/src/conversation/gnunet-conversation-gtk.c
===================================================================
--- gnunet-gtk/src/conversation/gnunet-conversation-gtk.c 2014-02-12
16:44:27 UTC (rev 32329)
+++ gnunet-gtk/src/conversation/gnunet-conversation-gtk.c 2014-02-12
17:32:30 UTC (rev 32330)
@@ -1163,8 +1163,7 @@
1, ego,
-1);
}
-
-
+
if (NULL == name)
return;
if (ego == caller_id)
@@ -1193,9 +1192,6 @@
GNUNET_NAMESTORE_zone_iteration_start (ns, &zone_pkey, &display_record,
NULL);
-
- start_phone ();
-
}
/**
@@ -1908,6 +1904,35 @@
}
+void
+gnunet_conversation_gtk_outgoing_zone_combobox_changed_cb (GtkComboBox *widget,
+ gpointer user_data)
+{
+ GtkTreeIter contacts_zone_iter;
+ struct GNUNET_IDENTITY_Ego *tempEgo;
+ char *tempName;
+ struct GNUNET_CRYPTO_EcdsaPrivateKey temp_zone_pkey;
+ GtkTreeSelection *selection;
+ GtkTreeIter iterA;
+
+
+ gtk_combo_box_get_active_iter(widget, &contacts_zone_iter);
+
+ gtk_tree_model_get (GTK_TREE_MODEL (zone_liststore),
+ &contacts_zone_iter,
+ 0, &tempName,
+ 1, &tempEgo,
+ -1);
+ FPRINTF(stderr,"outgoing ego: %s\n", tempName);
+ caller_id = tempEgo;
+ if ( NULL != phone)
+ {
+ GNUNET_CONVERSATION_phone_destroy (phone);
+ phone == NULL;
+ }
+ start_phone();
+}
+
/*
* @brief print info for currently selected call
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32330 - gnunet-gtk/src/conversation,
gnunet <=