[Spambayes-checkins] spambayes/windows pop3proxy_tray.py,1.11,1.12
Tony Meyer
anadelonbrin at users.sourceforge.net
Fri Sep 19 18:48:31 EDT 2003
Update of /cvsroot/spambayes/spambayes/windows
In directory sc8-pr-cvs1:/tmp/cvs-serv3734/windows
Modified Files:
pop3proxy_tray.py
Log Message:
While explaining how to use the tray app to my fiance, I realised that the most common
operation is probably going to be reviewing messages, so add that as a menu item.
Index: pop3proxy_tray.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/windows/pop3proxy_tray.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pop3proxy_tray.py 15 Sep 2003 04:48:50 -0000 1.11
--- pop3proxy_tray.py 19 Sep 2003 22:48:29 -0000 1.12
***************
*** 115,122 ****
self.control_functions = {START_STOP_ID : ("Stop SpamBayes", self.StartStop),
1025 : ("-", None),
! 1026 : ("View information ...", self.OpenInterface),
! 1027 : ("Configure ...", self.OpenConfig),
! 1028 : ("Check for latest version", self.CheckVersion),
! 1029 : ("-", None),
1099 : ("Exit SpamBayes", self.OnExit),
}
--- 115,123 ----
self.control_functions = {START_STOP_ID : ("Stop SpamBayes", self.StartStop),
1025 : ("-", None),
! 1026 : ("Review messages ...", self.OpenReview),
! 1027 : ("View information ...", self.OpenInterface),
! 1028 : ("Configure ...", self.OpenConfig),
! 1029 : ("Check for latest version", self.CheckVersion),
! 1030 : ("-", None),
1099 : ("Exit SpamBayes", self.OnExit),
}
***************
*** 410,413 ****
--- 411,421 ----
if self.started:
webbrowser.open_new("http://localhost:%d/config" % \
+ (options["html_ui", "port"],))
+ else:
+ self.ShowMessage("SpamBayes is not running.")
+
+ def OpenReview(self):
+ if self.started:
+ webbrowser.open_new("http://localhost:%d/review" % \
(options["html_ui", "port"],))
else:
More information about the Spambayes-checkins
mailing list