[Panel-devel] Combining startup notifications and tasks

Jason Stubbs jasonbstubbs at gmail.com
Wed Dec 19 13:24:35 CET 2007


Patches for the following wish that stops opening an application causing two 
animations.

http://bugs.kde.org/show_bug.cgi?id=153806

The first patch is mostly trivial but is for workspace/libs/taskmanager. This 
is only used by plasma as far as I can tell. That patch just adds the method 
bool Task::matchesStartup(Startup::StartupPtr) const.

The other patch adds WindowTaskItem::setStartupTask(Startup::StartupPtr), 
removes StartupTask altogether and uses the method added by the above patch 
to check whether a taskAdded() notification matches any of the existing 
startup items.

I think both are pretty straight forward.. Ok to commit?

By the way, the patches make http://bugs.kde.org/show_bug.cgi?id=154147 more 
pronounced but I'll be looking at that next. :)

-- 
Jason Stubbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taskmanager.patch
Type: text/x-diff
Size: 7155 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071219/e1a29f6e/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tasks-applet.patch
Type: text/x-diff
Size: 4902 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071219/e1a29f6e/attachment-0003.bin 


More information about the Panel-devel mailing list