Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk Makefile.am dcerpc_stat.c io_stat.c main

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Apr 2003 22:51:05 -0500 (CDT)
guy         2003/04/22 22:51:05 CDT

  Modified files:
    gtk                  Makefile.am dcerpc_stat.c io_stat.c 
                         main.c menu.c mgcp_stat.c rpc_progs.c 
                         rpc_stat.c smb_stat.c tap_rtp.c 
  Removed files:
    gtk                  tap_rtp.h 
  Log:
  Allow taps to have menu item registration routines; the menu item
  registration routines, for taps with menu items (taps that can be run
  from the "Tools->Statistics" menu), create the menu item for the tap.
  "make-tapreg-dotc" constructs a "register_all_tap_menus()" function that
  calls all the tap menu item registration routines it finds, and Ethereal
  calls that routine after the main window has been constructed (so that
  the main menu exists, as the menu items are added to it).  (Tethereal
  doesn't call it.)
  
  Get rid of the "menu" and "menu_init" arguments to
  "register_ethereal_tap"; the menu item is registered in the tap's menu
  item registration routine, not in its main registration routine.
  
  Have the RTP GUI tap register its menu item that way, rather than by
  having it compiled into "gtk/menu.c".  (We're not ready yet to have taps
  whose menu items are under a submenu register themselves in that
  fashion, as "register_tap_menu_item()" can't yet create submenus.)
  
  Revision  Changes    Path
  1.56      +2 -3      ethereal/gtk/Makefile.am
  1.4       +2 -2      ethereal/gtk/dcerpc_stat.c
  1.19      +2 -2      ethereal/gtk/io_stat.c
  1.289     +9 -4      ethereal/gtk/main.c
  1.91      +1 -4      ethereal/gtk/menu.c
  1.2       +2 -2      ethereal/gtk/mgcp_stat.c
  1.7       +2 -2      ethereal/gtk/rpc_progs.c
  1.7       +2 -2      ethereal/gtk/rpc_stat.c
  1.3       +2 -2      ethereal/gtk/smb_stat.c
  1.9       +10 -6     ethereal/gtk/tap_rtp.c