Updating branch refs/heads/master
         to b5a319e77a4932715d012843aa1abda329f40a97 (commit)
       from f441823f9b9d8562977cd2e949e3942acb22b143 (commit)

commit b5a319e77a4932715d012843aa1abda329f40a97
Author: Christian Dywan <[email protected]>
Date:   Sun Feb 13 15:17:55 2011 +0100

    Render a friendly login error message

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

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 3940a24..db513c1 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -484,6 +484,8 @@ public class Postler.Bureau : Gtk.Window {
                 GLib.critical (_("Account \"%s\" doesn't exist"), account);
             });
         }
+        else if ("NO Login failed" in error_message)
+            show_fetch_error_infobar (account, _("Wrong username or 
password."));
         else if ("UIDVALIDITY of slave changed" in error_message) {
             var infobar = show_fetch_error_infobar (account, error_message);
             infobar.set_message_type (Gtk.MessageType.WARNING);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to