[Xfce4-commits] <postler:master> Use DBus client from Bureau to receive mail

Christian Dywan noreply at xfce.org
Fri Dec 10 20:50:02 CET 2010


Updating branch refs/heads/master
         to 336a72f2e3e03f06d0308d18766f1b24068c432f (commit)
       from b887d990ee86bc33df1d83acaed1d38952e0149f (commit)

commit 336a72f2e3e03f06d0308d18766f1b24068c432f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Dec 10 00:11:42 2010 +0100

    Use DBus client from Bureau to receive mail

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

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index ec2c561..397d480 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -11,6 +11,7 @@
 
 public class Postler.Bureau : Gtk.Window {
     Accounts accounts = new Accounts ();
+    Postler.Client client = new Postler.Client ();
 
     Gtk.UIManager ui;
     Gtk.ActionGroup actions;
@@ -92,13 +93,13 @@ public class Postler.Bureau : Gtk.Window {
     """;
 
     private bool new_message_timer () {
-        accounts.receive ();
+        client.receive_mail ();
         folders.display_notify = true;
         return true;
     }
 
     void action_mail_receive () {
-        accounts.receive ();
+        client.receive_mail ();
         folders.display_notify = true;
     }
 



More information about the Xfce4-commits mailing list