[Products.Silva][Sylvain Viollon] Update cancel button.
[email protected] Fri, 25 Oct 2013 18:18:07 +0200
| Newsgroups | gmane.comp.web.zope.silva.cvs |
|---|---|
| Message-ID | <[email protected]> |
author: Sylvain Viollon
date: Fri Oct 25 18:18:05 2013 +0200
revision: 11872:bb3441ac7b08 in Products.Silva
branch: 2.4
details: https://hg.infrae.com/Products.Silva?cmd=changeset;node=bb3441ac7b08
modified: Products/Silva/EmailMessageService.py Products/Silva/File/service.py
added:
removed:
log: Update cancel button.
diffstat:
Products/Silva/EmailMessageService.py | 2 +-
Products/Silva/File/service.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 1a101f8af2f8 -r bb3441ac7b08 Products/Silva/EmailMessageService.py
--- a/Products/Silva/EmailMessageService.py Fri Oct 25 15:58:28 2013 +0200
+++ b/Products/Silva/EmailMessageService.py Fri Oct 25 18:18:05 2013 +0200
@@ -312,5 +312,5 @@
u"The default MailHost service is used to send messages.")
fields = silvaforms.Fields(IEmailMessageSettings)
actions = silvaforms.Actions(
- silvaforms.CancelAction(),
+ silvaforms.CancelConfigurationAction(),
silvaforms.EditAction())
diff -r 1a101f8af2f8 -r bb3441ac7b08 Products/Silva/File/service.py
--- a/Products/Silva/File/service.py Fri Oct 25 15:58:28 2013 +0200
+++ b/Products/Silva/File/service.py Fri Oct 25 18:18:05 2013 +0200
@@ -123,7 +123,7 @@
label = _(u"Select storage")
fields = silvaforms.Fields(IFilesService)
actions = silvaforms.Actions(
- silvaforms.CancelAction(),
+ silvaforms.CancelConfigurationAction(),
silvaforms.EditAction())
ignoreContent = False
@@ -158,7 +158,7 @@
label = _(u"Convert stored files")
description = _(u"Convert all currently stored file to "
u"the current set storage.")
- actions = silvaforms.Actions(silvaforms.CancelAction())
+ actions = silvaforms.Actions(silvaforms.CancelConfigurationAction())
def available(self):
if self.context.storage is None: