[Xfce4-commits] <postler:master> Don't try to populate local folders if not set
Christian Dywan
noreply at xfce.org
Fri Jan 7 10:14:01 CET 2011
Updating branch refs/heads/master
to 237e914fef8806febc0e4ebccabb627777840b7d (commit)
from 1459a2241c2f378e1ec3ea69b6ddf044f96e1e07 (commit)
commit 237e914fef8806febc0e4ebccabb627777840b7d
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Jan 7 10:13:36 2011 +0100
Don't try to populate local folders if not set
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 3068777..a841cae 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -97,7 +97,8 @@ public class Postler.Folders : Gtk.TreeView {
store.clear ();
var account_infos = accounts.get_infos ().copy ();
- account_infos.prepend (local_info);
+ if (local_info.path != null)
+ account_infos.prepend (local_info);
return populate_accounts (account_infos);
}
More information about the Xfce4-commits
mailing list