r2823 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src

njp at sita.openmoko.org njp at sita.openmoko.org
Thu Aug 23 19:02:16 CEST 2007


Author: njp
Date: 2007-08-23 19:02:15 +0200 (Thu, 23 Aug 2007)
New Revision: 2823

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c
Log:
2007-08-23  Neil J. Patel  <njp at o-hand.com>

	* src/moko-dialer.c: (on_keypad_dial_clicked),
	(on_talking_accept_call):
	Stop crashing on second outgoing call.
	Log incoming calls properly with the journal.

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-08-23 16:51:07 UTC (rev 2822)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2007-08-23 17:02:15 UTC (rev 2823)
@@ -1,5 +1,12 @@
 2007-08-23  Neil J. Patel  <njp at o-hand.com>
 
+	* src/moko-dialer.c: (on_keypad_dial_clicked),
+	(on_talking_accept_call):
+	Stop crashing on second outgoing call.
+	Log incoming calls properly with the journal.
+
+2007-08-23  Neil J. Patel  <njp at o-hand.com>
+
 	* src/moko-notify.c: (moko_notify_start_ringtone):
 	Check playing status before starting playback.
 

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c	2007-08-23 16:51:07 UTC (rev 2822)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c	2007-08-23 17:02:15 UTC (rev 2823)
@@ -253,11 +253,6 @@
     moko_journal_voice_info_set_distant_number (priv->entry, number);
     if (entry && entry->contact->uid)
       moko_journal_entry_set_contact_uid (priv->entry, entry->contact->uid);
-    moko_journal_add_entry (priv->journal, priv->entry);
-    moko_journal_write_to_storage (priv->journal);
-    moko_time_free (priv->time);
-    priv->entry = NULL;
-    priv->time = NULL;
   }
   moko_talking_outgoing_call (MOKO_TALKING (priv->talking), number, entry);
 
@@ -327,6 +322,7 @@
   if (priv->journal && priv->entry)
   {
     moko_journal_add_entry (priv->journal, priv->entry);
+    moko_journal_write_to_storage (priv->journal);
     if (priv->time) 
       moko_time_free (priv->time);
     priv->entry = NULL;





More information about the commitlog mailing list