changeset 453:493972205fac

removed duplicate AttachFile entry in actions menu imported from: moin--main--1.5--patch-457
author Thomas Waldmann <tw@waldmann-edv.de>
date Tue, 21 Feb 2006 21:41:21 +0000
parents 738fdb628b4e
children e099072bba24
files ChangeLog MoinMoin/theme/__init__.py docs/CHANGES
diffstat 3 files changed, 19 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 20 09:29:22 2006 +0000
+++ b/ChangeLog	Tue Feb 21 21:41:21 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-02-21 22:41:21 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-457
+
+    Summary:
+      removed duplicate AttachFile entry in actions menu
+    Revision:
+      moin--main--1.5--patch-457
+
+    removed duplicate AttachFile entry in actions menu
+    
+
+    modified files:
+     ChangeLog MoinMoin/theme/__init__.py docs/CHANGES
+
+
 2006-02-20 10:29:22 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-456
 
     Summary:
--- a/MoinMoin/theme/__init__.py	Mon Feb 20 09:29:22 2006 +0000
+++ b/MoinMoin/theme/__init__.py	Tue Feb 21 21:41:21 2006 +0000
@@ -945,8 +945,9 @@
 
             options.append(option % data)
 
-        # Add custom actions not in the standard menu
-        more = [item for item in available if not item in titles]
+        # Add custom actions not in the standard menu, except for
+        # some actions like AttachFile (we have them on top level)
+        more = [item for item in available if not item in titles and not item in ('AttachFile',)]
         more.sort()
         if more:
             # Add separator
--- a/docs/CHANGES	Mon Feb 20 09:29:22 2006 +0000
+++ b/docs/CHANGES	Tue Feb 21 21:41:21 2006 +0000
@@ -65,6 +65,8 @@
     * Fixed a TypeError which occurred for formatters that dislike None values.
       (cf. http://moinmoin.wikiwikiweb.de/MoinMoinBugs/PythonErrorEditingFrontPage)
     * fixed converter error for https:... image urls
+    * ThemeBase (use by modern/rightsidebar): removed duplicate AttachFile from
+      actions menu (we already have it in editbar)
 
 Version 1.5.2: