Autopilot to support applications from more than one session bus
Bug #1174425 reported by
Thomi Richards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
High
|
Unassigned | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Need to support application proxy objects that back on to more than one (different) session bus:
Add a new method, something like:
get_proxy_
Store dbus address as a class attr in DBusIntrospecti
Change get_session_bus method to take a dbus address (if available, otherwise default).
Change object registry to use dbus backend as well as class name as the key, so we don't need to clear the object registry every time we start a new application.
Related branches
lp:~thomir-deactivatedaccount/autopilot/dbus-address-changes
- PS Jenkins bot: Approve (continuous-integration)
- Christopher Lee (community): Approve
-
Diff: 427 lines (+205/-62)5 files modifiedautopilot/introspection/__init__.py (+24/-23)
autopilot/introspection/backends.py (+118/-0)
autopilot/introspection/dbus.py (+10/-34)
autopilot/introspection/qt.py (+1/-5)
autopilot/tests/test_backend.py (+52/-0)
Changed in autopilot: | |
status: | Triaged → In Progress |
Changed in autopilot: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:autopilot at revision 180, scheduled for release in autopilot, milestone 1.3