From e8e6da16764e24d4137c16ae1009a9be701ddfaa Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 11 Jul 2002 21:14:52 +0000 Subject: Actually pass the evolution URI, not the path, in Folder.evolutionUri * e-summary-preferences.c (set_selected_folders): Actually pass the evolution URI, not the path, in Folder.evolutionUri (since now the shell StorageSetView implementation has been fixed to handle this field properly). * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Handle Folder.evolutionUri as a URI, not as a path. Also use e_free_string_list(). svn path=/trunk/; revision=17425 --- my-evolution/ChangeLog | 7 +++++++ my-evolution/e-summary-preferences.c | 7 +------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'my-evolution') diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 07f1791545..bec38d6958 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,10 @@ +2002-07-11 Ettore Perazzoli + + * e-summary-preferences.c (set_selected_folders): Actually pass + the evolution URI, not the path, in Folder.evolutionUri (since now + the shell StorageSetView implementation has been fixed to handle + this field properly). + 2002-07-11 Ettore Perazzoli * e-summary-preferences.c (set_selected_folders): Set the diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c index 46ca5f6bfd..406955ea92 100644 --- a/my-evolution/e-summary-preferences.c +++ b/my-evolution/e-summary-preferences.c @@ -1333,12 +1333,7 @@ set_selected_folders (GNOME_Evolution_StorageSetView view) list->_buffer[i].type = CORBA_string_dup (""); list->_buffer[i].description = CORBA_string_dup (""); list->_buffer[i].displayName = CORBA_string_dup (""); - - if (strncmp (folder->evolution_uri, "evolution:", 10) == 0) - list->_buffer[i].evolutionUri = CORBA_string_dup (folder->evolution_uri + 10); - else - list->_buffer[i].evolutionUri = CORBA_string_dup (folder->evolution_uri); - + list->_buffer[i].evolutionUri = CORBA_string_dup (folder->evolution_uri); list->_buffer[i].physicalUri = CORBA_string_dup (folder->physical_uri); list->_buffer[i].unreadCount = 0; list->_buffer[i].canSyncOffline = TRUE; -- cgit