aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-02-16 10:41:58 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2017-02-16 20:53:22 +0000
commit14e19128dca1b318896ab7768d4527723dbefd17 (patch)
tree08f677e469805715b5b17bd5d24927f5a49de0bd /epan/prefs.h
parent384c26622b0adc7eda415ba6e2a9fc704cd27794 (diff)
Qt: Disable pane menu items if not used in layout
If a pane is not used in the layout it should not be possible to show and hide this from the menu, as this may give unexpected results. Change-Id: I335168e66e1dffc89992cad480dd7daaea7e9d59 Reviewed-on: https://code.wireshark.org/review/20140 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index d2b193a243..74ea1a0217 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -658,6 +658,11 @@ WS_DLL_PUBLIC gboolean prefs_capture_device_monitor_mode(const char *name);
WS_DLL_PUBLIC gboolean prefs_capture_options_dialog_column_is_visible(const gchar *column);
+/*
+ * Returns TRUE if the layout pane content is enabled
+ */
+WS_DLL_PUBLIC gboolean prefs_has_layout_pane_content (layout_pane_content_e layout_pane_content);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */