PUCE_UP make me thing it will fold something on click, use PUCE_DOWN instead (as for actions box menus) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 13 Nov 2009 14:14:48 +0100
branchstable
changeset 3842 66f3ed1703d0
parent 3841 b2598c9eeffc
child 3843 200719b9221f
PUCE_UP make me thing it will fold something on click, use PUCE_DOWN instead (as for actions box menus)
web/data/external_resources
web/views/tableview.py
--- a/web/data/external_resources	Fri Nov 13 11:16:39 2009 +0100
+++ b/web/data/external_resources	Fri Nov 13 14:14:48 2009 +0100
@@ -39,6 +39,7 @@
 #FCKEDITOR_PATH = /usr/share/fckeditor/
 
 PUCE_UP = DATADIR/puce_up.png
+PUCE_DOWN = DATADIR/puce_down.png
 
 # icons for entity types
 BOOKMARK_ICON = DATADIR/icon_bookmark.gif
--- a/web/views/tableview.py	Fri Nov 13 11:16:39 2009 +0100
+++ b/web/views/tableview.py	Fri Nov 13 14:14:48 2009 +0100
@@ -181,7 +181,7 @@
 
     def render_actions(self, divid, actions):
         box = MenuWidget('', 'tableActionsBox', _class='', islist=False)
-        label = tags.img(src=self.req.external_resource('PUCE_UP'),
+        label = tags.img(src=self.req.external_resource('PUCE_DOWN'),
                          alt=xml_escape(self.req._('action(s) on this selection')))
         menu = PopupBoxMenu(label, isitem=False, link_class='actionsBox',
                             ident='%sActions' % divid)