| Summary: |
Passing "never" to InstallCatalogs DBus method still lets one dialog show |
| Product: |
PackageKit
|
Reporter: |
David D Lowe <daviddlowe.flimm> |
| Component: |
General | Assignee: |
Richard Hughes <richard> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
medium
|
|
|
| Version: |
unspecified | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Running this Python code displays a confirmation dialog ("Install packages in catalogue?"), despite passing "never" to the DBus method. I expected the method to not show any dialogs, except perhaps an authorisation dialog. import dbus bus = dbus.SessionBus() proxy = bus.get_object("org.freedesktop.PackageKit", "/org/freedesktop/PackageKit") iface = dbus.Interface(proxy, "org.freedesktop.PackageKit.Modify") iface.InstallCatalogs(dbus.UInt32(0), [catalog_file], "never") I'm running Ubuntu 10.04 with these packages, installed through Ubuntu's repositories: packagekit: 0.5.7-0ubuntu2 packagekit-gnome: 2.29.2-0ubuntu1 I have created an appropriate .service file in /usr/share/dbus-1/services for org.freedesktop.PackageKit to avoid this bug: https://bugs.launchpad.net/ubuntu/+source/packagekit-gnome/+bug/617866 For discussion on why I might need this method to work correctly, see this mailing list thread: http://lists.freedesktop.org/archives/packagekit/2010-August/005822.html