Merge lp://qastaging/~unity-team/libunity/launcher-api into lp://qastaging/libunity

Proposed by Mikkel Kamstrup Erlandsen
Status: Merged
Merged at revision: 22
Proposed branch: lp://qastaging/~unity-team/libunity/launcher-api
Merge into: lp://qastaging/libunity
Diff against target: 592 lines (+503/-6) (has conflicts)
9 files modified
configure.ac (+4/-3)
src/Makefile.am (+4/-1)
src/unity-inspector.vala (+121/-0)
src/unity-launcher.vala.OTHER (+267/-0)
src/unity-serializable.vala (+51/-0)
test/vala/Makefile.am (+2/-1)
test/vala/test-launcher.vala (+50/-0)
test/vala/test-vala.vala (+3/-0)
unity.pc.in (+1/-1)
Contents conflict in src/unity-launcher.vala
To merge this branch: bzr merge lp://qastaging/~unity-team/libunity/launcher-api
Reviewer Review Type Date Requested Status
Neil J. Patel (community) Approve
Review via email: mp+47677@code.qastaging.launchpad.net

Description of the change

This is the initial cut on the launcher API. It introduces three new public classes:

 Unity.LauncherEntry : a thin wrapper for some DBus logic that syncs the properties in a clever way to Unity. You can control count, progress, emblem, and quicklist.

 Unity.Inspector : a singleton "hub" for collecting metadata about the running, or not running, Unity process. In particular whether Unity is running or not.

 Unity.Serializable : An interface for objects that can be transformed into variants.

I need to add some more tests that assert that all the clever DBus caching and re-syncing works as it should (only manually verified at this point), but this will come in a different branch because it requires some fiddling to get right.

To post a comment you must log in.
Revision history for this message
Neil J. Patel (njpatel) wrote :

Looks sexy.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches