diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-17 00:06:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-17 00:06:13 +0000 |
commit | 5237a5efa28980a944083a6f5fef85bf1c8f69bc (patch) | |
tree | db9db99b3c71833dfb784813327d5e694b149876 | |
parent | 480e2c351b63252fc8648cd26199900b1d5a6f88 (diff) |
Move a bunch of toolbar routines into main_toolbar_private.h; they
should only be called by the main window code.
svn path=/trunk/; revision=43299
-rw-r--r-- | ui/gtk/main_toolbar.h | 28 | ||||
-rw-r--r-- | ui/gtk/main_toolbar_private.h | 28 |
2 files changed, 28 insertions, 28 deletions
diff --git a/ui/gtk/main_toolbar.h b/ui/gtk/main_toolbar.h index d1d86c6d4b..1a38578c36 100644 --- a/ui/gtk/main_toolbar.h +++ b/ui/gtk/main_toolbar.h @@ -32,37 +32,9 @@ * @ingroup main_window_group */ -/** Create the main toolbar. - * @return the new toolbar - */ -GtkWidget *toolbar_new(void); - /** Redraw the main toolbar. Used, when user changes preferences. */ void toolbar_redraw_all(void); -/** We have (or don't have) a capture in progress now. - * - * @param have_capture_file TRUE, if we have a capture in progress file - */ -void set_toolbar_for_capture_in_progress(gboolean have_capture_file); - -/** The capture is in the process of being stopped. - */ -void set_toolbar_for_capture_stopping(void); - -/** We have (or don't have) captured packets now. - * - * @param have_captured_packets TRUE, if we have captured packets - */ -void set_toolbar_for_captured_packets(gboolean have_captured_packets); - -/** The packet history has changed, we need to update the menu. - * - * @param back_history some back history entries available - * @param forward_history some forward history entries available - */ -void set_toolbar_for_packet_history(gboolean back_history, gboolean forward_history); - /** Set object data of some buttons (where needed). It's needed so callback * functions can read back their required data. Acts like g_object_set_data() * on multiple buttons. diff --git a/ui/gtk/main_toolbar_private.h b/ui/gtk/main_toolbar_private.h index ceba1c6ee0..8ccf427a34 100644 --- a/ui/gtk/main_toolbar_private.h +++ b/ui/gtk/main_toolbar_private.h @@ -26,6 +26,34 @@ /*** PRIVATE INTERFACE BETWEEN main.c AND main_toolbar.c DON'T USE OR TOUCH :-)*/ +/** Create the main toolbar. + * @return the new toolbar + */ +GtkWidget *toolbar_new(void); + +/** We have (or don't have) a capture in progress now. + * + * @param have_capture_file TRUE, if we have a capture in progress file + */ +void set_toolbar_for_capture_in_progress(gboolean have_capture_file); + +/** The capture is in the process of being stopped. + */ +void set_toolbar_for_capture_stopping(void); + +/** We have (or don't have) captured packets now. + * + * @param have_captured_packets TRUE, if we have captured packets + */ +void set_toolbar_for_captured_packets(gboolean have_captured_packets); + +/** The packet history has changed, we need to update the menu. + * + * @param back_history some back history entries available + * @param forward_history some forward history entries available + */ +void set_toolbar_for_packet_history(gboolean back_history, gboolean forward_history); + /** The "Colorize Packet List" option has changed. */ void toolbar_colorize_changed(gboolean packet_list_colorize); |