diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-05-02 07:44:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-05-02 07:44:37 +0000 |
commit | f3feac3b1defe697783f220f4c430976c768c044 (patch) | |
tree | 6d9f23b9429831ba2313ffbc8bd30796c5df58ec | |
parent | 592f641bfc6d92c1a2a7637b2b3d4c342608f9c6 (diff) |
Put in a comment to note what we'd do if we ever wanted to make the
contents of the popup menu differ based on what row or column we're in.
svn path=/trunk/; revision=1902
-rw-r--r-- | gtk/menu.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/menu.c b/gtk/menu.c index c693c6fb32..8ae7ff36db 100644 --- a/gtk/menu.c +++ b/gtk/menu.c @@ -1,7 +1,7 @@ /* menu.c * Menu routines * - * $Id: menu.c,v 1.29 2000/05/02 03:21:41 guy Exp $ + * $Id: menu.c,v 1.30 2000/05/02 07:44:37 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -271,6 +271,13 @@ popup_menu_handler(GtkWidget *widget, GdkEvent *event) return; } + /* + * If we ever want to make the menu differ based on what row + * and/or column we're above, we'd use "gtk_clist_get_selection_info()" + * to find the row and column number for the coordinates; a CTree is, + * I guess, like a CList with one column(?) and the expander widget + * as a pixmap. + */ menu = widget; if(event->type == GDK_BUTTON_PRESS) { event_button = (GdkEventButton *) event; |