[packagekit] Feeding messages to user while installing packages

Richard Hughes hughsient at gmail.com
Mon Jan 31 00:07:43 PST 2011


On 30 January 2011 15:57, Fabio Erculiani <lxnay at sabayon.org> wrote:
> On Sun, Jan 30, 2011 at 4:04 PM, Anders F Björklund <afb at algonet.se> wrote:
>> If they are interactive, you could do it the same way as debconf does...
>
> As written above, they're not interactive but should be displayed to
> user while installing or just right after.
> These messages usually contain useful information that user should
> get, example (ignore the einfo part):

You can use Message() to tell the frontend client to show the user a
dialog box of a certain type. By giving the message an enumerated type
the frontend can choose to ignore some message types and show others.

I think it makes no sense whatsoever to just show the user a *generic*
untranslated "read this" dialog box after updating packages.

Richard.



More information about the PackageKit mailing list