diff options
author | Ross Burton <ross@openedhand.com> | 2007-07-05 09:33:02 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-07-05 09:33:02 +0000 |
commit | 6be3aceceb0c644d5696db7c7c6fea968b7ffe55 (patch) | |
tree | 6354a5c43b95c8c68cf5a90fd70eb2ecd6066e66 /meta/packages/eds/eds-dbus | |
parent | 5d1ff83cc2e6917e2faee81c0e35564250fdb8f8 (diff) | |
download | openembedded-core-6be3aceceb0c644d5696db7c7c6fea968b7ffe55.tar.gz openembedded-core-6be3aceceb0c644d5696db7c7c6fea968b7ffe55.tar.bz2 openembedded-core-6be3aceceb0c644d5696db7c7c6fea968b7ffe55.zip |
Add OH contact when creating a new addressbook
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2103 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/eds/eds-dbus')
-rw-r--r-- | meta/packages/eds/eds-dbus/oh-contact.patch | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/meta/packages/eds/eds-dbus/oh-contact.patch b/meta/packages/eds/eds-dbus/oh-contact.patch new file mode 100644 index 0000000000..671510a150 --- /dev/null +++ b/meta/packages/eds/eds-dbus/oh-contact.patch @@ -0,0 +1,156 @@ +Index: addressbook/libedata-book-orbit/ximian-vcard.h +=================================================================== +--- addressbook/libedata-book-orbit/ximian-vcard.h (revision 578) ++++ addressbook/libedata-book-orbit/ximian-vcard.h (working copy) +@@ -1,80 +1,40 @@ + #define XIMIAN_VCARD \ + "BEGIN:VCARD\n" \ +-"X-EVOLUTION-FILE-AS:Novell Ximian Group\n" \ +-"ADR;TYPE=WORK:;Suite 500;8 Cambridge Center;Cambridge;MA;02142;USA\n" \ +-"LABEL;TYPE=WORK:8 Cambridge Center, Suite 500\\nCambridge\\, MA\\n02142\\nUSA\n" \ +-"TEL;WORK;VOICE:(617) 613-2000\n" \ +-"TEL;WORK;FAX:(617) 613-2001\n" \ +-"EMAIL;INTERNET:hello@ximian.com\n"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X/wB6ag9lGnEaj17CRJA+BhZmy\n" \ +-" lK+6EI44PQq3R6E06W9h9gZVvNb6FYxlLqwcfOhvYhYWt7s99G8MK3XVjI68aIo7UxgbR9IajhQ\n" \ +-" 7/Du9yiSF3S3tMNrStlkAAt94DPDI4eJFUvYfNetqNYz4xAfjWZx5skZAUnJHD1FMVrYhYWVbzW\n" \ +-" +2ojGUOrBx86EbD7A0FBvfRvDCt11YyPI8aIo23zdP6i2e621TaUJiXCfa1IucFPJt5KVnfHRWS\n" \ +-" euPPNZ2YadfkNsspUp1aglCU8yTyrTSNh9gbCgjfSFjCgl1YyPI8al9PbItP2WamUywkuJ5KOVE\n" \ +-" emeVEVw02ZH9H4YkEqdDYCifE4oqXbaS02lCRhIGBRRF//Z\n" \ ++"VERSION:3.0\n" \ ++"FN:OpenedHand Ltd\n" \ ++"URL:http://www.o-hand.com/\n" \ ++"EMAIL;info@openedhand.com\n" \ ++"TEL;TYPE=VOICE:+44 208 819 6559\n" \ ++"ADR:216 - 218 Homesdale Road;Unit R\, Homesdale Business Center;\n" \ ++" Bromley;;BR1 2QZ;United Kingdom\n" \ ++"LABEL:Unit R, Homesdale Business Center\\n216 - 218 Homesdale Road\\nBromley\\nBR1 2QZ\\nUnited Kingdom\n" \ ++"PHOTO;ENCODING=b:iVBORw0KGgoAAAANSUhEUgAAAC0AAAA\n" \ ++" wCAYAAACFUvPfAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOCwAADgsBOfdp+wAAABl0RVh\n" \ ++" 0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAVWSURBVGiB7ZltiBVVGMd/c93d1DQ\n" \ ++" lStMSBHsRj2/ZelY0lbCIIrQgg8pKqI4gKEkSabZiUhlSmpYvxxKxVxSL9KMf1qRSZ0UTPRm\n" \ ++" KWIoviCSo2/qy3tOHmdXZufN69yp98P/l3pnzf/7P/56Ze84zzzjWWqQWI4AFwDDgKLASWOo\n" \ ++" qYwlAajHS5w1N4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XO/gnM4TwKgWCg\n" \ ++" Wv4sblFp0BvrkESxQOgtPx5F/m3G0ueCVltlbBZZPdkzZvy2B8RjJTcsSFChd3Mf7LdtIbFf\n" \ ++" 7GizMI4NxCw1nLl2ak0KbkG6zLQquMnuBQ4FzPYCJSUGNyszDKT4SiguiybFM36n+GHdw2sG\n" \ ++" LcTpSix7As7lN+5/rQ+fn+x2jWLiv7//51pp/B2LtWMc6b1rHWQt2PtYZX6Sl744pZqnFpl2\n" \ ++" NelJ60VFoNfYxMBWvBQBe1TYVWJIU3DD58AW89zBb8yaWWghA5Y0Df6ZdZU7j9SOCWCi1GF2\n" \ ++" OaBqkFt3xCrPcJQG03cYX0XbNrgE2SC36lW+vFP77lu/xrmZZcGzgtvPfJ26h7RJ0GpjoKrO\n" \ ++" l3CQB/Z7ABmBUCnUBENx9zwO7XGWOl5j2hScBX4VEWoDZwGJXmbIe/6UW44A1eC2zclAEFgM\n" \ ++" zS0z7CeYA8yMCDwGzgA1Zn9KlFoPxZu6JMs2GEW3aTzYJ+ILo3eok3qa0ETgAnHSVOS+1qAZ\n" \ ++" 64s3m48AzpLwTLAN/xpr2jY/AuwfTSkuAZqAjpZ3SSuNsYofJVWY7cD8wF+/PkIROXH/DALs\n" \ ++" TZzoIf8udibfF972OppJwBXg4s+kgpBZD8KrBoXgFfG+8ZnpZm0UGNAE7gVmuMtv+A/CTlwt\n" \ ++" ArmsGAAAAAElFTkSuQmCC\n" \ + "END:VCARD" +Index: addressbook/backends/file/e-book-backend-file.c +=================================================================== +--- addressbook/backends/file/e-book-backend-file.c (revision 578) ++++ addressbook/backends/file/e-book-backend-file.c (working copy) +@@ -1286,13 +1286,14 @@ + else { + #ifdef CREATE_DEFAULT_VCARD + EContact *contact = NULL; +- +- do_create(bf, XIMIAN_VCARD, &contact); +- /* XXX check errors here */ +- if (contact) ++ EBookBackendSyncStatus status; ++ ++ status = do_create (bf, XIMIAN_VCARD, &contact); ++ if (status == GNOME_Evolution_Addressbook_Success) + g_object_unref (contact); ++ else ++ g_warning ("Cannot create default contact: %d", status); + #endif +- + writable = TRUE; + } + } +Index: addressbook/backends/file/Makefile.am +=================================================================== +--- addressbook/backends/file/Makefile.am (revision 578) ++++ addressbook/backends/file/Makefile.am (working copy) +@@ -1,4 +1,5 @@ + INCLUDES = \ ++ -DCREATE_DEFAULT_VCARD \ + -DG_LOG_DOMAIN=\"libebookbackend\" \ + -I$(top_srcdir) \ + -I$(top_builddir) \ |