aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_list.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-01-29 02:14:25 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-01-29 02:14:25 +0000
commit3d9c7d48ae267513aaf2f70069e8e676ad4aaab1 (patch)
treeb84878f881134faa23a9f8b468af0c511fc2a7b4 /gtk/packet_list.h
parentb3b3f5cbccad71bf2c567c865107f5a63c713059 (diff)
Add a new menu item "View/Resize Columns" to, well, resize columns. As this might take a long time, I've provided a progress bar with the option to cancel the operation.
I might later add something like "View/Auto Resize Columns" with a checkbox menu item, so this is done everytime a capture file finished loading. However, I don't know how well this will work together with "Update list of packets in real time" while doing a capture. svn path=/trunk/; revision=13192
Diffstat (limited to 'gtk/packet_list.h')
-rw-r--r--gtk/packet_list.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/packet_list.h b/gtk/packet_list.h
index a3f10bd385..fbbbae06d7 100644
--- a/gtk/packet_list.h
+++ b/gtk/packet_list.h
@@ -44,6 +44,13 @@ extern GtkWidget *packet_list_new(e_prefs *prefs);
*/
extern void packet_list_set_column_titles(void);
+/** Resize columns
+ *
+ * @param widget parent widget (unused)
+ * @param data unused
+ */
+extern void packet_list_resize_columns_cb(GtkWidget *widget, gpointer data);
+
/** Mark the currently selected packet.
*
* @param widget parent widget (unused)