EDIT: the newest versions of the widget have middle-click functionality built in, so these changes are redundant.
I'm a big fan of smooth tasks widget (to replace the default task manager), nice configurabilty, nice features etc.
http://www.kde-look.org/content/show...content=101586
Also available as a built PPA package for kubuntu karmic in rog131's ppa repository:
https://launchpad.net/~samrog131/+archive/ppa
I made a small change in the sources to enable middle-click closing of task items (similar to closing tabs in many browsers), I'll post the changes here if someone's interested (you obviously need to build from the sources if you want it):
Just a few lines added to TaskItem.cpp (diff follows)
(basically just add the six lines, build and install, and restart plasma)
I'm a big fan of smooth tasks widget (to replace the default task manager), nice configurabilty, nice features etc.
http://www.kde-look.org/content/show...content=101586
Also available as a built PPA package for kubuntu karmic in rog131's ppa repository:
https://launchpad.net/~samrog131/+archive/ppa
I made a small change in the sources to enable middle-click closing of task items (similar to closing tabs in many browsers), I'll post the changes here if someone's interested (you obviously need to build from the sources if you want it):
Just a few lines added to TaskItem.cpp (diff follows)
TaskItem.cpp
437,438c437,444
< if (event->button() == Qt::LeftButton) {
< m_applet->toolTip()->hide();
---
> if (event->button() == Qt::MidButton) {
> if (m_task->type()==Task::TaskItem) {
> m_task->task()->close();
> } else if (m_task->type()==Task::GroupItem) {
> m_task->group()->close();
> }
> } else if (event->button() == Qt::LeftButton) {
> m_applet->toolTip()->hide();
437,438c437,444
< if (event->button() == Qt::LeftButton) {
< m_applet->toolTip()->hide();
---
> if (event->button() == Qt::MidButton) {
> if (m_task->type()==Task::TaskItem) {
> m_task->task()->close();
> } else if (m_task->type()==Task::GroupItem) {
> m_task->group()->close();
> }
> } else if (event->button() == Qt::LeftButton) {
> m_applet->toolTip()->hide();
Comment