Generate DBusMenu Interface for libdbusmenuqt
ClosedPublic

Authored by davidedmundson on Jan 17 2017, 2:38 PM.

Details

Summary

This not only makes the code cleaner but more importantly avoids plasma
making a blocking DBus call to a client in the QDBusInterface constructor
which does a blocking call to Introspect

Test Plan

Ran my test app with the dynamic menu. Everything was still fine

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson retitled this revision from to Generate DBusMenu Interface for libdbusmenuqt.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 17 2017, 2:38 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol accepted this revision.Jan 17 2017, 2:40 PM
apol added a reviewer: apol.
This revision is now accepted and ready to land.Jan 17 2017, 2:40 PM

Doesn't compile:

make[2]: *** No rule to make target: "../libdbusmenuqt/com.canonical.dbusmenu.xml", needed by "libdbusmenuqt/dbusmenu_interface.cpp"
davidedmundson edited edge metadata.

Add .xml file

This revision was automatically updated to reflect the committed changes.