[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [Panel-devel] [PATCH] tooltips + taskbar thumbnails
From:       Jason Stubbs <jasonbstubbs () gmail ! com>
Date:       2007-12-29 2:16:52
Message-ID: 200712291116.53024.jasonbstubbs () gmail ! com
[Download RAW message or body]

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
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic