Updating branch refs/heads/master
         to 5b0342f3cd7e24e921ea73e924f77d4241744ce6 (commit)
       from 6cdbae0f9b600183daa158ca7438d9bb1f65391f (commit)

commit 5b0342f3cd7e24e921ea73e924f77d4241744ce6
Author: Christian Dywan <[email protected]>
Date:   Wed Mar 9 21:56:19 2011 +0100

    Don't expand account folders by default
    
    Unless there is only one account.
    
    Fixes: https://bugs.launchpad.net/postler/+bug/708306'

 postler/postler-folders.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index 3a09f46..cc64af3 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -487,7 +487,8 @@ public class Postler.Folders : Gtk.TreeView {
                     }
                 });
 
-                expand_row (store.get_path (account_iter), false);
+                if (account_info.display_name == _("Inbox"))
+                    expand_row (store.get_path (account_iter), false);
             }
             catch (GLib.Error error) {
                 GLib.critical (_("Failed to read folder \"%s\": %s"),
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to