aboutsummaryrefslogtreecommitdiffstats
path: root/menu.h
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>2000-08-15 20:46:17 +0000
committerLaurent Deniel <laurent.deniel@free.fr>2000-08-15 20:46:17 +0000
commit5a326952de614babcc92c18e67b59163cf461c86 (patch)
treeb7340524701171866d557fe002b8aa60a5233d57 /menu.h
parente784cb0c0fc7141d9fb4117a8e658467caa5de31 (diff)
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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.h b/menu.h
index f442803569..b55454a7d6 100644
--- a/menu.h
+++ b/menu.h
@@ -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 */