[Xfce4-commits] <postler:master> Don't try to move messages in search accounts

Christian Dywan noreply at xfce.org
Sun Dec 26 04:50:03 CET 2010


Updating branch refs/heads/master
         to 9f3cc48abcbd4f0445e4b3b479100e6d370e4332 (commit)
       from 1a76355fdbb9c94b689ca15bca2b03bac92d8505 (commit)

commit 9f3cc48abcbd4f0445e4b3b479100e6d370e4332
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Dec 25 12:15:11 2010 +0100

    Don't try to move messages in search accounts

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

diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index c858d21..9089295 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -328,6 +328,8 @@ public class Postler.Folders : Gtk.TreeView {
         if (location != null) {
             messages.populate (location, account_info);
             messages.grab_focus ();
+            if (account_info.type == AccountType.SEARCH)
+                return;
             try {
                 var folder_dir = File.new_for_path (location + "/new");
                 var enumerator = folder_dir.enumerate_children (



More information about the Xfce4-commits mailing list