changeset 1823:2709cf88f055

classic theme: do not call split_title for action names
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Feb 2007 18:53:53 +0100
parents e2be013c7204
children 45b228d4e550
files MoinMoin/theme/classic.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/classic.py	Sun Feb 25 18:43:17 2007 +0100
+++ b/MoinMoin/theme/classic.py	Sun Feb 25 18:53:53 2007 +0100
@@ -190,8 +190,9 @@
             available.sort()
             for action in available:
                 # Always add spaces: AttachFile -> Attach File 
-                # XXX TODO do not make a page object just for split_title
-                title = Page(request, action).split_title(force=1)
+                # XXX do not make a page object just for split_title
+                #title = Page(request, action).split_title(force=1)
+                title = action
                 # Use translated version if available
                 title = _(title, formatted=False)
                 querystr = {'action': action}