[telepathy-butterfly/master] Made MailNotification properties public as they should

Nicolas Dufresne nicolas.dufresne at collabora.co.uk
Tue Jan 12 08:25:32 PST 2010


Signed-off-by: Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>
---
 butterfly/mail_notification.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/butterfly/mail_notification.py b/butterfly/mail_notification.py
index a53afe2..796bb82 100644
--- a/butterfly/mail_notification.py
+++ b/butterfly/mail_notification.py
@@ -62,18 +62,18 @@ class ButterflyMailNotification(
         papyon.event.MailboxEventInterface.__init__(self, self.msn_client)
 
         self._implement_property_get(CONN_IFACE_MAIL_NOTIFICATION,
-            {'Capabilities': lambda: self._capabilities,
-             'UnreadMailCount': lambda: self._unread_mail_count,})
+            {'Capabilities': lambda: self.capabilities,
+             'UnreadMailCount': lambda: self.unread_mail_count,})
 
 
     @property
-    def _capabilities(self):
+    def capabilities(self):
         return MAIL_NOTIFICATION_HAS_PROP_UNREADMAILCOUNT \
                 | MAIL_NOTIFICATION_HAS_SIGNAL_MAILSRECEIVED
 
 
     @property
-    def _unread_mail_count(self):
+    def unread_mail_count(self):
         return self.msn_client.mailbox.unread_mail_count
 
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list