Le mardi 23 novembre 2010 à 19:48 +0100, Julian Andres Klode a écrit :
> I guess the following patch should work.
> 
> === modified file 'src/update.c'
> --- src/update.c      2010-11-22 18:52:24 +0000
> +++ src/update.c      2010-11-23 18:35:40 +0000
> @@ -639,8 +639,12 @@ update_check (TrayApplet *ta)
>  
>     // only admins are interested in available updates, for others we just
>     // display when an update is in progress to inform them about it.
> -   if (!in_admin_group())
> +   if (!in_admin_group()) {
> +      // we really do not want to show them available updates (Debian 
> #604694)
> +      if(gtk_status_icon_get_visible (ta->tray_icon))
> +         gtk_status_icon_set_visible (ta->tray_icon, FALSE)
>        return TRUE;
> +   }

I confirm that (apart from the missing column), it fixes the bug.

> > On a side note: when a reboot is needed, n00b doesn’t get the reboot
> > proposal. I don’t know whether it is intentional. I think it should see
> > that icon, since if he’s the one using the machine at that moment, he
> > should be the one rebooting it too.
> I don't know why this happens (it's a separate icon from the update
> icon, so not related to it).

This seems to be fixed together with the same patch. Not sure why.

Thanks,
-- 
 .''`.
: :' :     “You would need to ask a lawyer if you don't know
`. `'       that a handshake of course makes a valid contract.”
  `-        --  J???rg Schilling




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to