r2706 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src
njp at sita.openmoko.org
njp at sita.openmoko.org
Wed Aug 15 15:31:43 CEST 2007
Author: njp
Date: 2007-08-15 15:31:42 +0200 (Wed, 15 Aug 2007)
New Revision: 2706
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-15 Neil J. Patel <njp at o-hand.com>
* src/moko-dialer.c: (on_network_registered):
Remove the registration timeout out on registration.
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-15 13:26:57 UTC (rev 2705)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-15 13:31:42 UTC (rev 2706)
@@ -1,5 +1,10 @@
2007-08-15 Neil J. Patel <njp at o-hand.com>
+ * src/moko-dialer.c: (on_network_registered):
+ Remove the registration timeout out on registration.
+
+2007-08-15 Neil J. Patel <njp at o-hand.com>
+
* src/moko-dialer.c: (on_keypad_pin_entry),
(on_network_registered), (moko_dialer_init):
Check for registration type, and take the right action.
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-15 13:26:57 UTC (rev 2705)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c 2007-08-15 13:31:42 UTC (rev 2706)
@@ -418,6 +418,8 @@
g_return_if_fail (MOKO_IS_DIALER (dialer));
priv = dialer->priv;
+ g_print ("Register type %d\n", type);
+
switch (type)
{
case MOKO_GSMD_CONNECTION_NETREG_NONE:
@@ -432,6 +434,8 @@
break;
case MOKO_GSMD_CONNECTION_NETREG_HOME:
case MOKO_GSMD_CONNECTION_NETREG_ROAMING:
+ g_print ("Network registered\n")
+ g_source_remove (priv->reg_timeout);
priv->registered = TRUE;
break;
default:
More information about the commitlog
mailing list