Ethereal-dev: Re: [ethereal-dev] Right button menus

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 30 Dec 1999 21:04:06 -0600
On Wed, Dec 29, 1999 at 11:59:38PM -0800, Guy Harris wrote:
> > Here are three patches, which all provide right click menus.  The first one
> > is just a static menu, which is attached to the packet list and the tree
> > view.  The second one does automagic adding of menu items when they are set
> > sensitive, but it could cause confusion with the ordering of menu items,
> > depending on how it's called.  The third has seperate static menus for each pane.
> 
> I'm inclined to prefer the first or third, from the short tests I tried.
> 
> I'm not certain which of those two I'd prefer; I'm not sure if it'd make
> sense to have different context menus for the different panes or not -
> one could argue that "Match Selected", say, belongs only in the pane in
> which you'd select an item, but I'm not sure whether it's confusing to
> have it in, say, the summary pane.

I'm inclined to go with #3, so that packet-list-related functions are shown
in the packet-list popup-menu, and protocol-tree-related functions are
shown in the protocol-tree popop-menu.

--gilbert