[Users] [PATCH 3/4] plugins/notification: Update more tray's items sensitivity

wwp subscript at free.fr
Wed Jan 18 13:51:36 CET 2017


Hello Olivier,


On Sun, 15 Jan 2017 19:14:20 +0100 Olivier Brunel <jjk at jjacky.com> wrote:

> Only the "Get Mail" menu item of the tray's popup was disabled when
> Claws is locked, but the per-account get mail & Exit also should be.
> 
> Signed-off-by: Olivier Brunel <jjk at jjacky.com>
> ---
>  src/plugins/notification/notification_trayicon.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/plugins/notification/notification_trayicon.c b/src/plugins/notification/notification_trayicon.c
> index 720183722..fff19e72d 100644
> --- a/src/plugins/notification/notification_trayicon.c
> +++ b/src/plugins/notification/notification_trayicon.c
> @@ -469,6 +469,8 @@ static void notification_trayicon_on_popup_menu(GtkStatusIcon *status_icon,
>  	cm_toggle_menu_set_active("SysTrayiconPopup/ShowBubbles", notify_config.trayicon_popup_enabled);
>  #endif
>  	cm_menu_set_sensitive("SysTrayiconPopup/GetMail", mainwin->lock_count == 0);
> +	cm_menu_set_sensitive("SysTrayiconPopup/GetMailAcc", mainwin->lock_count == 0);
> +	cm_menu_set_sensitive("SysTrayiconPopup/Exit", mainwin->lock_count == 0);
>  
>    updating_menu = FALSE;

And yes to that one too, my mistake when I added GetMailAcc.


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20170118/7eda671b/attachment.sig>


More information about the Users mailing list