diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 2000-08-15 20:46:17 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 2000-08-15 20:46:17 +0000 |
commit | 5a326952de614babcc92c18e67b59163cf461c86 (patch) | |
tree | b7340524701171866d557fe002b8aa60a5233d57 /menu.h | |
parent | e784cb0c0fc7141d9fb4117a8e658467caa5de31 (diff) | |
download | wireshark-5a326952de614babcc92c18e67b59163cf461c86.tar.gz wireshark-5a326952de614babcc92c18e67b59163cf461c86.tar.bz2 wireshark-5a326952de614babcc92c18e67b59163cf461c86.zip |
Implements the "Properties" menu item which displays the preferences window
at the correct notebook page when a particular protocol (which has registered
some preferences) is selected in the tree view.
- add set_menus_for_selected_tree_row() in menu.[ch]
- add prefs_is_registered_protocol() and
prefs_get_title_by_name() in prefs.[ch]
svn path=/trunk/; revision=2275
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,7 +2,7 @@ * Definitions for menu routines with toolkit-independent APIs but * toolkit-dependent implementations. * - * $Id: menu.h,v 1.7 2000/01/03 03:56:55 guy Exp $ + * $Id: menu.h,v 1.8 2000/08/15 20:42:09 deniel Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -52,6 +52,9 @@ void set_menus_for_captured_packets(gboolean); /* Enable or disable menu items based on whether a packet is selected. */ void set_menus_for_selected_packet(gboolean); +/* Enable or disable menu items based on whether a tree row is selected. */ +void set_menus_for_selected_tree_row(gboolean); + #ifdef __cplusplus } #endif /* __cplusplus */ |