aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-11-25 21:19:17 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-11-25 21:19:17 +0800
commitc3b27aca696a51e4b6d455f6a0ec39e61bb434bc (patch)
tree77b313b0bf38df8d946a9db8b674de030ed60837 /calendar
parent6002658d1c8a44f389263f77b3e430472b1a9828 (diff)
downloadgsoc2013-evolution-c3b27aca696a51e4b6d455f6a0ec39e61bb434bc.tar.gz
gsoc2013-evolution-c3b27aca696a51e4b6d455f6a0ec39e61bb434bc.tar.zst
gsoc2013-evolution-c3b27aca696a51e4b6d455f6a0ec39e61bb434bc.zip
Use g_filename_to_uri() instead of just prefixing "file://" for Win32
2005-11-25 Tor Lillqvist <tml@novell.com> * gui/tasks-component.c (ensure_sources): Use g_filename_to_uri() instead of just prefixing "file://" for Win32 portability. svn path=/trunk/; revision=30669
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/tasks-component.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 681f108afe..57e1c3ae13 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,8 +1,8 @@
2005-11-25 Tor Lillqvist <tml@novell.com>
- * gui/calendar-component.c (ensure_sources): Use
- g_filename_to_uri() instead of just prefixing "file://" for Win32
- portability.
+ * gui/calendar-component.c (ensure_sources)
+ * gui/tasks-component.c (ensure_sources): Use g_filename_to_uri()
+ instead of just prefixing "file://" for Win32 portability.
* gui/e-itip-control.c
* gui/itip-utils.c: Use g_ascii_strcasecmp() instead of
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 185175ab65..83e3daea93 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -139,7 +139,7 @@ ensure_sources (TasksComponent *component)
"tasks", "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) {
@@ -873,7 +873,7 @@ setup_create_ecal (TasksComponent *component, TasksComponentView *component_view
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
_("Unable to open the task list '%s' for creating events and meetings"),
- e_source_peek_name (source));
+ e_source_peek_name (source));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);