Re: [evolution-patches] Patch to add open menu to right click popup for attachment(s) in meetings.



On Fri, 2005-07-29 at 09:00 +0530, viren wrote:
> +       { E_POPUP_ITEM, "10.attach", N_("_Open"), cab_open, NULL,
> GTK_STOCK_OPEN, E_CAL_POPUP_ATTACHMENTS_ONE},
> +       { E_POPUP_ITEM, "20.attach", N_("_Remove"), cab_remove, NULL,
> GTK_STOCK_REMOVE, E_CAL_POPUP_ATTACHMENTS_MANY |
> E_CAL_POPUP_MODIFY_ATTACHMENTS },
> +       { E_POPUP_ITEM, "30.attach", N_("_Properties"),
> cab_properties, NULL, GTK_STOCK_PROPERTIES,
> E_CAL_POPUP_ATTACHMENTS_ONE },
> +       { E_POPUP_BAR, "40.attach.00", NULL, NULL, NULL, NULL,
> E_CAL_POPUP_ATTACHMENTS_MANY|E_CAL_POPUP_ATTACHMENTS_ONE },
> +       { E_POPUP_ITEM, "40.attach.01", N_("_Add attachment..."),
> cab_add, NULL, GTK_STOCK_ADD, 0, E_CAL_POPUP_MODIFY_ATTACHMENTS},
>  }; 
Just one thing in the attachments part. Just dont popup when there are
no entries. It doesnt make sense to pop a one item menu, which is
disabled. Apart from this the attachments code looked fine.

-Srini




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]