gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-4-


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-4-gbd97ff1
Date: Sat, 01 May 2010 14:52:15 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  bd97ff18b7d26dd4ce1f4b080ef709894dca6992 (commit)
      from  357adad7c5a4b8515e5ea7a609e17f1206f1333c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=bd97ff18b7d26dd4ce1f4b080ef709894dca6992


commit bd97ff18b7d26dd4ce1f4b080ef709894dca6992
Author: Daniele Forsi <address@hidden>
Date:   Sat May 1 16:49:41 2010 +0200

    Add label for PTT Address (X-SIP;POC) and User ID (X-WV-ID)
    
    Use the labels seen when transferring the phonebook via OBEX from
    a Nokia 5300.

diff --git a/ChangeLog b/ChangeLog
index 1ac17b5..a178d20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
 0.6.30 (not released yet)
 =========================
  * libgnokii updates
-    o fix printing BDAY for phonebook entries in vCard format
+    o fix printing BDAY for phonebook entries in vCard format and
+      add label for PTT Address (X-SIP;POC) and User ID (X-WV-ID)
                                                     (Daniele Forsi)
 
 0.6.29
diff --git a/common/vcard.c b/common/vcard.c
index 3243de3..16788ec 100644
--- a/common/vcard.c
+++ b/common/vcard.c
@@ -193,6 +193,12 @@ GNOKII_API char * gn_phonebook2vcardstr(gn_phonebook_entry 
*entry)
                case GN_PHONEBOOK_ENTRY_ExtGroup:
                        vcard_append_printf(&str, "X-GSM-CALLERGROUPID:%d", 
entry->subentries[i].data.id);
                        break;
+               case GN_PHONEBOOK_ENTRY_PTTAddress:
+                       vcard_append_printf(&str, "X-SIP;POC:%s", 
entry->subentries[i].data.number);
+                       break;
+               case GN_PHONEBOOK_ENTRY_UserID:
+                       vcard_append_printf(&str, "X-WV-ID:%s", 
entry->subentries[i].data.number);
+                       break;
                case GN_PHONEBOOK_ENTRY_Ringtone:
                case GN_PHONEBOOK_ENTRY_Pointer:
                case GN_PHONEBOOK_ENTRY_Logo:

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    3 ++-
 common/vcard.c |    6 ++++++
 2 files changed, 8 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]