diff MoinMoin/PageGraphicalEditor.py @ 18:316340dd9a7f

remove subscribe icon in classic when no mail is enabled. fix check for sendmail. imported from: moin--main--1.5--patch-19
author Thomas Waldmann <tw@waldmann-edv.de>
date Fri, 23 Sep 2005 23:00:59 +0000
parents 77665d8e2254
children eb3b18ffb28b
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Fri Sep 23 22:44:37 2005 +0000
+++ b/MoinMoin/PageGraphicalEditor.py	Fri Sep 23 23:00:59 2005 +0000
@@ -320,7 +320,7 @@
         self.request.write(_('Add to: %(category)s') % {
             'category': unicode(util.web.makeSelection('category', cat_pages)),
         })
-        if self.cfg.mail_smarthost:
+        if self.cfg.mail_enabled:
             self.request.write('''
 &nbsp;
 <input type="checkbox" name="trivial" id="chktrivial" value="1" %(checked)s>