Changeset 3489

Show
Ignore:
Timestamp:
03/13/08 15:22:33
Author:
pvanhoof
Message:

2008-03-03 Philip Van Hoof <pvanhoof@gnome.org>

        • IMAP provider: bugfix when asking for a list of folders that has no

subfolders, on Cyrus.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3488 r3489  
     12008-03-03  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * IMAP provider: bugfix when asking for a list of folders that has no 
     4        subfolders, on Cyrus. 
     5 
    162008-03-12  Jose Dapena Paz  <jdapena@igalia.com> 
    27 
  • trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c

    r3471 r3489  
    35693569                } 
    35703570 
    3571         } else if (namespace->prefix[strlen(namespace->prefix)-1] != namespace->delim) 
     3571        } else if (namespace->prefix[strlen(namespace->prefix)-1] == namespace->delim) { 
    35723572 
    35733573                /** 
    35743574                 * NAMESPACE (("something" ".") ... 
    3575                  * Usually, IMAP servers give you "something." in stead, but 
    3576                  * this one didn't, so we'll just do that here. I don't really 
     3575                 * Usually, IMAP servers give you "something.". I don't really 
    35773576                 * understand from the IMAP spec what the correct way is, looks 
    35783577                 * like there's quite a bit of confusion among the IMAP server 
    35793578                 * developers about this too. So let's just cope with both here. 
    35803579                 **/ 
    3581                 prefix = g_strdup_printf ("%s%c", namespace->prefix, namespace->delim); 
    3582         else  
     3580                prefix = g_strndup(namespace->prefix, strlen(namespace->prefix)-1); 
     3581        } else { 
    35833582                /** 
    35843583                 * NAMESPACE (("something." ".").. 
     
    35863585                 **/ 
    35873586                prefix = g_strdup(namespace->prefix); 
     3587        } 
    35883588 
    35893589        present = g_hash_table_new(folder_hash, folder_eq); 
     
    38803880                 * namespace is just asking for it ... */ 
    38813881 
     3882                /*get_folders_sync (imap_store, "*",ex); 
     3883                if (camel_exception_is_set(ex)) 
     3884                        goto fail;*/ 
     3885 
    38823886                if (ns->personal) 
    38833887                        get_folders_sync_ns (imap_store, ns->personal,  
  • trunk/libtinymail/tny-account.c

    r3436 r3489  
    135135 * @domain: the domain of the #TnyStatus that will happen in @status_callback 
    136136 * @code: the code of the #TnyStatus that will happen in @status_callback 
    137  * @status_callback: (null-ok) status callback handler or NULL 
     137 * @status_callback: (null-ok): status callback handler or NULL 
    138138 * @status_user_data: (null-ok): the user-data to give to the @status_callback or NULL 
    139139 *