Changeset 3071


Ignore:
Timestamp:
10/02/07 12:47:05 (6 years ago)
Author:
thomas
Message:

Patch by: Roman Moravcik <roman.moravcik@…>

  • src/moko-dialer.c: (on_keypad_dial_clicked), (on_incoming_call), (on_network_registered): Store network information (LocationAreaCode?, CellID) in moko journal.
Location:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog

    r3070 r3071  
     12007-10-02  Thomas Wood  <thomas@openedhand.com> 
     2 
     3        Patch by: Roman Moravcik <roman.moravcik@gmail.com> 
     4 
     5        * src/moko-dialer.c: (on_keypad_dial_clicked), (on_incoming_call), 
     6          (on_network_registered): Store network information (LocationAreaCode, 
     7          CellID) in moko journal. 
     8 
    192007-10-02  Thomas Wood  <thomas@openedhand.com> 
    210 
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c

    r3070 r3071  
    7272  guint               reg_timeout; 
    7373  MokoGsmdConnectionNetregType registered; 
     74  MokoGSMLocation     gsm_location; 
    7475}; 
    7576 
     
    290291    moko_journal_entry_set_dtstart (priv->entry, priv->time); 
    291292    moko_journal_entry_set_source (priv->entry, "Openmoko Dialer"); 
     293    moko_journal_entry_set_gsm_location (priv->entry, &priv->gsm_location); 
    292294    moko_journal_voice_info_set_distant_number (priv->entry, number); 
    293295    if (entry && entry->contact->uid) 
     
    480482      g_debug ("NetReg: Network registered"); 
    481483      g_debug ("\tLocationAreaCode = %x\n\tCellID = %x", lac, cell); 
     484      priv->gsm_location.lac = lac; 
     485      priv->gsm_location.cid = cell; 
    482486      g_source_remove (priv->reg_timeout); 
    483487      break; 
     
    514518    moko_journal_entry_set_dtstart (priv->entry, priv->time); 
    515519    moko_journal_entry_set_source (priv->entry, "Openmoko Dialer"); 
     520    moko_journal_entry_set_gsm_location (priv->entry, &priv->gsm_location); 
    516521  } 
    517522  /* Set up the user interface */ 
Note: See TracChangeset for help on using the changeset viewer.