Announcement

Collapse
No announcement yet.

Smooth Tasks plasma-widget modification

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Smooth Tasks plasma-widget modification

    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)
    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();
    (basically just add the six lines, build and install, and restart plasma)

    #2
    Re: Smooth Tasks plasma-widget modification

    does this fix it breaking on kdesc 4.4 ?
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      Re: Smooth Tasks plasma-widget modification

      Originally posted by sithlord48
      does this fix it breaking on kdesc 4.4 ?
      Nope. To use smooth-tasks in SC 4.4, you just need to rebuild it against the new SC 4.4 libraries.

      Comment


        #4
        Re: Smooth Tasks plasma-widget modification

        Official package

        > [ubuntu/lucid] plasma-widget-smooth-tasks 0.0~wip20091206-0ubuntu1 (Accepted)
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment

        Working...
        X