diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/pk-faq.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/pk-faq.html b/docs/html/pk-faq.html index 314ba7588..4a6f7e0dd 100644 --- a/docs/html/pk-faq.html +++ b/docs/html/pk-faq.html @@ -354,8 +354,8 @@ except dbus.DBusException, e: sys.exit() try: proxy = bus.get_object('org.freedesktop.PackageKit', '/org/freedesktop/PackageKit') - iface = dbus.Interface(proxy, 'org.freedesktop.PackageKit') - iface.InstallPackageName('openoffice-clipart') + iface = dbus.Interface(proxy, 'org.freedesktop.PackageKit.Modify') + iface.InstallPackageNames(0, ["openoffice-clipart", "openoffice-clipart-extras"], "show-confirm-search,hide-finished") except dbus.DBusException, e: print 'Unable to use PackageKit: %s' % str(e) </pre> |