[Panel-devel] [PATCH] tooltips + taskbar thumbnails
Jason Stubbs
jasonbstubbs at gmail.com
Sat Dec 29 03:16:52 CET 2007
On Friday 28 December 2007 12:38:27 JST Aaron J. Seigo wrote:
> On Thursday 27 December 2007, Jason Stubbs wrote:
> > There's also the issue of object ownership. TaskRMBMenu is essentially
> > designed to be a throw away menu but contextActions is designed so that
> > actions are owned and managed by the applet. With a lot of refactoring
> > TaskRMBMenu could be made to fit into that, but I figure that this issue
> > is bound to crop up again.
>
> Task[LR]MBMenu should probably just be turned into a collection of QActions
> that can then be used by whatever is consuming them.
Hmm... After taking a closer look, I can't see how to do this without
permanently allocating the QActions. At best, the QActions could be allocated
the first time a context menu is shown. I'm also not sure what should be done
with the QActions of a menu that represents multiple tasks. A throw away menu
is much easier...
--
Jason Stubbs
More information about the Panel-devel
mailing list