aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-10-23 14:24:17 +0000
committerMichael Mann <mmann78@netscape.net>2013-10-23 14:24:17 +0000
commitbb25fad9de068caf872f883c55fdbda988b3b899 (patch)
tree8614d8bb9ab5645483b7e97bb56706837750b354 /ui/gtk/main.h
parentf4306bb0cdd397b2054a705521dfcf121c069c9c (diff)
Add the ability to collapse subtrees with Shift+Left + additional menu items. Bug 9008 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9008).
Currently this is only for GTK, but allows users to test it to see if its worth adding to Qt (my personal opinion is yes). From Jiří Engelthaler svn path=/trunk/; revision=52790
Diffstat (limited to 'ui/gtk/main.h')
-rw-r--r--ui/gtk/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/gtk/main.h b/ui/gtk/main.h
index 3a5f511999..d880ddedae 100644
--- a/ui/gtk/main.h
+++ b/ui/gtk/main.h
@@ -238,6 +238,13 @@ extern void export_carrays_cmd_cb(GtkWidget *widget, gpointer data);
*/
extern void expand_tree_cb(GtkWidget *widget, gpointer data);
+/** User requested "Collapse Tree" by menu.
+ *
+ * @param widget parent widget (unused)
+ * @param data unused
+ */
+extern void collapse_tree_cb(GtkWidget *widget, gpointer data);
+
/** User requested "Expand All" by menu.
*
* @param widget parent widget (unused)