• Matthew Barnes's avatar
    Reorder accounts by drag-and-drop. · 7c0c40f8
    Matthew Barnes authored
    This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3.
    Account reordering is now done by drag-and-drop instead of up/down
    Turned out to be a wee bit more complicated than I initially thought.
    This scraps EAccountManager and EAccountTreeView and replaces them with
    new classes centered around EMailAccountStore, which EMailSession owns.
    EMailAccountStore is the model behind the account list in Preferences.
    The folder tree model now uses it to sort its own top-level rows using
    gtk_tree_path_compare().  It also broadcasts account operations through
    signals so we don't have to rely so heavily on EAccountList signals,
    since EAccountList is going away soon.
    Also as part of this work, the e-mail-local.h and e-mail-store.h APIs
    have been merged into EMailSession and MailFolderCache.
em-utils.c 55.3 KB