Closed beroset closed 2 years ago
Done and tested.
Oh no, apologies 🙉 this PR somehow slipped through I totally forgot about it. Please don't hesitate to remind me if I forget a PR, luckily I just stumbled upon it by luck.
This actually looks great, thanks a lot for all the cleanups PRs, very appreciated!
This addresses issue #30 and removes the dependency on the obsolete dbus-glib library. Instead, it uses QDbus for somewhat smaller and cleaner code, but with one remaining issue, which is that the callback from the StepsUpdated signal from com.Meego.MainVolume2 service is never triggered. A workaround is to set the values explicitly within this code each time the volume is changed, but this does not allow the volume level display to be updated if it's done by some other application while the volume setting display is open.