r2174 - trunk/src/target/OM-2007/applications/openmoko-dialer/src
njp at sita.openmoko.org
njp at sita.openmoko.org
Wed Jun 6 15:56:45 CEST 2007
Author: njp
Date: 2007-06-06 15:56:44 +0200 (Wed, 06 Jun 2007)
New Revision: 2174
Modified:
trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-outgoing.c
Log:
More debugging
Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-outgoing.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-outgoing.c 2007-06-06 13:11:07 UTC (rev 2173)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-outgoing.c 2007-06-06 13:56:44 UTC (rev 2174)
@@ -151,7 +151,6 @@
gulong progress_handler;
- g_print ("Outgoing: creating new entry\n");
/* create the journal entry for this call and add it to the journal */
entry = moko_journal_entry_new (VOICE_JOURNAL_ENTRY);
moko_journal_entry_set_direction (entry, DIRECTION_OUT);
@@ -162,24 +161,24 @@
/* FIXME: We should be able to associate a number with a contact uid, and
add that info to the entry */
- g_print ("Outgoing: Adding handler\n");
/* connect our handler to track call progress */
progress_handler = g_signal_connect (data->connection, "call-progress",
G_CALLBACK (call_progress_cb), data);
g_object_set_data (G_OBJECT (data->window_outgoing), "current-number", number);
moko_gsmd_connection_voice_dial (data->connection, number);
- g_print ("Outgoing: Setting message\n");
moko_message_dialog_set_message (MOKO_MESSAGE_DIALOG (data->window_outgoing),
"Calling %s", number);
- g_print ("Outgoing: Running dialog\n");
-
+
if (gtk_dialog_run (GTK_DIALOG (data->window_outgoing)) == GTK_RESPONSE_OK)
{
+ g_print ("Outgoing: Preparing talking window\n");
/* call has connected, so open the talking window */
/* window_talking_show (); */
window_talking_prepare (data);
+
+ g_print ("Outgoing: Showing window\n");
gtk_widget_show (data->window_talking);
}
else
More information about the commitlog
mailing list