aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-11-25 21:09:37 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-11-25 21:09:37 +0800
commit717d3a2eed4efcd1fb0923b2a743a0daa17d2810 (patch)
tree750a1e4585f4ebac344af581113fb16f75f3a0ef
parentcda46fac58ad28c4b96fdece4bab0468bb4a668c (diff)
downloadgsoc2013-evolution-717d3a2eed4efcd1fb0923b2a743a0daa17d2810.tar.gz
gsoc2013-evolution-717d3a2eed4efcd1fb0923b2a743a0daa17d2810.tar.zst
gsoc2013-evolution-717d3a2eed4efcd1fb0923b2a743a0daa17d2810.zip
Use g_filename_to_uri() instead of just prefixing "file://" for Win32
2005-11-25 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-component.c (ensure_sources): Use g_filename_to_uri() instead of just prefixing "file://" for Win32 portability. svn path=/trunk/; revision=30667
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-component.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 7cb58c922d..8f63a60fcd 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-25 Tor Lillqvist <tml@novell.com>
+
+ * gui/component/addressbook-component.c (ensure_sources): Use
+ g_filename_to_uri() instead of just prefixing "file://" for Win32
+ portability.
+
2005-11-24 Sushma Rai <rsushma@novell.com>
* addressbook.error.xml: Added new error id "gw-book-list-init" and
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index fef6f9b7f7..2332795736 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -88,7 +88,7 @@ ensure_sources (AddressbookComponent *component)
"addressbook", "local",
NULL);
- base_uri_proto = g_strconcat ("file://", base_uri, NULL);
+ base_uri_proto = g_filename_to_uri (base_uri, NULL, NULL);
groups = e_source_list_peek_groups (source_list);
if (groups) {