diff options
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r-- | my-evolution/e-summary-mail.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c index ffa65159ef..aa9f81e57e 100644 --- a/my-evolution/e-summary-mail.c +++ b/my-evolution/e-summary-mail.c @@ -274,8 +274,18 @@ update_folder_cb (EvolutionStorageListener *listener, g_free (evolution_dir); uri = e_path_to_physical (proto, path); } else { - uri = g_strconcat (si->name, path, NULL); - g_print ("uri: %s\n", uri); + GNOME_Evolution_Folder *folder; + CORBA_Environment ev; + + CORBA_exception_init (&ev); + folder = GNOME_Evolution_Storage_getFolderAtPath (si->storage, path, &ev); + + if (BONOBO_EX (&ev)) + return; + + uri = g_strdup (folder->physicalUri); + CORBA_free (folder); + CORBA_exception_free (&ev); } g_idle_add (e_summary_mail_idle_get_info, uri); |