[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/libs/taskmanager
From: Anton Kreuzkamp <akreuzkamp () web ! de>
Date: 2010-12-09 20:14:33
Message-ID: 20101209201433.282A7AC8A5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1204950 by akreuzkamp:
CCMAIL:chanika@gmail.com The updateLauncher() method didn't recurse subgroups and so \
caused some issues when using launchers together with task grouping. Fixed by \
changing the method used for looking for tasks in the rootgroups.
M +2 -2 groupmanager.cpp
--- trunk/KDE/kdebase/workspace/libs/taskmanager/groupmanager.cpp #1204949:1204950
@@ -654,9 +654,9 @@
} else {
name = item->name().toLower();
}
- if (d->currentRootGroup()->members().contains(item) && \
d->launcherAssociations.contains(name) && \
!d->launcherAssociations.values(name).contains(item) ) { //Item was just created and \
has set a launcher + if (d->currentRootGroup()->hasMember(item) && \
d->launcherAssociations.contains(name) && \
!d->launcherAssociations.values(name).contains(item) ) { //Item was just created and \
has set a launcher d->launcherAssociations.insertMulti(name, item);
- } else if (!d->currentRootGroup()->members().contains(item) && \
!d->launcherAssociations.key(item).isEmpty()) { //Item was just removed and has set a \
launcher + } else if (!d->currentRootGroup()->hasMember(item) && \
!d->launcherAssociations.key(item).isEmpty()) { //Item was just removed and has set a \
launcher
if (name.isEmpty()) { // Happens if the window has already been removed
name = d->launcherAssociations.key(item);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic