diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 7763066c89..681f108afe 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,9 @@ 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/e-itip-control.c * gui/itip-utils.c: Use g_ascii_strcasecmp() instead of strcasecmp() for portability. diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index ba48b577bd..38c6e978af 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -152,10 +152,10 @@ ensure_sources (CalendarComponent *component) } base_uri = g_build_filename (calendar_component_peek_base_directory (component), - "/calendar/local/", + "calendar", "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) { @@ -1155,7 +1155,7 @@ setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("Unable to open the calendar '%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); |