aarnt / octopi

A powerful Pacman (Package Manager) front end using Qt libs
https://tintaescura.com/projects/octopi
GNU General Public License v2.0
583 stars 83 forks source link

Update SysTray to StatusNotifierItem #43

Closed brcha closed 10 years ago

brcha commented 10 years ago

Hi,

I've made a patch to allow octopi-notifier to use StatusNotifierItem (the new protocol used by KDE 5 and Unity). It should work as a normal xembed systray item on the obsolete desktop environments, and works quite nicely on KDE5 (haven't tested it on Unity, nor on non-KDE5 systems).

Well, here's the patch (it is using KF5's knotifications library which is tier2, so it does pull a bit of KF5, but soon all KDE distros will have KDE5 as a standard, so that shouldn't be a problem).

brcha commented 10 years ago

It seams I can't attach .patch here... Pretty strange. Anyway, here's the patch:

https://www.dropbox.com/s/cosqk5b9qpxm8tm/kf5.patch

brcha commented 10 years ago

Btw, if somebody wants the patched package, he can get it at https://aur.archlinux.org/packages/octopi-notifier-foundations

aarnt commented 10 years ago

Thanks, brcha.