Nicify a little, add in a menu separator between VFolder and Filter stuff.

2000-08-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* message-list.c (on_right_click): Nicify a little, add in a menu
	separator between VFolder and Filter stuff.

svn path=/trunk/; revision=4657
This commit is contained in:
Jeffrey Stedfast
2000-08-09 19:33:18 +00:00
committed by Jeffrey Stedfast
parent 5d297a7ac9
commit 4bbaf023cb
3 changed files with 25 additions and 20 deletions

View File

@ -1,5 +1,8 @@
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* message-list.c (on_right_click): Nicify a little, add in a menu
separator between VFolder and Filter stuff
* mail-ops.c (real_view_msg): Set the UID of the message that is
being displayed

View File

@ -2,8 +2,9 @@
/* mail-ops.c: callbacks for the mail toolbar/menus */
/*
* Author :
* Dan Winship <danw@helixcode.com>
* Authors: Dan Winship <danw@helixcode.com>
* Jeffrey Stedfast <fejj@helixcode.com>
* Peter Williams <peterw@helixcode.com>
*
* Copyright 2000 Helix Code, Inc. (http://www.helixcode.com)
*

View File

@ -1027,24 +1027,25 @@ on_right_click (ETableScrolled *table, gint row, gint col, GdkEvent *event, Mess
extern CamelFolder *drafts_folder;
int enable_mask = 0;
EPopupMenu menu[] = {
{ "Open in New Window", NULL, GTK_SIGNAL_FUNC (view_msg), 0 },
{ "Edit Message", NULL, GTK_SIGNAL_FUNC (edit_msg), 1 },
{ "Print Message", NULL, GTK_SIGNAL_FUNC (print_msg), 0 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "Reply to Sender", NULL, GTK_SIGNAL_FUNC (reply_to_sender), 0 },
{ "Reply to All", NULL, GTK_SIGNAL_FUNC (reply_to_all), 0 },
{ "Forward Message", NULL, GTK_SIGNAL_FUNC (forward_msg), 0 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "Delete Message", NULL, GTK_SIGNAL_FUNC (delete_msg), 0 },
{ "Move Message", NULL, GTK_SIGNAL_FUNC (move_msg), 0 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "Vfolder from Subject", NULL, GTK_SIGNAL_FUNC (vfolder_subject), 2 },
{ "Vfolder from Sender", NULL, GTK_SIGNAL_FUNC (vfolder_sender), 2 },
{ "Vfolder from Recipients", NULL, GTK_SIGNAL_FUNC (vfolder_recipient), 2 },
{ "Filter from Subject", NULL, GTK_SIGNAL_FUNC (filter_subject), 2 },
{ "Filter from Sender", NULL, GTK_SIGNAL_FUNC (filter_sender), 2 },
{ "Filter from Recipients", NULL, GTK_SIGNAL_FUNC (filter_recipient), 2 },
{ NULL, NULL, NULL, 0 }
{ "Open in New Window", NULL, GTK_SIGNAL_FUNC (view_msg), 0 },
{ "Edit Message", NULL, GTK_SIGNAL_FUNC (edit_msg), 1 },
{ "Print Message", NULL, GTK_SIGNAL_FUNC (print_msg), 0 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "Reply to Sender", NULL, GTK_SIGNAL_FUNC (reply_to_sender), 0 },
{ "Reply to All", NULL, GTK_SIGNAL_FUNC (reply_to_all), 0 },
{ "Forward Message", NULL, GTK_SIGNAL_FUNC (forward_msg), 0 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "Delete Message", NULL, GTK_SIGNAL_FUNC (delete_msg), 0 },
{ "Move Message", NULL, GTK_SIGNAL_FUNC (move_msg), 0 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "VFolder on Subject", NULL, GTK_SIGNAL_FUNC (vfolder_subject), 2 },
{ "VFolder on Sender", NULL, GTK_SIGNAL_FUNC (vfolder_sender), 2 },
{ "VFolder on Recipients", NULL, GTK_SIGNAL_FUNC (vfolder_recipient), 2 },
{ "", NULL, GTK_SIGNAL_FUNC (NULL), 0 },
{ "Filter on Subject", NULL, GTK_SIGNAL_FUNC (filter_subject), 2 },
{ "Filter on Sender", NULL, GTK_SIGNAL_FUNC (filter_sender), 2 },
{ "Filter on Recipients", NULL, GTK_SIGNAL_FUNC (filter_recipient), 2 },
{ NULL, NULL, NULL, 0 }
};
if (fb->folder != drafts_folder)