Re: [evolution-patches] Patch for bug#208647 with attachment



This is extremely messy.  If you want to add another menu item, define
it separetely.

Apart from that, you can't base the vtrash test on the folder name.
Base it on the folder type from the folderinfo.


On Fri, 2005-08-05 at 19:30 +0530, Antony Vincent Pandian wrote:
>         
> -       for (i = 0; i < sizeof (emft_popup_items) / sizeof
> (emft_popup_items[0]); i++)
> -               menus = g_slist_prepend (menus, &emft_popup_items[i]);
> +       for (i = 0; i < sizeof (emft_popup_items) / sizeof
> (emft_popup_items[0]); i++){
> +       /* 6 is the position where empty trash menu item will be
> inserted */
> +               if (i != 6 ||  !g_strcasecmp (full_name,
> CAMEL_VTRASH_NAME))
> +                       menus = g_slist_prepend (menus,
> &emft_popup_items[i]);
> +       } 
-- 
adfa(evolution-2.4:20087): gtkhtml-WARNING **: cannot find icon:
'stock_insert-url' in gnome 




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