Review Request: Launchersupport in libtaskmanager - final implementation

Marco Martin notmart at gmail.com
Wed Nov 10 23:30:59 CET 2010



> On 2010-11-07 18:07:13, Aaron Seigo wrote:
> > trunk/KDE/kdebase/workspace/libs/taskmanager/taskactions.cpp, lines 305-312
> > <http://svn.reviewboard.kde.org/r/5785/diff/1/?file=40721#file40721line305>
> >
> >     why "Pin Task"? that doesn't really tell me what it does at all. what it really does is create a launcher for the item.
> >     
> >     this seems like a very odd place to put the feature. i'd actually expect the ability to add a launcher using drag and drop from, e.g. a launcher menu or even through a UI similar to the quicklaunch applet.
> 
> Anton Kreuzkamp wrote:
>     I couldn't find a good term for it, so I just used the term windows uses. (Yeah, I know shame on me for that)
>     I'm thankful for every idea for a good term.
>     
>     I've asked wether to make the configuration per contextmenu or per configuration UI in #plasma some time ago, and Marco told me to make it as contextmenu.
>     (Beside the fact that windows does it like this, but that's not a reason)

what about launcherFromTask() or createLauncherFromTask() ?
long but tells what it does..


> On 2010-11-07 18:07:13, Aaron Seigo wrote:
> > trunk/KDE/kdebase/workspace/libs/taskmanager/taskactions.cpp, line 316
> > <http://svn.reviewboard.kde.org/r/5785/diff/1/?file=40721#file40721line316>
> >
> >     the fact that his can fail hints that this is a feature in the wrong place.
> >     
> >     if it is decided that this context menu should be kept (and i'm not yet convinced it should be), it should _only_ be shown for entries for which a launcher can be created in the first place.
> 
> Anton Kreuzkamp wrote:
>     I thought of it but I didn't know how to check wether it is possible.
>     If you tell me how to do it, I will change it, of course.

when the task menu emits aboutToshow() you do the check with the sycoca query and add the entry if needed


- Marco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5785/#review8541
-----------------------------------------------------------


On 2010-11-09 20:17:52, Anton Kreuzkamp wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5785/
> -----------------------------------------------------------
> 
> (Updated 2010-11-09 20:17:52)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> This is the final implementation of the launchersupport for libtaskmanager. Many parts of the initial implementation has been changed but now everything works as it should.
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/abstractgroupableitem.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/abstractgroupableitem.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/abstractgroupingstrategy.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/abstractsortingstrategy.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/groupmanager.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/groupmanager.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/launcheritem.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/launcheritem.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/strategies/alphasortingstrategy.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/strategies/desktopsortingstrategy.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskactions.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskactions.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskactions_p.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskgroup.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskgroup.cpp 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskitem.h 1193833 
>   trunk/KDE/kdebase/workspace/libs/taskmanager/taskmanager.h 1193833 
> 
> Diff: http://svn.reviewboard.kde.org/r/5785/diff
> 
> 
> Testing
> -------
> 
> Tested and everything worked fine.
> 
> 
> Thanks,
> 
> Anton
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20101110/358497ac/attachment-0001.htm 


More information about the Plasma-devel mailing list