From 97e8e8346cb3463670cea51e88ef26bc186d811f Mon Sep 17 00:00:00 2001 From: facetoe Date: Sun, 11 Jan 2015 18:59:54 +0800 Subject: [PATCH] Added method to open users mailbox. --- i3pystatus/reddit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3pystatus/reddit.py b/i3pystatus/reddit.py index b5a0f73..f448ecd 100644 --- a/i3pystatus/reddit.py +++ b/i3pystatus/reddit.py @@ -62,7 +62,6 @@ class Reddit(IntervalModule): } on_leftclick = "open_permalink" - on_click = "open_link" _permalink = "" _url = "" @@ -136,6 +135,9 @@ class Reddit(IntervalModule): "color": color, } + def open_mail(self): + user_open('https://www.reddit.com/message/unread/') + def open_permalink(self): user_open(self._permalink)