-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103050/#review7963
-----------------------------------------------------------

Ship it!


Ship It!

- Aaron J. Seigo


On Nov. 4, 2011, 10:51 p.m., Craig Drummond wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103050/
> -----------------------------------------------------------
> 
> (Updated Nov. 4, 2011, 10:51 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> Pass GroupManager instance into shouldShow - as launcher may not always be in 
> a group.
> 
> When a launcher is activated, LauncherItem::associateItemIfMatches() emits 
> associateChanged() so that it gets hidden. This show() is connected to 
> GroupManagerPrivate::launcherVisibilityChange(), which in turn calls 
> "rootGroups[currentActivity][currentDesktop]->remove(launcher)" if launcher 
> should not be shown. So now, the launcher is removed from the root group - 
> hence is not in any group. Therefore, when 
> GroupManagerPrivate::currentActivityChanged() calls
> LauncherItem::shouldShow(), the launcher has no group - so cannot access 
> groupmanager.
> 
> 
> Diffs
> -----
> 
>   libs/taskmanager/groupmanager.cpp 15118f0 
>   libs/taskmanager/launcheritem.h df65d2f 
>   libs/taskmanager/launcheritem.cpp 4621860 
> 
> Diff: http://git.reviewboard.kde.org/r/103050/diff/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Craig Drummond
> 
>

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to