Right click menu for indicator-applet and more!
Ted Gould
ted at ubuntu.com
Fri Mar 5 17:47:36 UTC 2010
On Fri, 2010-03-05 at 09:39 -0800, Dylan McCall wrote:
> In my fix, I still have indicator-applet specifically only react to a
> button 1 press, but it returns True instead of False so nothing else
> will touch the button press event either. I did this because, while it
> acting just like a normal menu would be beautiful (and a direction to
> pursue when we do something about gnome-panel), it would be inconsistent
> with all the other applets. The trained behaviour could cause the same
> problem I describe here except for other applets instead, where users
> may expect a right click to open the main menu as normal.
>
> This is sort of a compromise. The user won't get the misleading menu,
> the indicator icon only seems to hold a single menu, but he must left
> click all the time. As for the applet menu, that goes on the applet's
> handle bar. (And only there).
That's how the applet was originally when it shipped in (was it Jaunty
or Karmic, getting old...) and it was generally disliked. One of the
main reasons was that there was no way to move or remove the applet.
So, adding the right click menu was a compromise for dealing with the
idiosyncrasies of gnome-panel. While I could never understand someone
who wants to remove it from their panel, apparently there are those
people who exist ;)
--Ted
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20100305/0257d1ea/attachment.sig>
More information about the Ubuntu-devel-discuss
mailing list