-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olivier Blin wrote:


> A tray applet that notifies update would be a good feature, and not
> very hard to do. This applet just have to change its color if a media
> has been updated, and perhaps have a dropdown list to see which medias
> have been updated. A click on the media name could download do a
> urpmi.update and then ask the user if he wants to upgrade his
> packages.

All that it needs to do is run MandrakeUpdate, or if the user just wants
to see what has happened, diff the current descriptions file (or some
other convenient file maintained by urpmi) against the one on the
server, and show what has been added.

> But how could this applet know if the user has access to Internet ?
> Should it care about that ?

It should not care about anything but whether the file
(description/list/synthesis.hdlist etc etc) for the source configured in
urpmi as an update source has been updated. This will change it's
colour. The user should then click on it, it should get the updated
decriptions file, and show what has changed, with a button "Run updates
now" which launches MandrakeUpdate after the user enters the root password.

Remember that most of the time it should be running as a normal user,
and thus should not run 'urpmi.update' or anything else that requires
elevated priveleges.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/FZthrJK6UGDSBKcRAkraAJ9UNgGzUjUbtKWg+79U+sv9EFMYewCgnrz7
wQXBX+UYS172hrspBD5/fy4=
=DwEp
-----END PGP SIGNATURE-----

******************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
******************************************************************

Reply via email to