diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-27 16:46:50 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-27 16:46:50 +0800 |
commit | 8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3 (patch) | |
tree | 2b14ad9df6e2360368009f02f2af973929a66e6a /addressbook/backend/ebook | |
parent | 9d1dafcffb2482ab198577c1f929b5f052c0db51 (diff) | |
download | gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.tar gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.tar.gz gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.tar.bz2 gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.tar.lz gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.tar.xz gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.tar.zst gsoc2013-evolution-8fffa05e0f360bb5d81a6ed0c8d04b8e29c26fb3.zip |
Changed the URI to load to.
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/load-pine-addressbook.c: Changed the URI to load
to.
svn path=/trunk/; revision=4381
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r-- | addressbook/backend/ebook/load-pine-addressbook.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/load-pine-addressbook.c b/addressbook/backend/ebook/load-pine-addressbook.c index ee0d8c1ac3..0cc1be693c 100644 --- a/addressbook/backend/ebook/load-pine-addressbook.c +++ b/addressbook/backend/ebook/load-pine-addressbook.c @@ -92,6 +92,7 @@ static guint ebook_create (void) { EBook *book; + gchar *path, *uri; book = e_book_new (); @@ -103,9 +104,15 @@ ebook_create (void) } - if (! e_book_load_uri (book, "file:/tmp/test.db", book_open_cb, NULL)) { + path = g_concat_dir_and_file (g_get_home_dir (), + "evolution/local/Contacts/addressbook.db"); + uri = g_strdup_printf ("file://%s", path); + g_free (path); + + if (! e_book_load_uri (book, uri, book_open_cb, NULL)) { printf ("error calling load_uri!\n"); } + g_free(uri); return FALSE; |