[Goodies-dev] [Bug 3437] New: Allow on-click action on the displayed text

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Aug 5 20:35:47 CEST 2007


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3437

           Summary: Allow on-click action on the displayed text
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Medium
         Component: genmon
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: dieter at plaetinck.be


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5)
Gecko/20070728 Firefox/2.0.0.5
Build Identifier: 

Hi, for now the <click> action gets bound to the <img>.  It seems that if your
script doesn't use an icon you cannot use the on-click action.
I propose a new syntax that makes use of nesting.
So instead of:
echo "<txt>blah</txt><img>icon.png</img><click>click action</click>"
We would put the <click> element *inside* another element, like this:
echo
"<txt>blah<click>action1</click></txt><img>icon.png<click>action2</click></img>"

This would then assign the action1 to the text, and action2 to the image, so
you have much more control :-)

We could even do the same for the tooltip ... I think this would rock :-)

Reproducible: Always

Steps to Reproduce:


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Goodies-dev mailing list