lpiepiora/docky-thunderbird — Issue #10: Making it work with the KDE icon-only task manager
Author: vanoudt
Created: 2012-03-09 04:51:04+00:00
State: open

The icon only task manager supports both the DockManager and Unity api. Docky-thunderbird works well under KDE when one minor modification is made. Simply replace everything following the ###### above the try-except block with:

class KDEDBus(DockyDBus):
def __init__(self):
DockyDBus.__init__(self, 'net.launchpad.DockManager', '/net/launchpad/DockManager', 'net.launchpad.DockManager', 'net.launchpad.DockItem');

######
######
######
try:
KDEDBus().update();
except BaseException as e:
print "Couldn't connect to KDE Dockmanager - falling back to Docky. Reason: ", e
#Fallback to Docky - someone's not using KDE :-(
try:
DockyDBus().update()
except BaseException as e:
print "Couldn't connect to docky - using fallback to v2.1.x. Reason: ", e
#Fallback to 21
try:
DockyDBus21().update()
except BaseException as e:
print "Couldn't connect to docky - using fallback to 2.0.x. Reason: ", e
#Fallback to old docky
DockyDBus20().update()