aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_menubar_private.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-04 03:15:05 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-04 03:15:05 +0000
commiteb03bb0290d7facf2baa411e80c7fa34e58437df (patch)
treef84f279cf8f4dbbf2cd298a8f03468be418b2ce6 /ui/gtk/main_menubar_private.h
parent2d4bd31654a2bb5669a2cf01e91b88723540fbbb (diff)
Add some more routines to main.c that handle updates to "auto scroll in
live capture" and colorization, so that the ones in main_menubar.c don't have to know about anything other than the main menubar. Move some toolbar routines that should only be used by routines in main.c into a main_toolbar_private.h header. svn path=/trunk/; revision=43053
Diffstat (limited to 'ui/gtk/main_menubar_private.h')
-rw-r--r--ui/gtk/main_menubar_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/gtk/main_menubar_private.h b/ui/gtk/main_menubar_private.h
index a72ae66efb..231406947c 100644
--- a/ui/gtk/main_menubar_private.h
+++ b/ui/gtk/main_menubar_private.h
@@ -31,4 +31,12 @@
and whether it could be saved except by copying the raw packet data. */
void set_menus_for_capture_file(capture_file *);
+#ifdef HAVE_LIBPCAP
+/** The "Auto Scroll Packet List in Live Capture" option changed. */
+extern void menu_auto_scroll_live_changed(gboolean auto_scroll_in);
+#endif
+
+/** The "Colorize Packet List" option changed. */
+extern void menu_colorize_changed(gboolean packet_list_colorize);
+
#endif /* __MAIN_MENUBAR_PRIVATE_H__ */