[Spambayes-checkins] spambayes/Outlook2000 addin.py, 1.86.2.2,
1.86.2.3
Adam Walker
xenogeist at users.sourceforge.net
Fri Aug 8 17:05:54 EDT 2003
Update of /cvsroot/spambayes/spambayes/Outlook2000
In directory sc8-pr-cvs1:/tmp/cvs-serv22560/Outlook2000
Modified Files:
Tag: outlook-dialog-branch
addin.py
Log Message:
Added website links to the help menu.
Index: addin.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v
retrieving revision 1.86.2.2
retrieving revision 1.86.2.3
diff -C2 -d -r1.86.2.2 -r1.86.2.3
*** addin.py 6 Aug 2003 02:15:53 -0000 1.86.2.2
--- addin.py 8 Aug 2003 23:05:52 -0000 1.86.2.3
***************
*** 415,418 ****
--- 415,427 ----
mgr.ShowHtml("about.html")
+ def ShowSpamBayesWebsite(mgr):
+ os.startfile("http://spambayes.sourceforge.net/")
+ def ShowFAQ(mgr):
+ os.startfile("http://spambayes.sourceforge.net/faq.html")
+ def ShowFAQ(mgr):
+ os.startfile("http://spambayes.sourceforge.net/faq.html")
+ def ShowBugTracker(mgr):
+ os.startfile("http://sourceforge.net/tracker/?group_id=61702&atid=498103")
+
def ShowTroubleshooting(mgr):
mgr.ShowHtml("docs/troubleshooting.html")
***************
*** 808,811 ****
--- 817,841 ----
Visible=True,
Tag = "SpamBayesCommand.Help.ShowTroubleshooting")
+ self._AddControl(helpPopup,
+ constants.msoControlButton,
+ ButtonEvent, (ShowSpamBayesWebsite, self.manager,),
+ Caption="SpamBayes Website",
+ Enabled=True,
+ Visible=True,
+ Tag = "SpamBayesCommand.Help.ShowSpamBayes Website")
+ self._AddControl(helpPopup,
+ constants.msoControlButton,
+ ButtonEvent, (ShowFAQ, self.manager,),
+ Caption="Frequently Asked Questions",
+ Enabled=True,
+ Visible=True,
+ Tag = "SpamBayesCommand.Help.ShowFAQ")
+ self._AddControl(helpPopup,
+ constants.msoControlButton,
+ ButtonEvent, (ShowBugTracker, self.manager,),
+ Caption="SpamBayes Bug Tracker",
+ Enabled=True,
+ Visible=True,
+ Tag = "SpamBayesCommand.Help.BugTacker")
# If we are running from Python sources, enable a few extra items
if not hasattr(sys, "frozen"):
More information about the Spambayes-checkins
mailing list