diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-02 06:03:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-02 06:03:53 +0800 |
commit | 52e6689e5eba24944cc8c565f369780c27ee1984 (patch) | |
tree | 2dcab027e83b346482e9853541fd89a4a16e8c0d /mail | |
parent | a37157808d52f4e2cf12db792f0ad3105c02d507 (diff) | |
download | gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.tar gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.tar.gz gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.tar.bz2 gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.tar.lz gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.tar.xz gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.tar.zst gsoc2013-evolution-52e6689e5eba24944cc8c565f369780c27ee1984.zip |
Fix the filter_menu static array to use the E_POPUP_MENU_CC macros since
2002-05-01 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (on_right_click): Fix the filter_menu static
array to use the E_POPUP_MENU_CC macros since we plan on using
custom closures for this.
svn path=/trunk/; revision=16656
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/folder-browser.c | 19 |
2 files changed, 16 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a87563af79..b00d2124ca 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2002-05-01 Jeffrey Stedfast <fejj@ximian.com> + + * folder-browser.c (on_right_click): Fix the filter_menu static + array to use the E_POPUP_MENU_CC macros since we plan on using + custom closures for this. + 2002-05-01 Not Zed <NotZed@Ximian.com> * folder-browser.h (FOLDER_BROWSER_IS_DESTROYED): Also check diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 539c18dd49..b01f4179dd 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1577,17 +1577,17 @@ enum { #define MLIST_FILTER (8) static EPopupMenu filter_menu[] = { - E_POPUP_ITEM (N_("VFolder on _Subject"), GTK_SIGNAL_FUNC (vfolder_subject_uid), SELECTION_SET), - E_POPUP_ITEM (N_("VFolder on Se_nder"), GTK_SIGNAL_FUNC (vfolder_sender_uid), SELECTION_SET), - E_POPUP_ITEM (N_("VFolder on _Recipients"), GTK_SIGNAL_FUNC (vfolder_recipient_uid), SELECTION_SET), - E_POPUP_ITEM (N_("VFolder on Mailing _List"), GTK_SIGNAL_FUNC (vfolder_mlist_uid), SELECTION_SET | IS_MAILING_LIST), + E_POPUP_ITEM_CC (N_("VFolder on _Subject"), GTK_SIGNAL_FUNC (vfolder_subject_uid), NULL, SELECTION_SET), + E_POPUP_ITEM_CC (N_("VFolder on Se_nder"), GTK_SIGNAL_FUNC (vfolder_sender_uid), NULL, SELECTION_SET), + E_POPUP_ITEM_CC (N_("VFolder on _Recipients"), GTK_SIGNAL_FUNC (vfolder_recipient_uid), NULL, SELECTION_SET), + E_POPUP_ITEM_CC (N_("VFolder on Mailing _List"), GTK_SIGNAL_FUNC (vfolder_mlist_uid), NULL, SELECTION_SET | IS_MAILING_LIST), E_POPUP_SEPARATOR, - E_POPUP_ITEM (N_("Filter on Sub_ject"), GTK_SIGNAL_FUNC (filter_subject_uid), SELECTION_SET), - E_POPUP_ITEM (N_("Filter on Sen_der"), GTK_SIGNAL_FUNC (filter_sender_uid), SELECTION_SET), - E_POPUP_ITEM (N_("Filter on Re_cipients"), GTK_SIGNAL_FUNC (filter_recipient_uid), SELECTION_SET), - E_POPUP_ITEM (N_("Filter on _Mailing List"), GTK_SIGNAL_FUNC (filter_mlist_uid), SELECTION_SET | IS_MAILING_LIST), + E_POPUP_ITEM_CC (N_("Filter on Sub_ject"), GTK_SIGNAL_FUNC (filter_subject_uid), NULL, SELECTION_SET), + E_POPUP_ITEM_CC (N_("Filter on Sen_der"), GTK_SIGNAL_FUNC (filter_sender_uid), NULL, SELECTION_SET), + E_POPUP_ITEM_CC (N_("Filter on Re_cipients"), GTK_SIGNAL_FUNC (filter_recipient_uid), NULL, SELECTION_SET), + E_POPUP_ITEM_CC (N_("Filter on _Mailing List"), GTK_SIGNAL_FUNC (filter_mlist_uid), NULL, SELECTION_SET | IS_MAILING_LIST), E_POPUP_TERMINATOR }; @@ -1981,7 +1981,8 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event closures, (GtkDestroyNotify) colour_closures_free); if (fdata) - gtk_object_set_data_full(GTK_OBJECT(menu), "filter_data", fdata, (GtkDestroyNotify)filter_data_free); + gtk_object_set_data_full (GTK_OBJECT (menu), "filter_data", + fdata, (GtkDestroyNotify) filter_data_free); if (event->type == GDK_KEY_PRESS) { struct cmpf_data closure; |