Re: [evolution-patches] #55299: Can't change several attachment property in Mail
- From: Not Zed <notzed ximian com>
- To: Jeffrey Stedfast <fejj ximian com>
- Cc: bill zhu sun com, "evolution-patches ximian com" <evolution-patches ximian com>
- Subject: Re: [evolution-patches] #55299: Can't change several attachment property in Mail
- Date: Fri, 12 Mar 2004 11:19:38 +0800
> - (GtkWidget *)(menu_item->data)
>
> to be more consistant with the rest of the mailer code, just use:
> (GtkWidget *) menu_item->data
With or without the gratutous non-k&r waste of space :)
> - doing menu_item->data is just gross and is very likely to break if
> we ever decide to add a new menu item or change the order of the menu
> items later (which is possible). A better solution would involve
> either naming the menu items or having a table somewhere that defined
> the order of the menu items and using that table to get the proper
> one.
Or the esiest, it should just keep a reference to the item widget in its
private area.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]