[Xfce4-commits] <postler:master> Display error message when viewing empty account

Christian Dywan noreply at xfce.org
Fri Dec 31 00:52:03 CET 2010


Updating branch refs/heads/master
         to 8828bb6703e2c0a8a778726ae48841cab20454a7 (commit)
       from d909de51dd2ebc3d14f25a5f72d7fca720502874 (commit)

commit 8828bb6703e2c0a8a778726ae48841cab20454a7
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Dec 30 16:19:04 2010 +0100

    Display error message when viewing empty account

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

diff --git a/postler/postler-folders.vala b/postler/postler-folders.vala
index a6541f7..eb7c5d4 100644
--- a/postler/postler-folders.vala
+++ b/postler/postler-folders.vala
@@ -351,7 +351,10 @@ public class Postler.Folders : Gtk.TreeView {
             }
         }
         else
-            messages.clear ();
+            messages.display_error (_("No messages were fetched yet"),
+                _("Click Receive Mail in the toolbar.\n"
+                + "If it doesn't work, right-click the account name and\n"
+                + "select Account Properties to check the account details."));
     }
 
     void use_folder (Gtk.TreeIter iter, FolderType ftype) {



More information about the Xfce4-commits mailing list