[packagekit] Anjuta and PackageKit

Richard Hughes hughsient at gmail.com
Thu Oct 30 02:19:10 PDT 2008


On Thu, 2008-10-30 at 00:41 +0530, Debarshi Ray wrote:
> > We can change or add to the session interface if for instance you want
> > to install more than one package at a time.
> 
> Why does gpk_dbus_install_package_name in gpk-dbus.c have:
> package_names = g_strsplit (package_name, "|", 1);

Ohh, convenience function to turn a char* into a char**.

> What if we used 0 instead of 1 as the third argument so that one is
> able to install more than one package at a time?

Ideally I could create a InstallPackageNames function that takes a
proper string array and not have to worry about delimiters. For now, if
you want to change it to 0 that's fine.

Richard.





More information about the PackageKit mailing list