summaryrefslogtreecommitdiff
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-01-16 07:36:34 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-01-16 07:36:34 +0000
commit2e0f8088c381e1af5555268fae6beda35d730ac0 (patch)
treeac47560c23c630f5cfc4b4f91620092b7366ae70 /epan/prefs.h
parentfa83e20a08de8d6cc62855d02459f2f25050e7f3 (diff)
downloadwireshark-2e0f8088c381e1af5555268fae6beda35d730ac0.tar.gz
From Jim Young:
This patch provides a new RTP Player preferences dialog. It allows one to select the maximum number of visable channels in the RTP Player window. The default is four (4) channels which is the maximum number of usable channels that the RTP Player can display and still have access to the bottom row buttons on a 1024*768 resolution display. Specifying a value less than 1 or greater than 10 will be result in the RTP Player displaying the default 4 channels. svn path=/trunk/; revision=24112
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index c01c714015..1d4af9713e 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -39,6 +39,8 @@
#define MAX_VAL_LEN 1024
+#define RTP_PLAYER_DEFAULT_VISIBLE 4
+
/* only GTK1 *or* GTK2 font_name should be used */
/* (we need to keep both in the preferences file but will only use the one suitable for the programs GTK version used) */
#if GTK_MAJOR_VERSION < 2
@@ -153,6 +155,7 @@ typedef struct _e_prefs {
gboolean capture_real_time;
gboolean capture_auto_scroll;
gboolean capture_show_info;
+ guint rtp_player_max_visible;
} e_prefs;
WS_VAR_IMPORT e_prefs prefs;