SVN commit 769261 by sebsauer: pfff, it isn't that easy :-/ M +8 -1 tasks.cpp --- trunk/KDE/kdebase/workspace/plasma/applets/tasks/tasks.cpp #769260:769261 @@ -115,7 +115,14 @@ // provide to us. This allows us to e.g. display also the "Configure Panel" action // the panelcontainment does provide if we right-click on the task-applet that is // embedded within the panel. - return containment() ? containment()->contextActions() : QList(); + + //TODO we don't like to display e.g. the desktop's context-menu. This ugly hack + // does only show the context-actions if we are really inside a panel. + if (containment() && strcmp(containment()->metaObject()->className(),"Panel") == 0) { + return containment() ? containment()->contextActions() : QList(); + } + + return QList(); } void Tasks::registerStartingTasks()